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