Commit Graph

72 Commits (dee66c3f3209d1dc0cda1dc71254cf076a695bea)

Author SHA1 Message Date
SChernykh 662a7e91c8 P2PServer: always ban IPs that send bad blocks
3 years ago
SChernykh 7b197824fe P2PServer: add peers from the command line to the peer list on startup
3 years ago
SChernykh 114f6b627b P2PServer: don't allow multiple connections to/from the same IP
3 years ago
SChernykh 4757cdb8e2 P2PServer: added 1 second grace time for stale shares
3 years ago
SChernykh dac74a8829 Update p2p_server.cpp
3 years ago
SChernykh 456f5d356f P2PServer: ban peers only after handshake finished and failed
3 years ago
SChernykh 14bb308794 P2PServer: clear m_missingBlockRequests when there is nothing missing
3 years ago
SChernykh f9be0de8d2 P2PServer: ask peers about unknown blocks only once
3 years ago
SChernykh 81a12158fc P2PServer: don't add banned peers back to the peer list
3 years ago
SChernykh 3f1ee9ce4b TCPServer fixes
3 years ago
SChernykh dbf18c34a4 Fixed wrong uv loop in p2pserver::flush_cache()
3 years ago
SChernykh 7ab3c22114 Give only 5 seconds for new connections to complete handshake
3 years ago
SChernykh a27577f735 Added log level 6 to reduce spam on level 5
3 years ago
SChernykh 09aedd9f9a Drop idle connections
3 years ago
SChernykh 6de98697a1 Only warn about lagging monerod if it's 2 or more blocks behind
3 years ago
SChernykh 20b3886bfb Less tolerance to lagging nodes
3 years ago
SChernykh 69533fd209 Store only fully verified blocks in the cache
3 years ago
SChernykh aba3bc50b8 Block cache WIP and other fixes
3 years ago
SChernykh 25ef5733a7 Skip duplicates in the saved peers list
3 years ago
SChernykh fda80e3556 Sanity check
3 years ago
SChernykh df52838433 Removed some noisy warning messages
3 years ago
SChernykh 510b7dbb85 Add files
3 years ago