Commit graph

150 commits

Author SHA1 Message Date
DataHoarder e3597c7f2b
Added PPLNS window iterator to sidechain utils for usage elsewhere and prevent multiple copy versions 2023-03-22 11:05:04 +01:00
DataHoarder ca986584b2
Move block pre-processing from sidechain/archive into PoolBlock via callback interfaces 2023-03-21 11:01:51 +01:00
DataHoarder f8fb72c502
Block format if printed to JSON, handle window size in pool_info 2023-03-20 15:15:35 +01:00
DataHoarder 3ec6e36a12
Fix sidedata serialization 2023-03-20 12:39:26 +01:00
DataHoarder 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
DataHoarder fbc4deb6f9
Daemon fixes 2023-03-19 09:36:38 +01:00
DataHoarder 28a417bccd
Consensus adjustements for hardfork, fix private key calculation from seed 2023-03-19 00:25:52 +01:00
DataHoarder f9fb96ef87
Fixed miner output shuffle 2023-03-18 22:11:20 +01:00
DataHoarder efe6ed6bed
Partial update for p2pool web/api/scraper for fork 2023-03-18 21:19:54 +01:00
DataHoarder 90d82e5f80
Added sidechain tip state from value to API 2023-03-18 11:33:51 +01:00
DataHoarder 07e48f99e1
Added API to p2pool implementation, fixed archive 2023-03-17 10:01:52 +01:00
DataHoarder 4550fdffd0
Added archive, and utilities to export cache/legacy to archive 2023-03-12 15:00:38 +01:00
DataHoarder 979049c3ac
Update web/api to report share version information on share and miner pages 2023-03-11 22:15:33 +01:00
DataHoarder 9e663bbc7a
Fixed v2 signaling read 2023-03-11 20:26:10 +01:00
DataHoarder b2bb0a4156
Log software id and version for mined shares, and signaling 2023-03-11 19:08:04 +01:00
DataHoarder 020a30b122
Fixed getShares Height -> SeedHeight for difficulty getting 2023-03-11 00:07:25 +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 968b07ae0b
Support p2pool hardfork in March 2023-03-07 18:57:06 +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 0472c9fcf4
Rename GetClient to GetDefaultClient, allow creation of custom clients 2022-12-16 20:32:57 +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 193ecbe2aa
Fill transaction indices on block verify 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 3167d2a52b
Updated remaining spots to types.Difficulty to match p2pool logic, update block compression 2022-12-11 14:00:53 +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 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 5ffa2041a0
Do not ban on parent not existing on block pre-process 2022-12-04 02:20:36 +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 53fca1539d
Change blobcache, test 2022-11-30 08:27:06 +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
DataHoarder 55b39f8535
Faster address derivation via benchmark, lesser cache of derivations 2022-11-07 15:58:02 +01:00
DataHoarder 51bdaf581a
Adjust derivations to use edwards25519 methods, and use proper reductions 2022-11-07 09:52:35 +01:00
DataHoarder c0921997bc
Proper hash ordering, from consensus 2022-11-07 08:37:39 +01:00
DataHoarder 23bf5a9f0f
Concurrency helper, blobcache work for compression 2022-11-06 21:11:03 +01:00
DataHoarder 0b81a82a4b
Sync and pings working, channel-based messages 2022-11-06 17:01:36 +01:00
DataHoarder 4af4b9dabf
Reduce memory allocations 2022-11-06 14:00:53 +01:00
DataHoarder 37c1a295cf
Client synchronization to tip working 2022-11-06 11:58:19 +01:00
DataHoarder 39e34abed6
Split outputs from transaction 2022-11-05 11:28:10 +01:00
DataHoarder a685bad178
Improve Server.Close / randomx 2022-11-05 10:23:31 +01:00
DataHoarder f2eae36712
Rewrite private/public key usage away from types.Hash, generic address interface 2022-11-05 08:59:00 +01:00
DataHoarder 03a026c026
Initial sidechain verification 2022-11-03 15:24:54 +01:00
DataHoarder a9e0ce96b0
Initial P2Pool work, move most derivations and signatures to crypto 2022-11-01 12:22:00 +01:00
DataHoarder ab0e335b9a
Refactor Difficulty, cache derivations and client actions, faster miner transaction matching 2022-10-28 11:47:14 +02:00
DataHoarder ea97ca98b9
Initial consensus work 2022-10-26 18:56:37 +02:00