rust-bitcoin-unsafe-fast/bitcoin/src
Andrew Poelstra 1a1fe0e313
Merge rust-bitcoin/rust-bitcoin#1890: [script] Add method get_sigop_count
638445f8a9 Feature: Add opcodes::All::decode_pushnum and Script::count_sigops (junderw)

Pull request description:

  Planning to also add methods for the various parts of Transaction etc. to eventually allow for easier sigops calculation.

  Bare multisig is making a comeback, which is causing a large amount of transactions' effective vSizes (for fee calculation) to be dependent on the sigop count.

  This is a first step at making those transactions easier to estimate fees for / template blocks for etc.

ACKs for top commit:
  Kixunil:
    ACK 638445f8a9
  tcharding:
    ACK 638445f8a9

Tree-SHA512: 5e87d0f5ab58ed22ed50e43eac392b9b84ebccab5086553a6234d825766842057ab89bd0753f3c9de50d9ab17536182b8f64a57e8d5632a55494180f2cc26bbd
2023-06-04 19:59:44 +00:00
..
blockdata Feature: Add opcodes::All::decode_pushnum and Script::count_sigops 2023-06-02 08:46:46 -07:00
consensus Remove doc(hidden) from error conversion functions 2023-05-30 15:54:40 +10:00
crypto Remove doc(hidden) from error conversion functions 2023-05-30 15:54:40 +10:00
merkle_tree Merge rust-bitcoin/rust-bitcoin#1825: Simplify per-file license comments 2023-05-01 20:11:53 +00:00
network Merge rust-bitcoin/rust-bitcoin#1801: Adds as_core_arg serde module to network 2023-05-02 01:45:41 +00:00
psbt Remove doc(hidden) from error conversion functions 2023-05-30 15:54:40 +10:00
util bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
address.rs Remove doc(hidden) from error conversion functions 2023-05-30 15:54:40 +10:00
amount.rs Merge rust-bitcoin/rust-bitcoin#1768: Allow parsing sub-sat denominations with decimal points 2023-05-10 20:30:54 +00:00
base58.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
bip32.rs correcting formatting 2023-05-29 00:26:01 +05:30
bip152.rs Use Amount type for TxOut value field 2023-05-04 17:09:08 +02:00
bip158.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
error.rs Remove the unused crate::Error 2023-05-25 13:35:49 +10:00
hash_types.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
internal_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
lib.rs Remove the unused crate::Error 2023-05-25 13:35:49 +10:00
parse.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
policy.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
pow.rs Merge rust-bitcoin/rust-bitcoin#1820: Expose valid (min, max) difficulty transition thresholds 2023-05-06 18:53:15 +00:00
serde_utils.rs Use package in manifest and shorten import 2023-03-28 12:20:04 +11:00
sign_message.rs Remove doc(hidden) from error conversion functions 2023-05-30 15:54:40 +10:00
string.rs Merge rust-bitcoin/rust-bitcoin#1742: Use package in manifest and shorten import 2023-04-05 14:20:06 +00:00
taproot.rs Rename TaprootSpendInfo::as_script_map to script_map 2023-06-02 16:59:08 +10:00
test_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00