How the functional elements of SparqNet interact
The SparqNet blockchain structure involves interactions between the following components:
- Transaction - implemented as
- Block - implemented as
- Validator - implemented as
- BlockManager - implemented as
- Mempool - implemented as
- Chain - implemented as
The Validator class is an abstraction of a validator node. A Validator node validates batches of transactions on the network and records them as blocks.
The BlockManager class manages block creation, congestion and validation. The process is handled by an internal list of Validators, of which one is selected to create the block and the others validate it using signatures.