MCPcopy Create free account
hub / github.com/ElementsProject/lightning / bitcoin_tx_simple_input_weight

Function bitcoin_tx_simple_input_weight

bitcoin/tx.c:881–885  ·  view source on GitHub ↗

We only do segwit inputs, and we assume witness is sig + key */

Source from the content-addressed store, hash-verified

879
880/* We only do segwit inputs, and we assume witness is sig + key */
881size_t bitcoin_tx_simple_input_weight(bool p2sh)
882{
883 return bitcoin_tx_input_weight(p2sh,
884 bitcoin_tx_simple_input_witness_weight());
885}
886
887size_t bitcoin_tx_2of2_input_witness_weight(void)
888{

Callers 1

default_lease_ratesFunction · 0.85

Tested by

no test coverage detected