pub trait AnchorFromBlockPosition: Anchor {
    fn from_block_position(
        block: &Block,
        block_id: BlockId,
        tx_pos: usize
    ) -> Self; }
Expand description

An Anchor that can be constructed from a given block, block height and transaction position within the block.

Required Methods§

Construct the anchor from a given block, block height and tx_pos within the block.

Implementors§