Module funding_streams

Source
Expand description

Funding Streams functions apply for blocks at and after Canopy. Funding Streams calculations. - §7.8

Functions§

check_script_form
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
filter_outputs_by_address
Returns a list of outputs in transaction, which have a script address equal to address.
funding_stream_address
Return the address corresponding to given height, network and funding stream receiver.
funding_stream_address_index 🔒
Returns the position in the address slice for each funding stream as described in protocol specification §7.10
funding_stream_values
Returns the fs.Value(height) for each stream receiver as described in protocol specification §7.8
new_coinbase_script
Returns a new funding stream coinbase output lock script, which pays to the P2SH address.