Commit Graph

53 Commits (master)

Author SHA1 Message Date
SChernykh b346b93285 Updated copyright
1 year ago
SChernykh da12b329be Check the block id returned by `BLOCK_RESPONSE`
1 year ago
SChernykh 3902612c4b P2PServer: show more data for connected peers
1 year ago
SChernykh 3e4f877ec0 Display software name in peers list
2 years ago
SChernykh 7eec4d742c P2PServer: removed an unnecessary lock
2 years ago
SChernykh da9cdf7df3 Send our P2Pool version to other peers
2 years ago
SChernykh 25806b67a2 Added protocol version negotiation
2 years ago
SChernykh 47ff7e228e Added code to deserialize compact blobs
2 years ago
SChernykh c135787620 Prepare compact blob for block broadcasts
2 years ago
SChernykh 74b5ab1798 Force update block template after 30 seconds
2 years ago
SChernykh 732190bb11 P2PServer: sanity check for timestamps
2 years ago
SChernykh 65a9574e52 Added `--p2p-external-port` command line parameter
2 years ago
SChernykh fd6b2360aa Fix: uv_close was called from wrong thread
2 years ago
SChernykh 38a6d3e549 Limit max in/out peers to 450
2 years ago
SChernykh afa9cf371e P2PServer: sync from the fastest peer if possible
2 years ago
SChernykh 86156f3fec SOCKS5 proxy support
2 years ago
SChernykh c5bd184bbc P2PServer: don't deserialize the same block twice
2 years ago
SChernykh 9e7666d12f Fixed data races
2 years ago
SChernykh b2f86a5f6b Ban peers with stuck or lagging monerod
2 years ago
SChernykh a2afa29052 Updated copyright
2 years ago
SChernykh 028a5d0c88 Fixed memory leak after loading block cache
2 years ago
SChernykh aada1bb5cc Use chrono::steady_clock for internal timestamps
2 years ago
SChernykh c21d052d7a Refactored RNG usage across the code
2 years ago
SChernykh 2209e0cc70 P2PServer: relaxed peer list request restriction
2 years ago
SChernykh 9a09d15bea P2PServer: use high_resolution_clock for ping time
2 years ago
SChernykh f082488e4b TCPServer: use steady_clock for bans
2 years ago
SChernykh 752e2381d6 P2PServer: added more protocol checks
2 years ago
SChernykh d4a1b14820 Use monerod peers to find p2pool nodes
2 years ago
SChernykh 89bcceb986 Added p2pool mini seed nodes and default port
2 years ago
SChernykh 2b01350add Added `outpeers` and `inpeers` console commands
2 years ago
SChernykh b56d027dd5 Include P2P peer list into miner count
3 years ago
SChernykh b45540ca08 TCPServer: clean up old IP bans
3 years ago
SChernykh 111324b6e0 Added console command to show connected peers
3 years ago
SChernykh 148b9dd294 Switch to faster unordered_map/set
3 years ago
SChernykh a06f4dcdcd P2PServer: fixed ever growing memory usage
3 years ago
SChernykh 39ba5c4131 P2PServer: check for messages that shouldn't be sent
3 years ago
SChernykh 9b86f8e81f Peer list refactoring
3 years ago
SChernykh 60a8538e0c P2PServer: show an error when there are no ZMQ messages
3 years ago
SChernykh 77a3a5857c P2PServer: show an error when there are no connections
3 years ago
SChernykh 2a3cd13b19 P2PServer: delete old cached blocks after initial sync
3 years ago
SChernykh 5c92920619 Default log level 3
3 years ago
SChernykh da0f376bef P2PServer: ban peers that don't broadcast blocks
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 25772abc0f Show block share % in status
3 years ago
SChernykh 7b0cc256c5 P2PServer: ban peers that disconnect without finishing handshake
3 years ago
SChernykh 70ff4ba859 Tweaked peer list logic
3 years ago
SChernykh 662a7e91c8 P2PServer: always ban IPs that send bad blocks
3 years ago
SChernykh 456f5d356f P2PServer: ban peers only after handshake finished and failed
3 years ago
SChernykh f9be0de8d2 P2PServer: ask peers about unknown blocks only once
3 years ago