Commit graph

165 commits

Author SHA1 Message Date
DataHoarder 8adaa81245
Explicitly use errgroup for SplitWork 2024-04-11 05:25:24 +02:00
DataHoarder e390e970e6
Update crypto tests to verify NoAllocate implementations as well 2024-04-11 02:37:49 +02:00
DataHoarder 71dbf635d1
Remove unused GetPoolBlockByCoinbaseExtraIdentifier and BlockSeen check
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-10 09:36:33 +02:00
DataHoarder 0ec08e8aac
Document differences between share versions 2024-04-10 09:36:01 +02:00
DataHoarder fe5c673125
Split monero from p2pool hardforks 2024-04-10 09:03:31 +02:00
DataHoarder 3e689ae7be
Add extra consensus id for temporary testing 2024-04-10 08:06:40 +02:00
DataHoarder 860f60be51
Test PoolBlockExternalVerify via LoadSideChainTestData on sidechain tests
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-10 04:11:07 +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 4a8971dae1
Fix nil dereference on merge mining tag depth 2024-04-08 16:44:55 +02:00
DataHoarder 142a21861e
Replace json hex strings with types.Hash and types.Bytes on monero rpc
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-07 20:19:12 +02:00
DataHoarder c999597d5e
Remove moneroutil dependency, replace base58 encoding with git.gammaspectra.live/P2Pool/monero-base58 2024-04-07 19:15:00 +02:00
DataHoarder 791345c3e7
Added PubKeyToTable cache hits on sidechain test
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-07 05:31:26 +02:00
DataHoarder b138b39ab5
Use bits.Mul64 on p2p challenge 2024-04-07 04:36:23 +02:00
DataHoarder 019375e929
Experimental: Stratum server, template generation, uncle and transaction selection
Some checks are pending
continuous-integration/drone/push Build is running
Specify wallet address on login user in xmrig or similar
2024-04-06 03:59:03 +02:00
DataHoarder 2627e6b574
Add Consensus SeedNodes() method 2024-04-06 03:04:22 +02:00
DataHoarder 61cfc4478c
Match deep block behavior in missed spot from b498084388 2024-04-05 18:13:50 +02:00
DataHoarder 878d9df69b
Annotate and hash test data, include README, download from local mirror of p2pool 2024-04-05 18:13:46 +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 13d2e51383
Update dependencies, use faster UnsafeVarTimeScalarBaseMult on non-private operations, use precomputed UnsafeVarTimeScalarMultPrecomputed on public keys
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-05 10:54:04 +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 01369eb4c8
Prevent NaN on division by zero on sidechain_test on pre-fork chains
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-25 14:21:57 +01:00
DataHoarder 4de201775d
Set precalc finished on sync for early start 2024-02-23 13:11:58 +01:00
DataHoarder 7c3e71171f
Fix mismatching encode methods for PoolBlock on connectivity-check API
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-31 22:35:58 +02:00
DataHoarder aae149677a
Move Coinbase Id cache into PoolBlock from CoinbaseTransaction
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-30 22:53:25 +02:00
DataHoarder deb3c6db01
Id -> id in consensus json
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-25 09:05:38 +02:00
DataHoarder f9903f096d
Made ShareVersion an uint8 instead of int to match Monero hardfork version 2023-07-25 08:57:03 +02:00
DataHoarder b601e49a8a
Refactor pool_info API, deprecate several fields 2023-07-25 08:50:18 +02:00
DataHoarder e7e1aee11b
Fix channel on miner page for unknown miners, switch order of comparisons on NextDifficulty
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-24 19:48:44 +02:00
DataHoarder e32a5e5d74
Speedup raw / coinbase block fetch from API via index instead of archival usage
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-24 11:48:01 +02:00
DataHoarder 03f19ae2ed
Improve base58 encode/decode and PackedAddress storage
Some checks are pending
continuous-integration/drone/push Build is running
2023-07-23 01:02:43 +02:00
DataHoarder c0397bea86
Moved cache into its own module
Some checks are pending
continuous-integration/drone/push Build is running
2023-07-22 17:15:43 +02:00
DataHoarder 402bd79c6c
Use go.work and nested modules to split dependency import 2023-07-22 16:02:38 +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 5bffb7f43d
Reword and split GetDifficulty on SideChain utils 2023-07-21 00:48:28 +02:00
DataHoarder c1939598a5
Speedup deterministic key checks 2023-07-20 07:40:19 +02:00
DataHoarder c3cf2161bd
Less allocations on SplitReward by default, small speedup changes 2023-07-20 07:40:19 +02:00
DataHoarder 894ebbba1b
Speedup Difficulty Cmp / Add / Mul64, consensus Uncle Penalty method 2023-07-20 07:40:19 +02:00
DataHoarder d7532fedd3
Update dependencies, fix wrapping operations on difficulty, reduce number of template hashes on verify, catch panics on external block add 2023-07-20 07:40:19 +02:00
DataHoarder b57226c7ed
Speedup iteration of blocks in sidechain using iterationCache 2023-07-20 07:40:19 +02:00
DataHoarder 5c24136e45
Speedup GetShares, Shares allocation, Shares.Compact 2023-07-20 07:40:19 +02:00
DataHoarder 152cbc54c2
Implement utils.NthElementSlice to use QuickSelect, improves GetDifficulty 2023-07-20 07:40:19 +02:00
DataHoarder 90184b07cc
GetDifficulty / GetShares speedup 2023-07-20 07:40:19 +02:00
DataHoarder ac3d6b6141
Added faster pruneBlocks implementation 2023-07-20 07:40:19 +02:00
DataHoarder 704b477c37
Slightly faster CompareConsensusPublicKeyBytes calls 2023-07-20 07:40:19 +02:00
DataHoarder c4053f3480
Faster pool block iteration backwards via PoolBlock iteration cache, added benchmark to SideChain 2023-07-20 07:40:19 +02:00