fuel_core_compression::ports

Trait HistoryLookup

Source
pub trait HistoryLookup {
    // Required methods
    fn utxo_id(&self, c: CompressedUtxoId) -> Result<UtxoId>;
    fn coin(&self, utxo_id: UtxoId) -> Result<CoinInfo>;
    fn message(&self, nonce: Nonce) -> Result<MessageInfo>;
}
Expand description

Lookup for history of UTXOs and messages, used for decompression.

Required Methods§

Source

fn utxo_id(&self, c: CompressedUtxoId) -> Result<UtxoId>

Source

fn coin(&self, utxo_id: UtxoId) -> Result<CoinInfo>

Source

fn message(&self, nonce: Nonce) -> Result<MessageInfo>

Implementors§