Skip to content

Commit

Permalink
Merge branch 'master' into hide-bvm-network-inscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jan 15, 2024
2 parents 8a5d6c2 + 41d9474 commit fdc25f4
Show file tree
Hide file tree
Showing 17 changed files with 568 additions and 282 deletions.
7 changes: 7 additions & 0 deletions src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ impl Chain {
bitcoin::blockdata::constants::genesis_block(self.network())
}

pub(crate) fn genesis_coinbase_outpoint(self) -> OutPoint {
OutPoint {
txid: self.genesis_block().coinbase().unwrap().txid(),
vout: 0,
}
}

pub(crate) fn address_from_script(
self,
script: &Script,
Expand Down
Loading

0 comments on commit fdc25f4

Please sign in to comment.