Expand description
Ergo blockchain types
Re-exports§
pub use ec_point::EcPoint;
Modules§
- ec_
point - Elliptic curve point.
Structs§
- Autolykos
Solution - Solution for an Autolykos PoW puzzle. In Autolykos v.1 all the four fields are used, in
Autolykos v.2 only
miner_pk
andnonce
fields are used. - Base16
Decoded Bytes - Transitioning type for Base16 decoded bytes
- Base16
Encoded Bytes - Transitioning type for Base16 encoded bytes
- BlockId
- Block id
- Digest
- N-bytes array in a box.
Digest32
is most type synonym. - Extension
Candidate - Extension section of Ergo block. Contains key-value storage.
- Header
- Represents data of the block header available in Sigma propositions.
- Peer
Addr - Peer address
- PreHeader
- Block header with the current
spendingTransaction
, that can be predicted by a miner before it’s formation - Votes
- Votes for changing system parameters
Enums§
- Connection
Direction - Direction of the connection to a peer
- DigestN
Error - Invalid byte array size
Functions§
- blake2b256_
hash - Blake2b256 hash (256 bit)