julius278 / jlchain Goto Github PK
View Code? Open in Web Editor NEWown small blockchain project, build a proof-of-work chain based on javascript
own small blockchain project, build a proof-of-work chain based on javascript
at this point, every time the longest chain "wins" if the hashes are valid.. but they could be what they want to be as long as the genesis block is the same.
as an example:
Node 1: first node, no others peers given
Node 2: only the first peer is given, connects to this one via websocket connection
Node 3: knows both Nodes and connects
Node 4: knows only Node 1 and connects to this one
if Node 4 mines a block, it only sync's the chain with Node 1 and not with 2 and 3.
Node 1 will also not sync the chain with 2 and 3 cause only in case of mining a new block
the account who wants to send an higher amount than their wallet contains, get an error message.
However, the transaction is undefined, so the transactions array remains empty or contains undefined elements. So the connected sockets will crash if the sender broadcasts the "new" undefined transaction.
... cause of "cannot read property 'input' of undefined"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.