SChernykh
|
c94b627808
|
TCPServer: use /64 prefix to ban IPv6 peers
|
1 year ago |
SChernykh
|
8bf045974f
|
BlockTemplate code refactoring
- Moved block constants to one place
- Tuned block template max transaction limiter
|
1 year ago |
SChernykh
|
6e258bb210
|
Refactored TCPServer to reduce code duplication
|
1 year ago |
SChernykh
|
3697c079fa
|
Fixed cppcheck error
|
1 year ago |
SChernykh
|
2e6041dcf5
|
P2PServer: add local api data
|
1 year ago |
SChernykh
|
b6c1b1a6d7
|
P2PServer: log time it took to relay a block
|
1 year ago |
SChernykh
|
19cc044cab
|
Added UPnP port forwarding
|
1 year ago |
SChernykh
|
12a011a9ff
|
TCPServer: removed unnecessary mutex
|
1 year ago |
SChernykh
|
1c908c261d
|
TCPServer: refactored memory allocation
|
1 year ago |
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
|
1 year 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
Protocol version 1.1: compact block broadcasts
|
2 years ago |
SChernykh
|
47ff7e228e
|
Added code to deserialize compact blobs
|
2 years ago |
SChernykh
|
c135787620
|
Prepare compact blob for block broadcasts
Reference transactions by index in the parent block instead of storing full 32 bytes per transaction
|
2 years ago |
SChernykh
|
74b5ab1798
|
Force update block template after 30 seconds
To get new transactions in
|
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
To avoid hitting default open files limit (1024)
|
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
- Remove peers that weren't seen for > 1 hour
- Better peer selection algorithm for PEER_LIST_RESPONSE
|
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
Saves ~20 MB of memory
|
3 years ago |
SChernykh
|
5c92920619
|
Default log level 3
Also refactored default port numbers
|
3 years ago |