Skip to main content

fetch_record

Function fetch_record 

Source
pub fn fetch_record(
    engine: &Engine,
    txid: Txid,
    sources: &[&dyn RecordSource],
    limits: FetchLimits,
) -> Result<Option<VerifiedRecord>, Error>
Expand description

Fetch one structurally valid V0 record. This does not check a signed parent reference hash: multipart reconstruction performs that check AFTER proof. A returned record is relative to the local selected view at retrieval time.