Function subcoin_primitives::substrate_header_digest
source ยท pub fn substrate_header_digest(bitcoin_header: &Header) -> Digest
Expand description
Constructs a Substrate header digest from a Bitcoin header.
NOTE: The bitcoin block hash digest is stored in the reversed byte order, making it user-friendly on polkadot.js.org.