Commit graph

55 commits

Author SHA1 Message Date
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 f49f52a853
Check capabilities of own server before sending anything that requires it 2023-07-31 21:40:36 +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 4ed83d58f5
Allow 0/0 peers setting for debugging, check outgoing connections in monerod reconnect loop 2023-06-05 23:46:16 +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 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 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 58b3471f97
Ban a /64 on IPv6 2023-04-26 20:29:32 +02:00
DataHoarder 1212b807a8
More block request / response logging, 5 second timeout for connections 2023-04-24 17:29:51 +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 1678ed4ed1
Add -add-self-peer and -ipv6-only settings 2023-04-23 16:46:47 +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 d6a46fb216
Do not ban peers on low height tip responses 2023-04-19 20:24:55 +02:00
DataHoarder fa52d8c44a
Added /api/consensus_check/ for p2pool consensus server 2023-04-19 19:18:35 +02:00
DataHoarder b4899fac39
Fix Server.IsBanned() 2023-04-19 19:13:46 +02:00
DataHoarder f92b38d9c0
Proper p2pool closure on signal, software version v1.0 2023-04-19 18:05:05 +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 07e48f99e1
Added API to p2pool implementation, fixed archive 2023-03-17 10:01:52 +01:00
DataHoarder b2bb0a4156
Log software id and version for mined shares, and signaling 2023-03-11 19:08:04 +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 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
DataHoarder cdccbd20df
get missing blocks every 60 seconds to prevent sync stalling due to client disconnection 2022-12-12 16:58:45 +01:00
DataHoarder b4b35766db
Do not send compact blocks if they are larger than pruned blocks 2022-12-12 15:14:48 +01:00
DataHoarder 2f06a81e49
Remove several races, properly delete from peer list 2022-12-11 17:27:46 +01:00
DataHoarder 9ac70ab318
Added base p2pool cmd, added external listen port 2022-12-11 14:46:37 +01:00
DataHoarder be28157ed3
Client utilities, adjustment of names on protocol / server to match p2pool 2022-12-11 13:31:43 +01:00
DataHoarder 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
DataHoarder b7a7358103
Fix peer / client list and connection tracking on server 2022-12-06 09:59:57 +01:00
DataHoarder 28623fb3fe
Faster synchronization based on ping time 2022-12-04 15:15:33 +01:00
DataHoarder 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
DataHoarder 4adf67825d
Produce pruned / compact block broadcasts 2022-12-04 01:46:22 +01:00
DataHoarder 2823029eb9
Support protocol 1.1, receive and process compact block broadcasts 2022-12-03 23:43:18 +01:00
DataHoarder 2b27533aa2
Implement protocol handshake via peer messages 2022-12-02 12:33:37 +01:00
DataHoarder 7929753c40
Timeout outgoing connections in 10 seconds, reduce memory allocations, use sync.Pool for storing allocations 2022-11-08 11:35:09 +01:00
DataHoarder 0e6cd73940
Do not send broadcasts unless they complete broadcasts, log height 2022-11-07 19:38:29 +01:00