SChernykh
|
9283677a2b
|
Sync test: log more data in the end
|
2022-11-24 11:06:18 +01:00 |
|
SChernykh
|
7eec4d742c
|
P2PServer: removed an unnecessary lock
|
2022-11-22 09:57:50 +01:00 |
|
SChernykh
|
c5f3a03d1e
|
Improved peers display
|
2022-11-10 19:56:14 +01:00 |
|
SChernykh
|
da9cdf7df3
|
Send our P2Pool version to other peers
|
2022-11-10 14:31:02 +01:00 |
|
SChernykh
|
25806b67a2
|
Added protocol version negotiation
Protocol version 1.1: compact block broadcasts
|
2022-11-09 22:56:12 +01:00 |
|
SChernykh
|
47ff7e228e
|
Added code to deserialize compact blobs
|
2022-11-09 16:21:31 +01:00 |
|
SChernykh
|
c135787620
|
Prepare compact blob for block broadcasts
Reference transactions by index in the parent block instead of storing full 32 bytes per transaction
|
2022-11-09 12:40:45 +01:00 |
|
SChernykh
|
bbc3d44526
|
P2PServer: tidy up PEER_LIST_RESPONSE messages
|
2022-11-08 16:36:09 +01:00 |
|
SChernykh
|
19414b061b
|
Refactored BackgroundJobTracker
|
2022-11-04 10:20:32 +01:00 |
|
SChernykh
|
74b5ab1798
|
Force update block template after 30 seconds
To get new transactions in
|
2022-11-04 07:47:07 +01:00 |
|
SChernykh
|
83cda110aa
|
P2PServer: tweaked invalid timestamp messages
|
2022-11-03 21:19:48 +01:00 |
|
SChernykh
|
0df11d24f5
|
P2PServer: tweaked invalid timestamp logic
|
2022-11-03 16:14:56 +01:00 |
|
SChernykh
|
a6c27a1e3f
|
P2PServer: checks timestamps only for new blocks
|
2022-11-03 15:20:38 +01:00 |
|
SChernykh
|
c090b0cf62
|
P2PServer: tweaked invalid timestamp logic
|
2022-11-03 13:52:29 +01:00 |
|
SChernykh
|
45660e3d96
|
Show wallet address in error messages and status
|
2022-11-03 11:38:43 +01:00 |
|
SChernykh
|
732190bb11
|
P2PServer: sanity check for timestamps
|
2022-11-03 08:51:06 +01:00 |
|
SChernykh
|
255d312ae0
|
SideChain: log blocks with the same id
|
2022-11-02 12:49:12 +01:00 |
|
SChernykh
|
07b460147e
|
P2PServer: added missing time check
|
2022-11-01 16:07:13 +01:00 |
|
SChernykh
|
65a9574e52
|
Added --p2p-external-port command line parameter
|
2022-10-28 14:06:26 +02:00 |
|
SChernykh
|
fd6b2360aa
|
Fix: uv_close was called from wrong thread
|
2022-10-07 16:02:08 +02:00 |
|
SChernykh
|
eabf856dbd
|
Removed redundant m_sideChainData
|
2022-10-04 15:49:58 +02:00 |
|
SChernykh
|
6a66615f37
|
Removed redundant m_mainChainData
|
2022-10-03 18:42:32 +02:00 |
|
SChernykh
|
ed78e9df6e
|
More reliable file load/save
|
2022-09-13 18:48:00 +02:00 |
|
SChernykh
|
f044149004
|
P2PServer fix: reset ping time on disconnect
|
2022-09-13 16:14:54 +02:00 |
|
SChernykh
|
f126eb7611
|
P2PServer: added more logging
|
2022-09-13 11:12:08 +02:00 |
|
SChernykh
|
afa9cf371e
|
P2PServer: sync from the fastest peer if possible
|
2022-09-13 10:51:15 +02:00 |
|
SChernykh
|
e4dd46b498
|
Added --no-dns command line parameter
|
2022-09-04 18:10:14 +02:00 |
|
SChernykh
|
86156f3fec
|
SOCKS5 proxy support
|
2022-09-03 22:35:38 +02:00 |
|
SChernykh
|
30861bbf91
|
Speedup SideChain::get_outputs_blob()
|
2022-08-15 13:48:21 +02:00 |
|
SChernykh
|
c5bd184bbc
|
P2PServer: don't deserialize the same block twice
|
2022-07-10 10:24:03 +02:00 |
|
SChernykh
|
9f4388843a
|
Fixed error messages
|
2022-06-10 07:48:47 +02:00 |
|
SChernykh
|
8af9e9b27d
|
Fixed memory leaks
|
2022-06-07 19:40:13 +02:00 |
|
SChernykh
|
a35d4b2701
|
Change llhttp to libcurl
|
2022-06-06 15:08:37 +02:00 |
|
SChernykh
|
cb147773b5
|
Updated cppcheck workflow on Linux
|
2022-05-26 21:19:01 +02:00 |
|
SChernykh
|
0e222afd6a
|
Exit if server startup fails
|
2022-05-23 15:50:25 +02:00 |
|
SChernykh
|
8fa354796c
|
Reload peer list when there are no connections
|
2022-05-11 14:09:28 +02:00 |
|
SChernykh
|
6c6ef1c1b8
|
Restart ZMQ connection if it looks dead
|
2022-05-11 13:50:47 +02:00 |
|
SChernykh
|
92e20485b2
|
Log: don't allow side effects in LOG() calls
|
2022-05-10 21:41:53 +02:00 |
|
SChernykh
|
134f2d68a3
|
Fixed data races
|
2022-05-09 16:10:55 +02:00 |
|
SChernykh
|
2e2bd1d137
|
Added log padding
|
2022-05-06 20:04:01 +02:00 |
|
SChernykh
|
0818d91f4f
|
StratumServer: added console command workers
|
2022-05-06 13:19:56 +02:00 |
|
SChernykh
|
1a35177633
|
Fixed unsafe usage of log::Stream buffers
|
2022-05-05 14:38:56 +02:00 |
|
SChernykh
|
6b4640c413
|
Fixes for Termux
|
2022-05-03 07:32:47 +02:00 |
|
SChernykh
|
b2f86a5f6b
|
Ban peers with stuck or lagging monerod
|
2022-04-23 11:29:17 +02:00 |
|
SChernykh
|
7522111bb7
|
Fixed data races
|
2022-04-09 00:38:15 +02:00 |
|
SChernykh
|
7b5b910f3f
|
Undefined behaviour fixes
|
2022-04-08 22:49:08 +02:00 |
|
SChernykh
|
93cd9a659a
|
Code cleanup
|
2022-04-07 19:11:20 +02:00 |
|
SChernykh
|
094209f311
|
P2PServer: optimized update_peer_connections()
|
2022-04-07 16:48:01 +02:00 |
|
SChernykh
|
1b3c1eb850
|
P2PServer: increased peer timeout to 15 minutes
|
2022-03-30 22:47:10 +02:00 |
|
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
|
0c2b7d6010
|
More time handling fixes
|
2022-03-23 15:49:24 +01:00 |
|
SChernykh
|
f4bcdc7fe9
|
Use steady_clock to time peer list requests
|
2022-03-23 11:37:05 +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
|
7ab21c6afd
|
TCPServer: reduced memory usage
|
2022-02-23 17:07:50 +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
|
f1b6212c82
|
P2PServer: add connection limits
#87 Added `--out-peers` and `--in-peers` command line options.
|
2021-12-26 14:59:45 +01:00 |
|
SChernykh
|
61edc6ed70
|
Reduce cache flush frequency to once per minute
|
2021-11-01 11:29:59 +01:00 |
|
SChernykh
|
c0c210664a
|
Show uptime in status
|
2021-10-26 17:55:47 +02:00 |
|
SChernykh
|
111324b6e0
|
Added console command to show connected peers
|
2021-10-24 16:04:30 +02:00 |
|
SChernykh
|
04d18cdf1d
|
P2PServer: fixed m_timer leak
|
2021-10-21 19:19:22 +02:00 |
|
SChernykh
|
d26902468d
|
P2PServer: peer list tweaks
- Increase outgoing connections to 10
- Stricter handling of peer list responses
|
2021-10-21 15:55:00 +02:00 |
|
SChernykh
|
0382027d70
|
Fixed wrong error message
|
2021-10-21 10:12:57 +02:00 |
|
SChernykh
|
a06f4dcdcd
|
P2PServer: fixed ever growing memory usage
|
2021-10-17 10:57:33 +02:00 |
|
SChernykh
|
816a29c5ab
|
Added --no-cache command line parameter
|
2021-10-16 13:45:28 +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
|
af2a8eeb08
|
Tweaked warning level for lagging nodes
|
2021-10-06 15:22:03 +02:00 |
|
SChernykh
|
54d0ab3658
|
Move most block broadcasts to log level 6
|
2021-10-06 09:47:41 +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
|
ba6a2c8eb2
|
P2PServer: relax stale block restriction
|
2021-09-13 19:25:12 +02:00 |
|
SChernykh
|
42dd58d778
|
P2PServer: check broadcasts for wrong height
|
2021-09-13 15:48:05 +02:00 |
|
SChernykh
|
da0f376bef
|
P2PServer: ban peers that don't broadcast blocks
|
2021-09-13 15:01:02 +02:00 |
|
SChernykh
|
b8f04ac787
|
Tweaked block broadcast rules
|
2021-09-11 23:44:09 +02:00 |
|
SChernykh
|
7a97171b03
|
Tweaked block broadcast rules
|
2021-09-08 20:57:22 +02:00 |
|
SChernykh
|
52f195b89f
|
Tweaked idle peer detection
|
2021-09-08 20:36:21 +02:00 |
|
SChernykh
|
ee7a1e54f7
|
DNS name resolution for command line parameters
|
2021-09-08 20:25:39 +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
|
ce8ec3860d
|
Fixed memory leak
|
2021-09-07 10:22:58 +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
|
884d0f180a
|
TCP server: log IP addresses in more places
|
2021-09-05 20:21:33 +02:00 |
|
SChernykh
|
b31adbd5ae
|
Added macOS build
|
2021-09-05 12:10:40 +02:00 |
|
SChernykh
|
70ff4ba859
|
Tweaked peer list logic
|
2021-09-02 19:21:38 +02:00 |
|
SChernykh
|
75843e9b37
|
P2PServer: don't broadcast stale blocks
|
2021-08-31 23:41:05 +02:00 |
|
SChernykh
|
1a83610299
|
P2PServer: simplified the code a bit
|
2021-08-31 23:11:58 +02:00 |
|
SChernykh
|
780afd84a2
|
Added checks for tx keys
|
2021-08-31 17:23:20 +02:00 |
|
SChernykh
|
662a7e91c8
|
P2PServer: always ban IPs that send bad blocks
|
2021-08-31 13:14:35 +02:00 |
|
SChernykh
|
7b197824fe
|
P2PServer: add peers from the command line to the peer list on startup
|
2021-08-31 11:16:40 +02:00 |
|