diff options
author | fanquake <fanquake@gmail.com> | 2023-01-30 15:57:06 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-01-30 15:57:12 +0000 |
commit | 0a1d372ad0b83bf5379cd57e5d26eb2e934c593d (patch) | |
tree | e997f5ea7e78d6d6a4d20267d5e15e8d9166e3ac /depends | |
parent | 228edafc663403990e8fa7b9768bf7254358b59e (diff) | |
parent | eeee61065fe165dcce9625f7cc4cfce9e432aafa (diff) | |
download | bitcoin-0a1d372ad0b83bf5379cd57e5d26eb2e934c593d.tar.xz |
Merge bitcoin/bitcoin#26649: refactor: Use AutoFile and HashVerifier (without ser-type and ser-version) where possible
eeee61065fe165dcce9625f7cc4cfce9e432aafa Use AutoFile and HashVerifier where possible (MarcoFalke)
fa961141f7fc515fbb6fcb9d8417108034b256ce Add HashVerifier (MarcoFalke)
Pull request description:
This was done in the context of https://github.com/bitcoin/bitcoin/pull/25284 , but I think it also makes sense standalone.
The basic idea is that serialization type should not be initialized when it is not needed. Same for the serialization version.
So do this here for `AutoFile` and `HashVerifier`. `CAutoFile` and `CHashVerifier` remain in places where it is not yet possible.
ACKs for top commit:
stickies-v:
ACK eeee61065fe165dcce9625f7cc4cfce9e432aafa
Tree-SHA512: 93786778c309ecfdc1ed43552d24ff9d966954d69a47f66faaa6de24daacd25c651f3f62bde5abbb362700298fb3c04ffbd3207a0dd13d0bd8bff7fd6d07dcf8
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions