rust-bitcoin-unsafe-fast/bitcoin/src
merge-script 653ea702d6
Merge rust-bitcoin/rust-bitcoin#3792: Add BIP324 V2 p2p network message support
e09bdb5f98 Add BIP324 V2 p2p network message support (Nick Johnson)

Pull request description:

  Migrating over the BIP324's library's V2 network message encoding and decoding. As discussed over in https://github.com/rust-bitcoin/rust-bitcoin/discussions/2959, this is probably the natural home for it and also cleans up some gross copy/pasta of some of the encoding/decoding chain logic.

  This patch adds `V2NetworkMessage` which wraps a `NetworkMessage`, but handles the V2 encoding and decoding. It is a parallel of the existing `RawNetworkMessage` (which mentioned before, may be better described as `V1NetworkMessage` https://github.com/rust-bitcoin/rust-bitcoin/issues/3157). A priority of this patch was to not re-invent any wheels and try to use the existing patterns as much as possible.

ACKs for top commit:
  tcharding:
    ACK e09bdb5f98
  apoelstra:
    ACK e09bdb5f98ea516382a04283373ad97a41d57c2b; successfully ran local tests; nice!

Tree-SHA512: a5078d4d3deb04c2e06ea513bbc8c97d0e6d5da5b029847a97b3f90bf55a263858dd16d88299f853aa3c468f7b9bceb3973c5652a49d3e96df3e91181b455f29
2025-01-09 18:46:39 +00:00
..
address Merge rust-bitcoin/rust-bitcoin#3858: Bound `Address` parsing on `NetworkValidationUnchecked` 2025-01-09 16:36:13 +00:00
blockdata Merge rust-bitcoin/rust-bitcoin#3879: Remove Copy from `PushBytesError` 2025-01-08 19:03:12 +00:00
consensus Merge rust-bitcoin/rust-bitcoin#3875: Change all occurrences of "IO" to "I/O" 2025-01-08 22:12:24 +00:00
crypto Merge rust-bitcoin/rust-bitcoin#3875: Change all occurrences of "IO" to "I/O" 2025-01-08 22:12:24 +00:00
merkle_tree Merge rust-bitcoin/rust-bitcoin#3859: Remove usage of impl_from_infallible in crates 2025-01-06 14:15:17 +00:00
network Update CompactTarget::from_next_work_required to take timespan as i64 2024-11-27 11:27:22 -06:00
p2p Add BIP324 V2 p2p network message support 2025-01-06 20:38:57 -08:00
psbt Merge rust-bitcoin/rust-bitcoin#3839: Use `_unchecked` to construct amounts 2025-01-08 04:08:39 +00:00
taproot Remove usage of impl_from_infallible in crates 2025-01-04 23:46:12 -06:00
bip32.rs Remove usage of impl_from_infallible in crates 2025-01-04 23:46:12 -06:00
bip152.rs Remove usage of impl_from_infallible in crates 2025-01-04 23:46:12 -06:00
bip158.rs Change all occurrences of "IO" to "I/O" 2025-01-07 12:37:47 +00:00
consensus_validation.rs Remove usage of impl_from_infallible in crates 2025-01-04 23:46:12 -06:00
hash_types.rs Unify deprecated note field format 2024-10-15 15:16:01 +01:00
internal_macros.rs Set avoid-breaking-exported-api to false 2024-12-11 10:11:50 +11:00
lib.rs Merge rust-bitcoin/rust-bitcoin#3746: bitcoin: Improve rustdocs on extern crates 2024-12-14 17:03:56 +00:00
policy.rs Make capitalization of SegWit uniform in rustdocs 2024-12-17 14:28:28 +00:00
pow.rs Add parenthesis to explicitly show precedence 2025-01-04 15:25:00 +11:00
serde_utils.rs Elide more lifetimes 2024-10-28 15:22:13 +11:00
sign_message.rs Remove usage of impl_from_infallible in crates 2025-01-04 23:46:12 -06:00