mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-05 18:23:03 +01:00
[net processing] Move nTimeOffset to net_processing
This commit is contained in:
@@ -191,7 +191,6 @@ public:
|
||||
std::chrono::seconds m_last_tx_time;
|
||||
std::chrono::seconds m_last_block_time;
|
||||
std::chrono::seconds m_connected;
|
||||
int64_t nTimeOffset;
|
||||
std::string m_addr_name;
|
||||
int nVersion;
|
||||
std::string cleanSubVer;
|
||||
@@ -703,7 +702,6 @@ public:
|
||||
std::atomic<std::chrono::seconds> m_last_recv{0s};
|
||||
//! Unix epoch time at peer connection
|
||||
const std::chrono::seconds m_connected;
|
||||
std::atomic<int64_t> nTimeOffset{0};
|
||||
// Address of this peer
|
||||
const CAddress addr;
|
||||
// Bind address of our side of the connection
|
||||
|
||||
Reference in New Issue
Block a user