Crate subcoin_runtime_primitives

Source

Structs§

Coin
Unspent transaction output.
OutPoint
A reference to a transaction output.
Txid
Wrapper type for representing [bitcoin::Txid] in runtime, stored in reversed byte order.

Constants§

NAKAMOTO_HASH_ENGINE_ID
The ConsensusEngineId of Bitcoin block hash.
NAKAMOTO_HEADER_ENGINE_ID
The ConsensusEngineId of Bitcoin block header.

Traits§

SubcoinApi
Subcoin API.

Functions§

bitcoin_block_subsidy
Returns the amount of subsidy in satoshis at given height.