c34e3cc7cc
Recently we introduced a bug in the weight/size code, while investigating I found that our `Transaction`/`Block` weight/size APIs were in a total mess because: - The docs were stale - The concept of weight (weight units) and size (bytes) were mixed up I audited all the API functions, read some bips (141, 144) and re-wrote the API with the following goals: - Use terminology from the bips - Use abstractions that mirror the bips where possible |
||
---|---|---|
.. | ||
deser_net_msg.rs | ||
deserialize_address.rs | ||
deserialize_amount.rs | ||
deserialize_block.rs | ||
deserialize_prefilled_transaction.rs | ||
deserialize_psbt.rs | ||
deserialize_script.rs | ||
deserialize_transaction.rs | ||
deserialize_witness.rs | ||
outpoint_string.rs | ||
script_bytes_to_asm_fmt.rs |