Commit graph

102 commits

Author SHA1 Message Date
72a0356726
Allow consensus protocol extensions for GoObserver 2023-04-19 23:32:58 +02:00
d92b2fae7d
Overhaul logs attribution 2023-04-19 22:05:22 +02:00
c743cf97ec
Improvement: pad PeerListResponse with other peer entries 2023-04-19 21:56:49 +02:00
072debb291
Fix incoming connections / handshake / initial peer list 2023-04-19 21:48:30 +02:00
d6a46fb216
Do not ban peers on low height tip responses 2023-04-19 20:24:55 +02:00
c9982a77cb
Fix unknown block response nil pointer on client 2023-04-19 19:35:13 +02:00
fa52d8c44a
Added /api/consensus_check/ for p2pool consensus server 2023-04-19 19:18:35 +02:00
b4899fac39
Fix Server.IsBanned() 2023-04-19 19:13:46 +02:00
f92b38d9c0
Proper p2pool closure on signal, software version v1.0 2023-04-19 18:05:05 +02:00
d96ffd3781
Do not ban peers on connection closed between packets 2023-04-19 17:24:36 +02:00
108cf1d682
Overhaul peer list, load from monerod peers as fallback, actual ban list 2023-04-19 15:16:56 +02:00
1a1c818741
Added SideChain consensus hard fork information 2023-04-16 19:25:24 +02:00
170db02ba1
Remove chainTipBlockRequest from p2p client, use ZeroHash on expectedBlockId instead 2023-03-27 14:38:41 +02:00
faacd347a0
Better archive fetch, improved derivation cache allocations, close on zmq disconnect, fill private key on share decoding 2023-03-20 08:36:39 +01:00
07e48f99e1
Added API to p2pool implementation, fixed archive 2023-03-17 10:01:52 +01:00
b2bb0a4156
Log software id and version for mined shares, and signaling 2023-03-11 19:08:04 +01:00
0773e754de
Higher precision on log entries, add debug log option 2023-03-10 22:03:12 +01:00
a46d182aa8
Save/load blocks from p2pool.cache 2023-03-10 16:45:22 +01:00
d59a78c25d
Check miner data on client block response and block broadcast 2023-03-09 16:18:42 +01:00
968b07ae0b
Support p2pool hardfork in March 2023-03-07 18:57:06 +01:00
92b74f667f
Implemented ZMQ fetch of block data, proper main chain handling, refactored client RPC access, updated dependencies 2023-03-05 15:07:40 +01:00
4f7a4a86de
Add client connection i/o deadlines 2022-12-19 12:06:32 +01:00
77a8b25c80
Verify BlockResponse matches requested id from BlockRequest 2022-12-18 15:53:32 +01:00
fc2abf71ae
Fix race in Client.BlockPendingRequests and apply rule, move LastBroadcast 2022-12-14 19:31:59 +01:00
fc09d53b2e
Use ZeroHash instead of empty Hash 2022-12-12 17:15:43 +01:00
cdccbd20df
get missing blocks every 60 seconds to prevent sync stalling due to client disconnection 2022-12-12 16:58:45 +01:00
b4b35766db
Do not send compact blocks if they are larger than pruned blocks 2022-12-12 15:14:48 +01:00
2f06a81e49
Remove several races, properly delete from peer list 2022-12-11 17:27:46 +01:00
9ac70ab318
Added base p2pool cmd, added external listen port 2022-12-11 14:46:37 +01:00
be28157ed3
Client utilities, adjustment of names on protocol / server to match p2pool 2022-12-11 13:31:43 +01:00
3387672e91
Remove Client.Write 2022-12-11 13:02:15 +01:00
e2911150f7
Implement pruning, add tcp listener instead of interface, improve read/write times on client and limit requests when already requested 2022-12-09 13:13:00 +01:00
b7a7358103
Fix peer / client list and connection tracking on server 2022-12-06 09:59:57 +01:00
28623fb3fe
Faster synchronization based on ping time 2022-12-04 15:15:33 +01:00
2b5ce80a75
Implement peer lists, send peer list requests, synchronize client operations by block header to prevent racing from all peers 2022-12-04 15:00:05 +01:00
5ffa2041a0
Do not ban on parent not existing on block pre-process 2022-12-04 02:20:36 +01:00
4adf67825d
Produce pruned / compact block broadcasts 2022-12-04 01:46:22 +01:00
2823029eb9
Support protocol 1.1, receive and process compact block broadcasts 2022-12-03 23:43:18 +01:00
79aba57c0b
Send peers on peer list response, atomic listen port 2022-12-02 14:34:18 +01:00
6a014365a6
Specifically set isv6 = 0 for PeerVersionInformation 2022-12-02 13:15:53 +01:00
2b27533aa2
Implement protocol handshake via peer messages 2022-12-02 12:33:37 +01:00
53fca1539d
Change blobcache, test 2022-11-30 08:27:06 +01:00
d2dc48b429
Unmap IPv4 addresses 2022-11-08 11:46:35 +01:00
7929753c40
Timeout outgoing connections in 10 seconds, reduce memory allocations, use sync.Pool for storing allocations 2022-11-08 11:35:09 +01:00
0e6cd73940
Do not send broadcasts unless they complete broadcasts, log height 2022-11-07 19:38:29 +01:00
55b39f8535
Faster address derivation via benchmark, lesser cache of derivations 2022-11-07 15:58:02 +01:00
0b81a82a4b
Sync and pings working, channel-based messages 2022-11-06 17:01:36 +01:00
37c1a295cf
Client synchronization to tip working 2022-11-06 11:58:19 +01:00
a685bad178
Improve Server.Close / randomx 2022-11-05 10:23:31 +01:00
59d8bcd0f7
Reduce allocations 2022-11-05 09:33:53 +01:00
03a026c026
Initial sidechain verification 2022-11-03 15:24:54 +01:00
a9e0ce96b0
Initial P2Pool work, move most derivations and signatures to crypto 2022-11-01 12:22:00 +01:00