mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-16 21:48:10 -07:00
17 lines
352 B
Rust
17 lines
352 B
Rust
use brk_types::{OutPoint, OutputType, SigOps, TypeIndex};
|
|
|
|
#[derive(Debug)]
|
|
pub(crate) enum InputSource {
|
|
Coinbase,
|
|
PreviousBlock {
|
|
outpoint: OutPoint,
|
|
output_type: OutputType,
|
|
legacy_sigops: SigOps,
|
|
type_index: TypeIndex,
|
|
},
|
|
SameBlock {
|
|
outpoint: OutPoint,
|
|
txout_offset: usize,
|
|
},
|
|
}
|