Liam
7b657f0c4e
API: getMasternode and getPoolStatus ( #258 )
...
* API: getMasternode and getPoolStatus
* fix test
2023-05-01 23:01:39 +10:00
Liam
6ffbd3e141
Xin 259 support multi v2 config ( #210 )
...
* update timeout period and waittime
* remove wrong comment
* update config for preparing test
2022-12-06 20:08:56 +08:00
Jerome
c710bd98a5
Xin-200 Vote Equivocation ( #111 ) ( #172 )
...
* Xin-200 Vote Equivocation (#111 )
* add vote same round detection
add test for vote same round detect
finish process equivocate (not finish report)
* finish vote equivocation report, refactor code (vote -> forensics)
* finish process equivocate and report, and test
* add return err
Co-authored-by: wgr523 <wgr523@gmail.com>
2022-08-13 11:50:56 +05:30
Jerome
cb67e8e26a
Xin 163 ( #76 )
...
* clean up the pool old round
* add unit test to cover the vote key format
* add gapNumber to the vote pool key
* fix race condition in pool
* remove verify gap number in vote handler
2022-04-01 14:59:16 +11:00
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
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
35eebabae0
xin-106 add generated message into its pool ( #32 )
...
* add debug log and change to contain or add for cache
* add generated message into its pool
2021-12-30 11:45:22 +11:00
Jianrong
163ed0fab3
add ProcessQC tests
2021-12-30 11:12:18 +11:00
Jianrong
a39612e540
vote and timeout handlers
2021-12-30 11:00:20 +11:00
wgr523
d47d9a2a99
Consensus V2 variable, timeout pool ( #19 )
...
* fill in XDPoS_v2 variables and processQC/TC
* add timeout pool, refine engine variables
* refactor type functions
* solve a small pointer bug
* create general pool and its test, refine engine
* refine pool, add xdpos v2 config cert threshold
* refine config
2021-12-30 11:00:20 +11:00