Commit graph

93 commits

Author SHA1 Message Date
DataHoarder 848b3e72e9
initialize blocksByMerkleRoot on sidechain 2024-04-23 18:46:23 +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 8adaa81245
Explicitly use errgroup for SplitWork 2024-04-11 05:25:24 +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 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 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 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 61cfc4478c
Match deep block behavior in missed spot from b498084388 2024-04-05 18:13:50 +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 4de201775d
Set precalc finished on sync for early start 2024-02-23 13:11:58 +01: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 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 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 ac3d6b6141
Added faster pruneBlocks implementation 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
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 89339ee88a
Replace golang map with https://github.com/dolthub/swiss on sidechain/mainchain 2023-06-10 01:31:42 +02:00
DataHoarder bad1e302c8
Added sidechain GetPossibleUncles() method
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-05 23:46:34 +02:00
DataHoarder 1b04de234c
Changed how consensus Id is generated 2023-06-05 23:41:32 +02:00
DataHoarder 8d779e9cbc
refactored sidechain testdata initialization, web stream request api 2023-06-03 10:05:05 +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 25f58426a7
sidechain: err on child depth issue 2023-05-29 16:01:41 +02:00
DataHoarder bf30f7592e
Verify and warn inconsistent depths on sidechain 2023-05-29 10:25:55 +02:00
DataHoarder e94e54c27d
fix genesis share private key seed check 2023-05-29 09:09:03 +02:00
DataHoarder 52b2d617c0
Lock seenBlocks on cleanupSeenBlocks method
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-24 09:14:27 +02:00
DataHoarder 69cfc3f3da
Cleanup seen blocks properly to prevent slow leak like p2pool had before eab8a51bb7a30813d4cd8f570486fbee034acdb8 2023-05-23 06:41:03 +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 e9eb5915ed
Optimize address sorting, crypto cache, use unsafe VarTimeScalarMult for sidechain operations
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-20 10:49:05 +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 22077acdfa
Reduce allocations on utils.SplitWork, add BufferLength methods for pool block serialization 2023-05-17 17:29:01 +02:00
DataHoarder ba3f9b9ae4
Support Monero test network in address packed <-> unpacked roundtrip
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-16 07:14:58 +02:00
DataHoarder 265ff8478e
Use Shares allocation pool for overall usage of allocated shares 2023-05-14 09:46:28 +02:00
DataHoarder f8fcbc1b69
Reduce memory allocations on SideChain 2023-05-14 09:22:01 +02:00
DataHoarder 3eafb954df
Reduce hash heap allocations by using exported sha3
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-12 08:55:01 +02:00
DataHoarder 6a690ad278
Reduce allocations on ephemeral public key verification
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-11 12:05:27 +02:00
DataHoarder edbb610533
Added new testdata system using p2pool vectors 2023-05-10 03:46:33 +02:00
DataHoarder e3f50dd515
Better p2pool api sync status 2023-05-10 02:39:00 +02:00
DataHoarder c1375a3cb8
Refactored RandomX state creation 2023-04-30 21:49:25 +02:00
DataHoarder 939932944d
Allow non-sequential download of blocks for GetDifficulty 2023-04-26 09:32:52 +02:00
DataHoarder e8f9542cd3
Implement listeners for other events in the future 2023-04-23 01:38:33 +02:00
DataHoarder c438622558
Match consensus sync on high depth uncles as they leave outer PPLNS window, match 2045aae5a8 2023-04-22 19:03:24 +02:00