Module zebra_consensus::block::subsidy::funding_streams
source · Expand description
Funding Streams functions apply for blocks at and after Canopy. Funding Streams calculations. - §7.8
Functions§
- Given a funding stream P2SH address, create a script and check if it is the same as the given lock_script as described in protocol specification §7.10
- Returns a list of outputs in
transaction
, which have a script address equal toaddress
. - Return the address corresponding to given height, network and funding stream receiver.
- Returns the position in the address slice for each funding stream as described in protocol specification §7.10
- Returns the
fs.Value(height)
for each stream receiver as described in protocol specification §7.8 - Returns a new funding stream coinbase output lock script, which pays to the P2SH
address
.