diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-06-16 11:03:16 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-06-16 11:03:52 +0200 |
commit | e4bb4a85a551367d9479301bbad1b089781e494d (patch) | |
tree | 6a0c3ded67d9446278197a49c354fb1eba9b7512 /src/net.h | |
parent | 0a64777b909e7c29ae69a3fcf4d4e859ff375dec (diff) | |
parent | 6ee7f05622c32431a9815a96b31a6a65a821fdcc (diff) |
Merge #8084: Add recently accepted blocks and txn to AttemptToEvictConnection.
6ee7f05 Allow disconnecting a netgroup with only one member in eviction. (Gregory Maxwell)
5d0ca81 Add recently accepted blocks and txn to AttemptToEvictConnection. (Gregory Maxwell)
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -419,6 +419,11 @@ public: // Last time a "MEMPOOL" request was serviced. std::atomic<int64_t> timeLastMempoolReq; + + // Block and TXN accept times + std::atomic<int64_t> nLastBlockTime; + std::atomic<int64_t> nLastTXTime; + // Ping time measurement: // The pong reply we're expecting, or 0 if no pong expected. uint64_t nPingNonceSent; |