Commit graph

82 commits

Author SHA1 Message Date
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
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 d6a46fb216
Do not ban peers on low height tip responses 2023-04-19 20:24:55 +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 e56d7ee46e
Index database, archivetoindex, database schema
Implemented daemon, web, api into new index backend
2023-04-11 04:26:24 +02:00
DataHoarder 11a270e547
Use currentDifficulty on sidechain for too low diff checks 2023-03-27 15:27:29 +02:00
DataHoarder cee3f630aa
Faster check of block difficulty for broadcasted blocks on sidechain 2023-03-27 14:09:17 +02:00
DataHoarder b4b95a5f8e
Move IsLongerChain into sidechain utils 2023-03-27 13:56:27 +02:00
DataHoarder ca986584b2
Move block pre-processing from sidechain/archive into PoolBlock via callback interfaces 2023-03-21 11:01:51 +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