A block is an atomic piece of data network participates are agreed on.
An abstraction of a part of a block, wrapping some data.
An abstraction of a part of a block, wrapping some data. The wrapper interface provides binary & json serializations.
- type of a value wrapped into a blockfield
A generic interface with functionality to convert data into a part of a block and vice versa
A block is an atomic piece of data network participates are agreed on.
A block has: - transactions data: a sequence of transactions, where a transaction is an atomic state update. Some metadata is possible as well(transactions Merkle tree root, state Merkle tree root etc).
- consensus data to check whether block was generated by a right party in a right way. E.g. "baseTarget" & "generatorSignature" fields in the Nxt block structure, nonce & difficulty in the Bitcoin block structure.
- a signature(s) of a block generator(s)
- additional data: block structure version no, timestamp etc