Commit graph

49 commits

Author SHA1 Message Date
DataHoarder 3aa98d061c
More checks and caps on block marshal/unmarshal, fast path for split reward
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-10 02:40:11 +02:00
DataHoarder e321374da1
Update to version v3.7.0, remove replace directives from go.mod
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-04-14 10:13:19 +02:00
DataHoarder 9dbb3394b8
Fix lru cache Get returning opposite
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-04-13 07:01:59 +02:00
DataHoarder dbeb877d6c
Update go-randomx, bump dependencies and use hashicorp LRU to remove golang.org/x/text, github.com/bahlo/generic-list-go dependencies 2024-04-13 00:26:21 +02:00
DataHoarder 8adaa81245
Explicitly use errgroup for SplitWork 2024-04-11 05:25:24 +02:00
DataHoarder faa9f504b6
Remove log usages from stratum server 2024-04-06 04:51:45 +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 71c27726be
Introduce index.SortSideBlock and Difficulty Float64()
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-03 18:50:47 +02:00
DataHoarder 4bebd10182
Partially implement #11 Cumulative Share Effort on calculator, added mean shares per day
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-28 05:11:11 +01: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 86b7a92334
Added basic global logger 2024-02-26 04:09:27 +01:00
DataHoarder bb285131fc
Remove last usages of ReverseSlice 2024-02-25 19:43:39 +01:00
DataHoarder 6ba8959a8a
Fix removal of maps.Keys in go1.21rc4
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-02 20:54:42 +02:00
DataHoarder ae74c56a08
Encode types.Difficulty as uint64 if Difficulty.Hi is zero
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-30 20:45:02 +02:00
DataHoarder 07d09286e9
Faster hex SIMD Encode/Decode 2023-07-24 13:26:18 +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 d992ce6e18
Speedup / less memory allocations on web hex / shorten / henc calls, fast path difficulty UnmarshalJSON 2023-07-21 17:43:24 +02:00
DataHoarder 5bffb7f43d
Reword and split GetDifficulty on SideChain utils 2023-07-21 00:48:28 +02:00
DataHoarder 152cbc54c2
Implement utils.NthElementSlice to use QuickSelect, improves GetDifficulty 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 03ff13fc0c
added merkle tree MainBranch precalculation method, mempool utilities and handling, UVarInt64SliceSize, Share utilities 2023-06-05 23:44:24 +02:00
DataHoarder 330d3fe3aa
fix: CircularBuffer PushUnique with zero len 2023-06-05 23:38:58 +02:00
DataHoarder 5ab76f5503
Calculate precise buffer lengths using varint sizes 2023-06-03 23:33:13 +02:00
DataHoarder 0cd75a0509
added limitbytereader to utils, less buffer usage on block decoding 2023-06-03 10:05:05 +02:00
DataHoarder c1ad4c5c37
Use github.com/goccy/go-json instead of github.com/json-iterator/go for even more optimized encoding, update base58 encoder/decoder
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 17:28:03 +02:00
DataHoarder d577856081
Faster JSON encoder/decoder
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 14:43:22 +02:00
DataHoarder 3b268558d8
Split and cleanup merkle tree for transactions
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 15:38:20 +02:00
DataHoarder 2ad5e1ba38
Sync speed improvements by better crypto cache
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 09:38:09 +02:00
DataHoarder 099c393235
Added utils ContextTicker 2023-05-23 07:30:25 +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 22077acdfa
Reduce allocations on utils.SplitWork, add BufferLength methods for pool block serialization 2023-05-17 17:29:01 +02:00
DataHoarder 3e97fdc46f
Sort found blocks/side blocks circular buffer on initial fill 2023-04-28 22:50:50 +02:00
DataHoarder 976d32da46
Added /api/events 2023-04-24 19:48:57 +02:00
DataHoarder e14de1d5d9
Add DHCPv6 addresses into address picking 2023-04-24 17:15:03 +02:00
DataHoarder 22f06c48da
Improve long-term IPv6 address picking 2023-04-24 17:11:28 +02:00
DataHoarder 2f3eea65a2
Obtain specific outgoing IPv6 address for peering lists 2023-04-23 19:34:52 +02:00
DataHoarder d52e35473d
Allow MainId share redirect on API, extracted shorten 2023-04-21 09:35:40 +02:00
DataHoarder fa52d8c44a
Added /api/consensus_check/ for p2pool consensus server 2023-04-19 19:18:35 +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 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 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 4adf67825d
Produce pruned / compact block broadcasts 2022-12-04 01:46:22 +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 23bf5a9f0f
Concurrency helper, blobcache work for compression 2022-11-06 21:11:03 +01:00
DataHoarder a7b5ea4281
Raise limits of blocks and shares, make position chart helper, weekly miners, daily payouts charts 2022-10-12 14:15:47 +02:00
DataHoarder 8aa0354955
Web service and templates 2022-10-10 17:43:02 +02:00
DataHoarder 2cdc16a9f8
Number, API fixes 2022-10-08 22:14:21 +02:00
DataHoarder 76d70a5f1a
Initial commit 2022-10-08 20:55:01 +02:00