9d2f728409
Upgrade to v4 for p2pool upcoming hardfork
2024-06-19 20:59:08 +02:00
8427e5ca2e
add peerlist length check
continuous-integration/drone/push Build is passing
2024-04-23 18:43:54 +02:00
82d2a2a2bd
Added pool block metadata field, register precise ingress time and peer information
2024-04-13 04:45:47 +02:00
ef9e6f173b
Allow to change handshake consensus id under p2p server as temporary measure for testing
continuous-integration/drone/push Build is passing
2024-04-10 03:53:12 +02:00
6efd52cae7
Experimental: Support new merge mine Consensus Id
...
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
d85464b4e2
Partial merge mining template support for p2pool merge-mining upcoming changes
continuous-integration/drone/push Build is failing
2024-04-10 03:10:55 +02:00
355843d5a2
Remove not necessary utilities under utils/, annotate network utils, use fasthex across all project
2024-04-05 17:14:37 +02:00
fe75cf259c
P2Pool consensus v3.0.0
...
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
50e1acbb3a
Upgrade to new logger format
continuous-integration/drone/push Build is passing
2024-02-26 21:24:37 +01:00
4d9f99747b
Use new Go 1.22 features: newinliner and math/rand/v2
2024-02-26 19:07:14 +01:00
86b7a92334
Added basic global logger
2024-02-26 04:09:27 +01:00
43a7603e0f
Only apply last known tip on p2p client after pre processing
continuous-integration/drone/push Build is running
2023-07-31 21:47:35 +02:00
f49f52a853
Check capabilities of own server before sending anything that requires it
2023-07-31 21:40:36 +02:00
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
cff3d620de
Update p2p client LastKnownTip on BlockNotify
2023-07-30 13:36:11 +02:00
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
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
4376c41511
Optimize struct alignment and memory size across the project
2023-06-14 17:26:46 +02:00
1b04de234c
Changed how consensus Id is generated
2023-06-05 23:41:32 +02:00
5ab76f5503
Calculate precise buffer lengths using varint sizes
2023-06-03 23:33:13 +02:00
db5a26de4f
Resolve lock contention whenever bans occur with multiple clients connected
continuous-integration/drone/push Build is passing
2023-05-23 07:36:35 +02:00
3ac9b9f5bd
Track seen and alternate blocks, and submit these alternate blocks to monerod / other peers as well
continuous-integration/drone/push Build is passing
2023-05-22 11:11:55 +02:00
1e05b54e25
Send peer list on empty chain tip block responses as well
2023-05-18 05:26:13 +02:00
041fc55f16
Serialize pool blocks using append on stack buffers instead of heap buffer allocations
continuous-integration/drone/push Build is failing
2023-05-18 05:21:23 +02:00
05cc1c61a0
Remove IPv6 log message on p2p client
2023-05-15 09:18:34 +02:00
8006412fe9
set error and handshake complete when connecting to self
2023-04-26 20:07:22 +02:00
a4ebfd70a2
Remove debug feature on InternalMessage FastSync
2023-04-24 17:44:00 +02:00
6e10612f99
Log broadcast tip of client for debugging
2023-04-24 17:38:11 +02:00
1212b807a8
More block request / response logging, 5 second timeout for connections
2023-04-24 17:29:51 +02:00
936d636514
Log when listen port / handshake is sent
2023-04-24 17:20:37 +02:00
2f3eea65a2
Obtain specific outgoing IPv6 address for peering lists
2023-04-23 19:34:52 +02:00
34fc5cedf5
Do not ban client if it's the same peer
2023-04-23 17:21:10 +02:00
d267716c25
Limit fast sync responses
2023-04-23 17:11:55 +02:00
1678ed4ed1
Add -add-self-peer and -ipv6-only settings
2023-04-23 16:46:47 +02:00
6617b5abb9
Do not return stale on tip request
2023-04-22 03:43:42 +02:00
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
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
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
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