substreams-bitcoin-core 2.0.0

Substreams development kit for Bitcoin chains, contains Firehose Block model and helpers.
Documentation
1
2
3
4
5
6
7
use crate::{pb::btc::v1 as pb};

impl pb::Block {
    pub fn transactions(&self) -> impl Iterator<Item = &pb::Transaction> {
        self.tx.iter()
    }
}