rust-bitcoin-unsafe-fast/bitcoin
conduition 4514a80a23 Fix the InputWeightPrediction constants for DER signatures
The P2WPKH_MAX constant assumed DER signatures in the witness have
a max length of 73. However, their maximum length in practice is 72,
because BIP62 forbids nodes from relaying transactions whose ECDSA
signatures are not canonical (i.e. all sigs must have an s value of
less than n/2). This means s is never encoded with a leading zero
byte, and the signature as a whole never exceeds 72 bytes in total
encoded length. The ground_p2wpkh function was already correct;
only the constant needed to be corrected.
2023-11-21 06:13:08 +00:00
..
contrib hashes: Bump version to 0.13.0 2023-08-24 12:25:42 +10:00
embedded Add a `bitcoin_io` crate 2023-11-07 05:50:42 +00:00
examples Use Message::from_digest 2023-10-11 08:16:25 +11:00
src Fix the InputWeightPrediction constants for DER signatures 2023-11-21 06:13:08 +00:00
tests Replace hex_script macro with a helper function 2023-10-20 10:20:23 +02:00
CHANGELOG.md Add a missing link to #2006 in 'bitcoin/CHANGELOG.md' 2023-10-26 21:06:48 +02:00
Cargo.toml Remove `core2` dependency entirely 2023-11-09 16:46:44 +00:00
build.rs Create uniform build script 2023-10-30 14:40:41 +01:00