rust-bitcoin-unsafe-fast/bitcoin/src/p2p
Andrew Poelstra aedb09745a
Merge rust-bitcoin/rust-bitcoin#2839: Add API for extracting the inner payload of `RawNetworkMessage`
ce585dc529 api: Run just check-api (Liu-Cheng Xu)
61565957ad Add API for extracting the inner payload of RawNetworkMessage (Liu-Cheng Xu)

Pull request description:

  I'd like to take out the `payload` of `RawNetworkMessage` and then send it to the actual network message processor, but find there is no way to do it. This commit adds such an API to expose all the inner parts (UPD: so that I don't have to do an unnecessary clone to obtain the owned value of `payload`).

ACKs for top commit:
  apoelstra:
    ACK ce585dc529
  tcharding:
    ACK ce585dc529

Tree-SHA512: 89c5f1361a8c2d0ecf928325e9a37b26d39cf32c3a023b78742555a5a1e59e1579522e942ff6f48b07b2d3b81b48c5e8182fa6e88b57fc9c33ce13e313ba2982
2024-06-11 04:03:21 +00:00
..
address.rs p2p: Cleanup test imports 2024-05-17 10:57:54 +10:00
message.rs Add API for extracting the inner payload of RawNetworkMessage 2024-06-07 08:59:31 +08:00
message_blockdata.rs p2p: Cleanup test imports 2024-05-17 10:57:54 +10:00
message_bloom.rs Removed //! spare line at end of headers 2024-05-16 09:59:55 +01:00
message_compact_blocks.rs Removed //! spare line at end of headers 2024-05-16 09:59:55 +01:00
message_filter.rs bitcoin: Use new BlockHeight and BlockInterval types 2024-05-30 16:49:30 +10:00
message_network.rs p2p: Cleanup test imports 2024-05-17 10:57:54 +10:00
mod.rs Merge rust-bitcoin/rust-bitcoin#2846: generate Network <-> Magic From and TryFrom with a macro 2024-06-10 13:59:52 +00:00