a4602d4e39
Do not exit when listen accept fails on p2p code
continuous-integration/drone/push Build is failing
2024-06-03 11:49:18 +02:00
63bd8124a5
Fix p2p server LastUpdated type
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-04-13 06:07:39 +02:00
3e689ae7be
Add extra consensus id for temporary testing
2024-04-10 08:06:40 +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
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
f49f52a853
Check capabilities of own server before sending anything that requires it
2023-07-31 21:40:36 +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
4ed83d58f5
Allow 0/0 peers setting for debugging, check outgoing connections in monerod reconnect loop
2023-06-05 23:46:16 +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
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
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
58b3471f97
Ban a /64 on IPv6
2023-04-26 20:29:32 +02:00
1212b807a8
More block request / response logging, 5 second timeout for connections
2023-04-24 17:29:51 +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
1678ed4ed1
Add -add-self-peer and -ipv6-only settings
2023-04-23 16:46:47 +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
d6a46fb216
Do not ban peers on low height tip responses
2023-04-19 20:24:55 +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
f92b38d9c0
Proper p2pool closure on signal, software version v1.0
2023-04-19 18:05:05 +02:00
108cf1d682
Overhaul peer list, load from monerod peers as fallback, actual ban list
2023-04-19 15:16:56 +02:00
07e48f99e1
Added API to p2pool implementation, fixed archive
2023-03-17 10:01:52 +01:00
b2bb0a4156
Log software id and version for mined shares, and signaling
2023-03-11 19:08:04 +01:00
a46d182aa8
Save/load blocks from p2pool.cache
2023-03-10 16:45:22 +01:00
d59a78c25d
Check miner data on client block response and block broadcast
2023-03-09 16:18:42 +01:00
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
cdccbd20df
get missing blocks every 60 seconds to prevent sync stalling due to client disconnection
2022-12-12 16:58:45 +01:00
b4b35766db
Do not send compact blocks if they are larger than pruned blocks
2022-12-12 15:14:48 +01:00
2f06a81e49
Remove several races, properly delete from peer list
2022-12-11 17:27:46 +01:00
9ac70ab318
Added base p2pool cmd, added external listen port
2022-12-11 14:46:37 +01:00
be28157ed3
Client utilities, adjustment of names on protocol / server to match p2pool
2022-12-11 13:31:43 +01:00
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
b7a7358103
Fix peer / client list and connection tracking on server
2022-12-06 09:59:57 +01:00
28623fb3fe
Faster synchronization based on ping time
2022-12-04 15:15:33 +01:00
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
4adf67825d
Produce pruned / compact block broadcasts
2022-12-04 01:46:22 +01:00