- Store transactions into blocks
- Add digital fingerprints to the blocks
- Chain the Blocks
- The hash of that previous block would change.
- This will lead to a mismatch with the previous_hash field in the next block.
- Since the input data to compute the hash of any block also consists of the previous_hash field, the hash of the next block will also change.
- Implement a proof of work algorithm
- Add blocks to the chain
- The data has not been tampered with (the proof of work provided is correct).
- The order of transactions is preserved (the previous_hash field of the block to be added points to the hash of the latest block in our chain).
- Mining
- Create interfaces - i.e. RESTful API
- Establish consensus and decentralization
- Asking the remote node to add a new peer to its list of known peers.
- Initializing the blockchain of the new node with that of the remote node.
- Resyncing the blockchain with the network if the node goes off-grid.
- Implement a consensus algorithm to agree on the longest valid chain
- Build the application
bayesianbrad/blockchain-webapp
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple blockchain web application using the basic concepts.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published