Releases: amazingandyyy/blockchain-in-node
Releases · amazingandyyy/blockchain-in-node
release version 0.0.2
This is a light demo for
- A general Idea of how Blocks, Chain, Mining, Nodes, Transaction work with each others.
- How to do them in Node
- How to resolve basic conflicts in blockchain
- How to use sha256 to do PoW(Proof of Work)
- Not a demo for
- signatures
- address
- production setup
- making you a blockchain expert
routes that work
GET /blockchain // see the link-list itself
GET /blockchain/mine // find the next special hash
POST /blockchain/transactions // add new data to the chain
GET /blockchain/nodes/resolve // fetch the longest chain
POST /blockchain/nodes/register // add nodes urls
GET /blockchain/nodes // get a list of all nodes
To-Dos
- use
socket
instead of http, to broadcast state - implement signature, public key, private key, user address system
- proof of work and rewarding system
- new PoW algorithm
- location based sharding?
- hide IPs / make it private!?
- PoS, or other dBFT methods
- dockernized, easy to run a node
- interactive wrappers, helper libraries(python, golang, java)...