File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 15
15
#include < streams.h>
16
16
#include < util/system.h>
17
17
#include < util/translation.h>
18
+ #include < version.h>
18
19
19
20
#include < atomic>
20
21
#include < cstdio>
Original file line number Diff line number Diff line change 3
3
// Distributed under the MIT software license, see the accompanying
4
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
5
6
- #ifndef __cplusplus
7
- #error This header can only be compiled as C++.
8
- #endif
9
-
10
6
#ifndef BITCOIN_PROTOCOL_H
11
7
#define BITCOIN_PROTOCOL_H
12
8
15
11
#include < serialize.h>
16
12
#include < streams.h>
17
13
#include < uint256.h>
18
- #include < version.h>
19
14
15
+ #include < cstdint>
20
16
#include < limits>
21
- #include < stdint.h>
22
17
#include < string>
23
18
24
19
/* * Message header.
@@ -420,7 +415,6 @@ class CAddress : public CService
420
415
use_v2 = s.GetVersion () & ADDRV2_FORMAT;
421
416
}
422
417
423
- SER_READ (obj, obj.nTime = TIME_INIT);
424
418
READWRITE (obj.nTime );
425
419
// nServices is serialized as CompactSize in V2; as uint64_t in V1.
426
420
if (use_v2) {
You can’t perform that action at this time.
0 commit comments