aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-12-01 11:00:26 -0800
committerPieter Wuille <pieter@wuille.net>2021-08-21 19:16:47 -0400
commit5d47860334fbe0018e742d8d2a339deb11a899e8 (patch)
tree53055628f99f45585bdc514f25fdaf52ddb1ee21 /configure.ac
parentf5a406f003a060325128db47552089b3254044e3 (diff)
refactor: move CAddress-without-nTime logic to net_processing
Historically, the VERSION message contains an "addrMe" and an "addrYou". As these are sent before version negotiation is complete, the protocol version is INIT_PROTO_VERSION (209), and in that protocol, CAddress is serialized without nTime. This is in fact the only situation left where a CAddress is (de)serialized without nTime. As it's such a simple structure (CService for ip/port + uint64_t for nServices), just inline that structure in the few places where it occurs, and remove the logic for dealing with missing nTime from CAddress.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions