rust-bitcoin-unsafe-fast/bitcoin/src/consensus
Tobin C. Harding 4f43965ade
Make Encodable/Decodable usage uniform
One encodes to a writer and decodes from a reader, most of the time in
the consensus `Encodable`/`Decodable` traits we use generic `R`/`W` and
variable `r`/`w` but there are other places that use other characters.

While touching these lines note also that there are a bunch of unneeded
`mut`s, I'm not sure why since usually between the compiler and the
linter `mut` is handled correctly.

Make implementations of `Encodable` and `Decodable` uniform by:
- Use R/W and r/w for trait and variable name
- Remove unneeded mut
2023-08-31 13:14:02 +10:00
..
encode.rs Make Encodable/Decodable usage uniform 2023-08-31 13:14:02 +10:00
mod.rs Separate out bitcoinconsensus validation code 2023-07-18 10:29:51 +10:00
params.rs Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
serde.rs Use standard set of derives on all error types 2023-07-28 06:15:49 +10:00
validation.rs Wrap the bitcoinconsensus error 2023-08-08 10:21:05 +10:00