Function btc_relay::pallet::dispatchables::initialize
source · pub fn initialize<T: Config>(block_header: BlockHeader, block_height: u32)
Expand description
One time function to initialize the BTC-Relay with the first block
Arguments
block_header
- Bitcoin block header.block_height
- starting Bitcoin block height of the submitted block header.
Complexity
- O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::initialize
.