Amber nodes are monitored by CommitWatch. Gray nodes are sampled from authenticated GitHub public commit search and may not represent complete contribution history.
This commit is a routine dependency update for the project's fuzz testing setup. It bumps the version of the 'bitcoin' crate used in fuzz tests from 0.32.101 to 0.32.102 and updates the corresponding lock files. There are no code changes t…
This change fixes a serialization bug in how the rust-bitcoin library handles a Bitcoin peer-to-peer message called `sendcmpct`. Previously, if a malformed or unusual message arrived with a mode value other than 0 or 1, the library would s…
Non-idempotent encode/decode roundtrip for network messagesSilent normalization of out-of-spec protocol fieldChecksum mismatch on re-serialization of received messages
This commit is a straightforward internal code cleanup in the Bitcoin peer-to-peer message handling code. It replaces four separate fields (magic number, payload length, checksum, and the payload itself) with a single pre-existing 'message…
This is a tiny code cleanup inside test code. It moves a variable assignment to a slightly different spot so the test reads more logically. There is no change to how the program behaves, no security fix, and no user-facing effect.
This commit tightens validation for Bitcoin P2P message command strings. Previously, a command string could contain a null byte in the middle followed by more characters (for example "And\0rew"). Such malformed strings are now rejected bot…
New input-validation invariant added to network-facing typeRejects malformed command strings during deserializationPrevents acceptance of command strings with embedded null bytes followed by data
This is a small performance improvement for fuzz testing code. It changes how random Bitcoin P2P command strings are generated during fuzzing, avoiding a temporary String allocation. There is no security issue visible in the change.
This commit narrows the visibility of an internal field inside an error type from public to crate-internal. It is a routine API-cleanup change with no security relevance.
This is a small internal code cleanup in the Bitcoin peer-to-peer networking code. It removes an unnecessary memory copy when converting text into a command string used in network messages. There is no security bug being fixed here.
This is a tiny code cleanup in the Bitcoin peer-to-peer networking code. It replaces a slightly more verbose way of stripping trailing null characters with a simpler, equivalent way. There is no security impact.
This is a small code cleanup in the Bitcoin peer-to-peer message decoder. It replaces a more verbose pattern that swapped out an internal state object with a simpler one that just takes the current value. The behavior is unchanged because …
This commit refactors how Bitcoin network command names (like 'version' or 'ping') are stored internally. It replaces a flexible string container with a fixed 12-byte array, which removes dynamic memory allocation and tightens checks that …
Tightened input validation: all construction paths now enforce ASCII and max length invariants.Decoder now rejects non-ASCII bytes anywhere in the 12-byte command field, not just in the trimmed suffix.Use of unsafe std::str::from_utf8_unchecked gated on the construction-time ASCII invariant.
This is a small internal code-quality change in the Bitcoin peer-to-peer networking library. It marks a 12-byte message command string type as Copy, which lets the compiler duplicate it more cheaply. The change removes a few unnecessary .c…
This commit simply moves the V1NetworkMessage struct definition and its associated implementation block next to each other in the same source file. There are no code behavior changes, no security fixes, and no functional modifications.
This is a one-line fix to a code example so it uses a configurable network parameter instead of always using the regtest network. It is not a security fix and does not change any library behavior.
This commit adds a new helper function (constructor) to build a Bitcoin P2P network message header. It simply packages existing fields and computes the message checksum automatically. There is no indication it fixes a security bug or intro…
This is a small internal cleanup in the rust-bitcoin library's peer-to-peer message code. It swaps an older, deprecated way of computing a SHA256 double checksum for a newer helper function. The behavior should be equivalent, and the chang…
This is a small internal code cleanup in the rust-bitcoin library's peer-to-peer networking code. The sha2_checksum helper function now returns both the checksum and the number of bytes that were hashed, but the only place that calls it st…
This is a routine internal API cleanup in the rust-bitcoin hashing library. A helper function that feeds data into a hash calculator is changed so callers pass in the calculator by mutable reference instead of handing it over and getting i…
This commit adds a new example program to the rust-bitcoin library's p2p crate. It demonstrates how to perform a Bitcoin peer-to-peer handshake and respond to ping messages with pong messages. It is documentation/example code only and does…
This commit fixes a typo in a documentation comment. It changes the phrase 'to usually to encode' to 'to encode' in a source code file. There is no change to program logic, no security fix, and no functional impact.