b138b39ab5
Use bits.Mul64 on p2p challenge
2024-04-07 04:36:23 +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
cd26934d16
Fix nil dereference in server peerlist
continuous-integration/drone/push Build is passing
2024-02-25 22:16:52 +01:00
c1486efa7d
Fix nil dereference on peerList comparison with dupe adresses
2024-02-23 13:11:58 +01:00
cbb029cca7
Fix: compact message
continuous-integration/drone/push Build is passing
2023-07-31 21:52:36 +02: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
4ec4872194
Slow DownloadMissingBlocks updates after initial sync from one per second to one every two minutes
continuous-integration/drone/push Build is passing
2023-07-22 01:13:01 +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
4ed83d58f5
Allow 0/0 peers setting for debugging, check outgoing connections in monerod reconnect loop
2023-06-05 23:46:16 +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
27f65692be
Added sidechain ShuffleSequence utils, loop DownloadMissingBlocks on Server until no more are found
continuous-integration/drone/push Build is passing
2023-05-31 01:55:34 +02:00
cd99095931
New utilities and additions for types / sidechain
continuous-integration/drone/push Build is failing
2023-05-30 08:49:52 +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
099c393235
Added utils ContextTicker
2023-05-23 07:30:25 +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
65383c34c3
Keep track of previous ban error on p2pool, report it on connectivity check
continuous-integration/drone/push Build is passing
2023-05-19 08:30:43 +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
58b3471f97
Ban a /64 on IPv6
2023-04-26 20:29:32 +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
c24cb9109a
Disconnect banned peers on connection properly
2023-04-24 14:32:15 +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
b4899fac39
Fix Server.IsBanned()
2023-04-19 19:13:46 +02:00