Jerome
d773e15ca8
Xin 137 ( #62 )
...
* add GapNumber
* fix broken countdown test
* add gapNumber to existing tests
2022-02-28 18:51:42 +11:00
Jerome
97985fda85
move verify QC into verify header, fix broken tests etc ( #61 )
2022-02-27 10:25:26 +11:00
wgr523
9b47146120
add calcMasternodes, HookPenalty for v2, tests ( #52 )
2022-02-13 22:15:23 +08:00
Liam
5a3acd173d
Xin-124 Deal with Block Time mine time ( #55 )
...
* add wait v2 period in miner
* add perido initial
* add mine and wait time
* update todo
* merge all xdc test config into 1
2022-02-13 11:40:47 +11:00
Jerome
328d555b9b
Xin 138 ( #49 )
...
* check block header after vote pool reached
* refactor test_helper to fix issues with tests randomly failing
2022-01-30 13:00:24 +11:00
Liam
e72d4866df
Xin 118 refactor yourturn in v1 and miner ( #41 )
...
* refactor wait log into adaptor
* refactor v1 yourturn
2022-01-20 02:28:15 +11:00
Jerome
38c3582841
Add v2 yourturn ( #38 )
...
* Add v2 yourturn
* add isEpochSwitchByRound into YourTurn
Co-authored-by: Gerui Wang <wgr523@gmail.com>
2022-01-16 19:18:01 +11:00
Jerome
f8d3f9f8c6
Xin 113 is epoch switch ( #37 )
...
* add isEpochSwitch function and refactor utils
* fix broken first v2 epoch switch block
* use adaptor epoch switch function to determine v1 v2 epoch swtich block
* add test for the GetMasternodesByNumber and GetCurrentEpochSwitchBlock function
* add v2 test for isAuthroisedAddress
* Use GetCurrentEpochSwitchBlock in findNearestSignedBlock api
2022-01-14 21:38:38 +11:00
Jerome
ebbbf26127
add isAuthorisedAddress function for v2 consensus ( #34 )
...
* add isAuthorisedAddress function for v2 consensus
* update isAuthorisedAddress log messages
2022-01-03 17:06:04 +11:00