Commit graph

100 commits

Author SHA1 Message Date
DataHoarder 63bd8124a5
Fix p2p server LastUpdated type
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-04-13 06:07:39 +02:00
DataHoarder 82d2a2a2bd
Added pool block metadata field, register precise ingress time and peer information 2024-04-13 04:45:47 +02:00
DataHoarder 3e689ae7be
Add extra consensus id for temporary testing 2024-04-10 08:06:40 +02:00
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 b138b39ab5
Use bits.Mul64 on p2p challenge 2024-04-07 04:36:23 +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 cd26934d16
Fix nil dereference in server peerlist
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-25 22:16:52 +01:00
DataHoarder c1486efa7d
Fix nil dereference on peerList comparison with dupe adresses 2024-02-23 13:11:58 +01:00
DataHoarder cbb029cca7
Fix: compact message
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-31 21:52:36 +02: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 4ec4872194
Slow DownloadMissingBlocks updates after initial sync from one per second to one every two minutes
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-22 01:13:01 +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 4ed83d58f5
Allow 0/0 peers setting for debugging, check outgoing connections in monerod reconnect loop 2023-06-05 23:46:16 +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 27f65692be
Added sidechain ShuffleSequence utils, loop DownloadMissingBlocks on Server until no more are found
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-31 01:55:34 +02:00
DataHoarder cd99095931
New utilities and additions for types / sidechain
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-30 08:49:52 +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 099c393235
Added utils ContextTicker 2023-05-23 07:30:25 +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 65383c34c3
Keep track of previous ban error on p2pool, report it on connectivity check
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-19 08:30:43 +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 58b3471f97
Ban a /64 on IPv6 2023-04-26 20:29:32 +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 c24cb9109a
Disconnect banned peers on connection properly 2023-04-24 14:32:15 +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