brk_indexer 0.11.2

A Bitcoin indexer built on top of brk_reader
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use brk_types::{OutPoint, OutputType, SigOps, TxOutIndex, TypeIndex};

#[derive(Debug, Clone, Copy)]
pub(crate) enum InputSource {
    Coinbase,
    PreviousBlock {
        outpoint: OutPoint,
        txout_index: TxOutIndex,
        output_type: OutputType,
        legacy_sigops: SigOps,
        type_index: TypeIndex,
    },
    SameBlock {
        outpoint: OutPoint,
        txout_offset: usize,
        txout_index: TxOutIndex,
    },
}