rust-bitcoin-unsafe-fast/bitcoin/src
merge-script 2113a32276
Merge rust-bitcoin/rust-bitcoin#4571: Move `p2p` encodings from `encode` and into `p2p`
20779bdbc8 Move `p2p` encodings out of `encode` (rustaceanrob)
94bcff28b1 p2p: Add wrappers for messages that use `Vec` (rustaceanrob)

Pull request description:

  To move `p2p` into a crate:
  1. All `Encodable` implementations for `p2p` must be defined in `p2p`. To accomplish this, and anything else in the future related to encoding, I added a `deser` module with the necessary macro to implement `Encodable` for `Vec<T> where T: Encodable`.
  2. Because the orphan rule would apply for implementing `Encodable`for `Vec` within `p2p`, three types defined within `p2p` are used to wrap the `Vec` and snake around the orphan rule.

ACKs for top commit:
  tcharding:
    ACK 20779bdbc8
  apoelstra:
    ACK 20779bdbc8ebcac2365d122e857c23b3d8e8d1e7; successfully ran local tests

Tree-SHA512: 7abfe5b853e84bb465579309f80a0687c325217f6f342651278bedf540c4d17ae16683ab02dea5e3d98d90790deb12c6bc7d572a92cec8e19ff94e395bc0d29c
2025-05-31 21:09:28 +00:00
..
address Merge rust-bitcoin/rust-bitcoin#4410: Wrap secp256k1::XOnlyPublicKey to improve error handling 2025-05-07 17:01:31 +00:00
blockdata Merge rust-bitcoin/rust-bitcoin#4468: Improve lock times - fix off-by-one bug 2025-05-31 15:48:29 +00:00
consensus Move `p2p` encodings out of `encode` 2025-05-27 14:41:03 +01:00
crypto fix(taproot): raname `from_key_and_tweak` to `from_key_and_merkle_root` 2025-05-16 19:51:59 -03:00
merkle_tree 2025-04-27 automated rustfmt nightly 2025-04-27 01:36:56 +00:00
network test: remove redundant `ServiceFlags` test 2025-05-27 10:09:44 +01:00
p2p Merge rust-bitcoin/rust-bitcoin#4571: Move `p2p` encodings from `encode` and into `p2p` 2025-05-31 21:09:28 +00:00
psbt Merge rust-bitcoin/rust-bitcoin#4440: Add support for de/serializing PSBT_{IN,OUT}_MUSIG2_PARTICIPANT_PUBKEYS 2025-05-26 19:17:48 +00:00
taproot fix(taproot): raname `from_key_and_tweak` to `from_key_and_merkle_root` 2025-05-16 19:51:59 -03:00
bip32.rs Merge rust-bitcoin/rust-bitcoin#4410: Wrap secp256k1::XOnlyPublicKey to improve error handling 2025-05-07 17:01:31 +00:00
bip152.rs chore: Fix the typos in the comments and variables 2025-04-15 18:31:52 +08:00
bip158.rs Merge rust-bitcoin/rust-bitcoin#4250: Introduce and use `test_hex_unwrap` macro in `internals` 2025-04-24 17:19:37 +00:00
consensus_validation.rs Stop using FQP on Amount type 2025-01-24 08:54:24 +11:00
hash_types.rs 2025-03-30 automated rustfmt nightly 2025-03-30 01:27:51 +00:00
internal_macros.rs Update internal_macros.rs 2025-04-24 16:46:01 +03:00
lib.rs Move CheckedSum trait to crate root 2025-05-26 19:01:42 -05:00
policy.rs Policy: Relax MIN_STANDARD_TX_NONWITNESS_SIZE to 65 2025-02-27 00:20:08 +07:00
pow.rs fix error pow.rs 2025-04-25 10:56:28 +02:00
sign_message.rs update secp256k1 to 0.30.0 2025-03-02 23:31:48 +08:00