command
module
Version:
v0.0.0-...-a993195
Opens a new window with list of versions in this module.
Published: May 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
poc-blockchain
Core Model
Block
- hash
- prehash
- transactions
Chain
Node
Workflow
- Start nodes and chain
- There are multiple nodes that run the same chain
- Chain is started with a genesis block
- Submit transactions
- User submit a transaction to a node
- Node will validate the transaction
- Node will put the transaction in mempool
- Node will broadcast the transaction to other nodes and wait for package
- Mine block
- Miner node will package transactions in mempool into a block
- Miner node will evaluate the PoW util finding a valid block
- Miner node will broadcast the block to other nodes
- Other node will validate the block and add it to the chain
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.