SChernykh
|
a2afa29052
|
Updated copyright
|
2022-03-30 14:42:26 +02:00 |
|
SChernykh
|
028a5d0c88
|
Fixed memory leak after loading block cache
|
2022-03-24 18:30:23 +01:00 |
|
SChernykh
|
aada1bb5cc
|
Use chrono::steady_clock for internal timestamps
|
2022-03-23 11:30:38 +01:00 |
|
SChernykh
|
c21d052d7a
|
Refactored RNG usage across the code
|
2022-03-17 16:14:29 +01:00 |
|
SChernykh
|
2209e0cc70
|
P2PServer: relaxed peer list request restriction
|
2022-02-22 11:06:12 +01:00 |
|
SChernykh
|
9a09d15bea
|
P2PServer: use high_resolution_clock for ping time
|
2022-02-21 18:46:53 +01:00 |
|
SChernykh
|
f082488e4b
|
TCPServer: use steady_clock for bans
|
2022-02-21 18:41:36 +01:00 |
|
SChernykh
|
752e2381d6
|
P2PServer: added more protocol checks
|
2022-02-21 16:54:53 +01:00 |
|
SChernykh
|
d4a1b14820
|
Use monerod peers to find p2pool nodes
|
2022-02-17 22:10:52 +01:00 |
|
SChernykh
|
89bcceb986
|
Added p2pool mini seed nodes and default port
|
2021-12-30 11:10:18 +01:00 |
|
SChernykh
|
2b01350add
|
Added outpeers and inpeers console commands
|
2021-12-26 15:28:33 +01:00 |
|
SChernykh
|
b56d027dd5
|
Include P2P peer list into miner count
|
2021-10-31 20:29:35 +01:00 |
|
SChernykh
|
b45540ca08
|
TCPServer: clean up old IP bans
|
2021-10-29 14:54:36 +02:00 |
|
SChernykh
|
111324b6e0
|
Added console command to show connected peers
|
2021-10-24 16:04:30 +02:00 |
|
SChernykh
|
148b9dd294
|
Switch to faster unordered_map/set
|
2021-10-22 18:34:20 +02:00 |
|
SChernykh
|
a06f4dcdcd
|
P2PServer: fixed ever growing memory usage
|
2021-10-17 10:57:33 +02:00 |
|
SChernykh
|
39ba5c4131
|
P2PServer: check for messages that shouldn't be sent
|
2021-10-15 17:09:51 +02:00 |
|
SChernykh
|
9b86f8e81f
|
Peer list refactoring
- Remove peers that weren't seen for > 1 hour
- Better peer selection algorithm for PEER_LIST_RESPONSE
|
2021-10-15 11:32:01 +02:00 |
|
SChernykh
|
60a8538e0c
|
P2PServer: show an error when there are no ZMQ messages
|
2021-10-09 11:01:26 +02:00 |
|
SChernykh
|
77a3a5857c
|
P2PServer: show an error when there are no connections
|
2021-10-08 18:21:31 +02:00 |
|
SChernykh
|
2a3cd13b19
|
P2PServer: delete old cached blocks after initial sync
Saves ~20 MB of memory
|
2021-10-01 15:31:47 +02:00 |
|
SChernykh
|
5c92920619
|
Default log level 3
Also refactored default port numbers
|
2021-09-18 10:03:06 +02:00 |
|
SChernykh
|
da0f376bef
|
P2PServer: ban peers that don't broadcast blocks
|
2021-09-13 15:01:02 +02:00 |
|
SChernykh
|
a332ac7d26
|
P2PServer: load peers from DNS
|
2021-09-07 21:43:44 +02:00 |
|
SChernykh
|
73c8b1294a
|
P2PServer: connect to peers from the event loop thread
Better thread safety
|
2021-09-07 12:56:22 +02:00 |
|
SChernykh
|
25772abc0f
|
Show block share % in status
|
2021-09-07 09:53:38 +02:00 |
|
SChernykh
|
7b0cc256c5
|
P2PServer: ban peers that disconnect without finishing handshake
|
2021-09-06 16:17:20 +02:00 |
|
SChernykh
|
70ff4ba859
|
Tweaked peer list logic
|
2021-09-02 19:21:38 +02:00 |
|
SChernykh
|
662a7e91c8
|
P2PServer: always ban IPs that send bad blocks
|
2021-08-31 13:14:35 +02:00 |
|
SChernykh
|
456f5d356f
|
P2PServer: ban peers only after handshake finished and failed
|
2021-08-29 17:26:30 +02:00 |
|
SChernykh
|
f9be0de8d2
|
P2PServer: ask peers about unknown blocks only once
|
2021-08-27 17:26:42 +02:00 |
|
SChernykh
|
09aedd9f9a
|
Drop idle connections
Idle = didn't send any full messages in the last 5 minutes
|
2021-08-24 21:45:19 +02:00 |
|
SChernykh
|
aba3bc50b8
|
Block cache WIP and other fixes
- Block cache is implemented only on Windows for now
- Tracking of background jobs
- More robust sidechain syncing
|
2021-08-24 11:42:41 +02:00 |
|
SChernykh
|
510b7dbb85
|
Add files
|
2021-08-22 12:20:59 +02:00 |
|