Commit graph

79 commits

Author SHA1 Message Date
DataHoarder ef9e6f173b
Allow to change handshake consensus id under p2p server as temporary measure for testing
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-10 03:53:12 +02:00
DataHoarder 6efd52cae7
Experimental: Support new merge mine Consensus Id
All checks were successful
continuous-integration/drone/push Build is passing
Depends on p2pool how migration/hardfork of existing chains will be done. A challenge still exists due to handshake challenges not discriminating
2024-04-10 03:38:44 +02:00
DataHoarder d85464b4e2
Partial merge mining template support for p2pool merge-mining upcoming changes
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-10 03:10:55 +02:00
DataHoarder 355843d5a2
Remove not necessary utilities under utils/, annotate network utils, use fasthex across all project 2024-04-05 17:14:37 +02:00
DataHoarder fe75cf259c
P2Pool consensus v3.0.0
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Migrate cmd utils, cmds to own repository
2024-04-03 19:43:13 +02:00
DataHoarder 50e1acbb3a
Upgrade to new logger format
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-26 21:24:37 +01:00
DataHoarder 4d9f99747b
Use new Go 1.22 features: newinliner and math/rand/v2 2024-02-26 19:07:14 +01:00
DataHoarder 86b7a92334
Added basic global logger 2024-02-26 04:09:27 +01:00
DataHoarder 43a7603e0f
Only apply last known tip on p2p client after pre processing
Some checks are pending
continuous-integration/drone/push Build is running
2023-07-31 21:47:35 +02:00
DataHoarder f49f52a853
Check capabilities of own server before sending anything that requires it 2023-07-31 21:40:36 +02:00
DataHoarder d52710eea4
Only store last known tip on p2p peer when it's equal to or higher as current 2023-07-31 19:42:50 +02:00
DataHoarder cff3d620de
Update p2p client LastKnownTip on BlockNotify 2023-07-30 13:36:11 +02:00
DataHoarder b0fe55c8a8
Update to protocol 1.2, implement BlockNotify
* Bump Software version to 3.0
* Remove old fast sync extension
* SideChain: fix for out of order blocks
* SideChain: shuffle blocks in tests
2023-07-21 16:20:41 +02:00
DataHoarder 4ef60296f1
Updated to Go 1.21
* Replaced exp/slices and exp/maps with slices/maps implementation
* Replaced utils.Min/Max with min/max
* Introduced GOEXPERIMENT=loopvar on build steps
* Updated tests/docker-compose to go1.21-rc-alpine
* Updated nginx to 1.25
* Preallocate mined blocks on Sidechain
* Update edwards25519 version
2023-07-20 07:40:18 +02:00
DataHoarder 4376c41511
Optimize struct alignment and memory size across the project 2023-06-14 17:26:46 +02:00
DataHoarder 1b04de234c
Changed how consensus Id is generated 2023-06-05 23:41:32 +02:00
DataHoarder 5ab76f5503
Calculate precise buffer lengths using varint sizes 2023-06-03 23:33:13 +02:00
DataHoarder db5a26de4f
Resolve lock contention whenever bans occur with multiple clients connected
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 07:36:35 +02:00
DataHoarder 3ac9b9f5bd
Track seen and alternate blocks, and submit these alternate blocks to monerod / other peers as well
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 11:11:55 +02:00
DataHoarder 1e05b54e25
Send peer list on empty chain tip block responses as well 2023-05-18 05:26:13 +02:00
DataHoarder 041fc55f16
Serialize pool blocks using append on stack buffers instead of heap buffer allocations
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-18 05:21:23 +02:00
DataHoarder 05cc1c61a0
Remove IPv6 log message on p2p client 2023-05-15 09:18:34 +02:00
DataHoarder 8006412fe9
set error and handshake complete when connecting to self 2023-04-26 20:07:22 +02:00
DataHoarder a4ebfd70a2
Remove debug feature on InternalMessage FastSync 2023-04-24 17:44:00 +02:00
DataHoarder 6e10612f99
Log broadcast tip of client for debugging 2023-04-24 17:38:11 +02:00
DataHoarder 1212b807a8
More block request / response logging, 5 second timeout for connections 2023-04-24 17:29:51 +02:00
DataHoarder 936d636514
Log when listen port / handshake is sent 2023-04-24 17:20:37 +02:00
DataHoarder 2f3eea65a2
Obtain specific outgoing IPv6 address for peering lists 2023-04-23 19:34:52 +02:00
DataHoarder 34fc5cedf5
Do not ban client if it's the same peer 2023-04-23 17:21:10 +02:00
DataHoarder d267716c25
Limit fast sync responses 2023-04-23 17:11:55 +02:00
DataHoarder 1678ed4ed1
Add -add-self-peer and -ipv6-only settings 2023-04-23 16:46:47 +02:00
DataHoarder 6617b5abb9
Do not return stale on tip request 2023-04-22 03:43:42 +02:00
DataHoarder 3298f7cbb4
Use small buffer pool for most send operations, limit attempt speed on new connections, match buffer size send limit as of 8bf045974f 2023-04-21 15:41:50 +02:00
DataHoarder 72a0356726
Allow consensus protocol extensions for GoObserver 2023-04-19 23:32:58 +02:00
DataHoarder d92b2fae7d
Overhaul logs attribution 2023-04-19 22:05:22 +02:00
DataHoarder c743cf97ec
Improvement: pad PeerListResponse with other peer entries 2023-04-19 21:56:49 +02:00
DataHoarder 072debb291
Fix incoming connections / handshake / initial peer list 2023-04-19 21:48:30 +02:00
DataHoarder d6a46fb216
Do not ban peers on low height tip responses 2023-04-19 20:24:55 +02:00
DataHoarder c9982a77cb
Fix unknown block response nil pointer on client 2023-04-19 19:35:13 +02:00
DataHoarder fa52d8c44a
Added /api/consensus_check/ for p2pool consensus server 2023-04-19 19:18:35 +02:00
DataHoarder d96ffd3781
Do not ban peers on connection closed between packets 2023-04-19 17:24:36 +02:00
DataHoarder 108cf1d682
Overhaul peer list, load from monerod peers as fallback, actual ban list 2023-04-19 15:16:56 +02:00
DataHoarder 1a1c818741
Added SideChain consensus hard fork information 2023-04-16 19:25:24 +02:00
DataHoarder 170db02ba1
Remove chainTipBlockRequest from p2p client, use ZeroHash on expectedBlockId instead 2023-03-27 14:38:41 +02:00
DataHoarder 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
DataHoarder b2bb0a4156
Log software id and version for mined shares, and signaling 2023-03-11 19:08:04 +01:00
DataHoarder 0773e754de
Higher precision on log entries, add debug log option 2023-03-10 22:03:12 +01:00
DataHoarder a46d182aa8
Save/load blocks from p2pool.cache 2023-03-10 16:45:22 +01:00
DataHoarder d59a78c25d
Check miner data on client block response and block broadcast 2023-03-09 16:18:42 +01:00
DataHoarder 968b07ae0b
Support p2pool hardfork in March 2023-03-07 18:57:06 +01:00