diff options
| author | Hennadii Stepanov <[email protected]> | 2020-09-12 18:05:54 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-10-09 14:29:05 +0300 |
| commit | 4170b46544231e7cf1d64ac3baa314083be37502 (patch) | |
| tree | 5d4324f5db9a1984224b581cdfa2bf908d9776c6 /src/net.h | |
| parent | p2p: Add CConnman::GetCurrentBlockRelayOnlyConns() (diff) | |
| download | discoin-4170b46544231e7cf1d64ac3baa314083be37502.tar.xz discoin-4170b46544231e7cf1d64ac3baa314083be37502.zip | |
p2p: Integrate DumpAnchors() and ReadAnchors() into CConnman
Diffstat (limited to 'src/net.h')
| -rw-r--r-- | src/net.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -566,6 +566,12 @@ private: /** Pointer to this node's banman. May be nullptr - check existence before dereferencing. */ BanMan* m_banman; + /** + * Addresses that were saved during the previous clean shutdown. We'll + * attempt to make block-relay-only connections to them. + */ + std::vector<CAddress> m_anchors; + /** SipHasher seeds for deterministic randomness */ const uint64_t nSeed0, nSeed1; |