Commit Graph

88 Commits (a35d4b2701b69dc66d66bcd59bc35cf377a0a9d9)

Author SHA1 Message Date
SChernykh da0f376bef P2PServer: ban peers that don't broadcast blocks
3 years ago
SChernykh b8f04ac787 Tweaked block broadcast rules
3 years ago
SChernykh 7a97171b03 Tweaked block broadcast rules
3 years ago
SChernykh 52f195b89f Tweaked idle peer detection
3 years ago
SChernykh ee7a1e54f7 DNS name resolution for command line parameters
3 years ago
SChernykh a332ac7d26 P2PServer: load peers from DNS
3 years ago
SChernykh 73c8b1294a P2PServer: connect to peers from the event loop thread
3 years ago
SChernykh ce8ec3860d Fixed memory leak
3 years ago
SChernykh 25772abc0f Show block share % in status
3 years ago
SChernykh 7b0cc256c5 P2PServer: ban peers that disconnect without finishing handshake
3 years ago
SChernykh 884d0f180a TCP server: log IP addresses in more places
3 years ago
SChernykh b31adbd5ae Added macOS build
3 years ago
SChernykh 70ff4ba859 Tweaked peer list logic
3 years ago
SChernykh 75843e9b37 P2PServer: don't broadcast stale blocks
3 years ago
SChernykh 1a83610299 P2PServer: simplified the code a bit
3 years ago
SChernykh 780afd84a2 Added checks for tx keys
3 years ago
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