Julian Yap
|
2cf02cdcd2
|
Sync with upstream and remove unused variables
|
2019-12-24 01:15:09 -10:00 |
|
Julian Yap
|
43f49607e0
|
Remove unused variables
|
2019-12-24 00:10:46 -10:00 |
|
Luke Williams
|
f11f237f32
|
consensus/ubqhash: remove calcDifficultyLegacy
|
2019-12-21 22:03:35 +01:00 |
|
Luke Williams
|
213a9fe947
|
consensus/ubqhash: Check we have enough blocks (supprt custom ubqhash net with flux activating before block 88)
|
2019-12-21 20:19:27 +01:00 |
|
Luke Williams
|
fbc1784ff7
|
consensus/ubqhash: refactor CalcBaseBlockReward; Move block reward stepdown block & reward definitions to params.ChainConfig.Ubqhash.MonetaryPolicy (definable via custom genesis)
|
2019-12-21 16:48:56 +01:00 |
|
Luke Williams
|
a46055e8ce
|
consensus/ubqhash: merge [min/max]ActualTimespan() and [min/max]ActualTimespanFlux()
|
2019-12-21 14:24:34 +01:00 |
|
Luke Williams
|
a85aa53456
|
Merge branch 'release/3.0' of github.com:ubiq/go-ubiq into release/3.0
|
2019-12-21 12:27:12 +01:00 |
|
Luke Williams
|
8b2745314d
|
consensus/ubqhash: merge calcDifficultyOrig and calcDifficulty2 into calcDifficultyDigishieldV3
|
2019-12-21 12:06:59 +01:00 |
|
Julian Yap
|
461310e401
|
Fix golint reported issue
|
2019-12-20 22:47:51 -10:00 |
|
Luke Williams
|
b17e25f2db
|
consensus/ubqhash: Redeclare diff algo constants as diffConfig structs
|
2019-12-21 00:32:59 +01:00 |
|
Luke Williams
|
88b56df9eb
|
consensus/ubqhash: move diff algo changeover blocks to ChainConfig.Ubqhash
|
2019-12-20 22:21:36 +01:00 |
|
Luke Williams
|
8b1cff54b9
|
consensus/ubqhash: add CalcBaseBlockReward & CalcUncleBlockReward (with tests), refactor accumulateRewards
|
2019-12-18 21:49:51 +01:00 |
|
Luke Williams
|
5ac0cff06f
|
fix uncle rewards
|
2019-09-12 23:05:53 +02:00 |
|
Luke Williams
|
fd3a68bd34
|
ubqhash/consensus: refactor CalcDifficulty and accumilateRewards
|
2019-05-20 11:21:36 +02:00 |
|
Luke Williams
|
cdb4f3ef5b
|
ubqhash/consensus: refactor for uint64 timestamps
|
2019-05-16 17:43:15 +02:00 |
|
Luke Williams
|
70756bcbe6
|
ubqhash/consensus: ubqhash.FakeFull -> ModeFullFake
|
2019-05-15 10:59:39 +02:00 |
|
Luke Williams
|
58ef933d31
|
ubqhash/consensus: switch out defunct set library for golang-set (set -> mapset)
|
2019-05-14 21:18:49 +02:00 |
|
Luke Williams
|
b75f3a1b07
|
ubqhash/consensus: import log; pass chain, not chain.Config to CalcDifficulty from Prepare()
|
2019-02-23 01:13:05 +01:00 |
|
Luke Williams
|
b24cb69231
|
refactor diff algos & block rewards
|
2019-02-23 01:06:21 +01:00 |
|
Luke Williams
|
bd4b1ebf96
|
update default chain configs
|
2019-02-22 04:58:16 +01:00 |
|