Commit graph

35 commits

Author SHA1 Message Date
DataHoarder a79fa9f9f2
Unmarshal Difficulty bigint from JSON 2024-04-09 17:49:22 +02:00
DataHoarder 0d7e99f4ce
Remove uint128 from Difficulty Target() 2024-04-07 04:36:21 +02:00
DataHoarder 446929e7be
Fix types.Difficulty Float64() off by one error 2024-04-07 04:36:04 +02:00
DataHoarder 44d969a218
Remove github.com/holiman/uint256 dependency on types.DifficultyFromPoW
Implement and compare native P2Pool check_pow

use uint128.Max on Difficulty PoW
2024-04-07 04:36:00 +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 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 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 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 a06895d896
Speedup template generation, remove mapslice-json usage
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-22 22:48:42 +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 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 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 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 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 c103c46561
Optimize web /miners, optimize Hash / Bytes / Difficulty JSON encoding
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 15:30: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 c32f87e9b4
Optimize JSON decoding of Hash / Address / PublicKeyBytes / PrivateKeyBytes
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-24 15:59:07 +02:00
DataHoarder edbb610533
Added new testdata system using p2pool vectors 2023-05-10 03:46:33 +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 be8e77404c
Update dependencies 2023-03-25 10:49:08 +01:00
DataHoarder dd8a3b4211
Update dependencies 2023-03-20 11:49:08 +01:00
DataHoarder 90d82e5f80
Added sidechain tip state from value to API 2023-03-18 11:33:51 +01:00
DataHoarder 968b07ae0b
Support p2pool hardfork in March 2023-03-07 18:57:06 +01:00
DataHoarder 4986272243
Allow 0x difficulty decoding, change errors for key/hash/difficulty size 2023-01-15 09:07:51 +01:00
DataHoarder 165ce38d6e
Use ZeroDifficulty instead of empty struct 2022-12-12 17:38:50 +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 c0921997bc
Proper hash ordering, from consensus 2022-11-07 08:37:39 +01:00
DataHoarder 37c1a295cf
Client synchronization to tip working 2022-11-06 11:58:19 +01:00
DataHoarder 03a026c026
Initial sidechain verification 2022-11-03 15:24:54 +01:00
DataHoarder ab0e335b9a
Refactor Difficulty, cache derivations and client actions, faster miner transaction matching 2022-10-28 11:47:14 +02:00
DataHoarder 135fbd8973
Make nonce on block uint32 instead of bytes 2022-10-27 10:09:39 +02:00
DataHoarder 76d70a5f1a
Initial commit 2022-10-08 20:55:01 +02:00