Go implementation of the Ethereum protocol
Find a file
Liam a1b77f3ca8 Implement BFT Message receiver (#13)
* fix or skip tests due to PR-136 changes

* add bft receiver functions

* add bft receiver functions

* rename tc to TimeoutCert

* implement more functions

* New struct in consensus/XDPoS/utils/types.go, util functions, and test. (#14)

* define vote, timeout, sync info, qc, tc, extra fields in types.go, add test in types_test.go

* add json tag in types.go, refine encoder decoder of extra fields

* refactor types.go utils.go

* re-write types, comments

* add Hash SigHash for types, and tests

* define Round type

* remove unnecessary logs

* add temp functions

* add v2 engine functions placeholder

* typo fix on the consensus v2 function placeholders

* add countdown timer

* make initilised private to countdown

* push verify function

* add test on receiving vote

* revert type change

* add async on broadcast function

* add quit initial

* fix test

Co-authored-by: Jianrong <wjrjerome@gmail.com>
Co-authored-by: wgr523 <wgr523@gmail.com>
2021-12-30 11:00:20 +11:00
.github FIx Bad block error. 2021-09-17 17:59:06 +05:30
accounts Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
bmt new EVM Upgrade 2021-09-21 16:53:46 +05:30
build Add back verbose option when running CI tests 2021-10-10 16:02:19 +11:00
cmd Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
common rename some config variables 2021-12-30 11:00:20 +11:00
compression/rle new EVM Upgrade 2021-09-21 16:53:46 +05:30
consensus Implement BFT Message receiver (#13) 2021-12-30 11:00:20 +11:00
console new EVM Upgrade 2021-09-21 16:53:46 +05:30
containers/docker containers: drop vagrant support, noone's maintaining it 2018-03-14 13:23:40 +02:00
contracts update Voter Delay Withdraw. 2021-11-08 14:58:04 +05:30
core add warn for reorg 2021-12-21 16:06:16 +08:00
crypto new EVM Upgrade 2021-09-21 16:53:46 +05:30
docker new EVM Upgrade 2021-09-21 16:53:46 +05:30
eth Implement BFT Message receiver (#13) 2021-12-30 11:00:20 +11:00
ethclient new EVM Upgrade 2021-09-21 16:53:46 +05:30
ethdb new EVM Upgrade 2021-09-21 16:53:46 +05:30
ethstats new EVM Upgrade 2021-09-21 16:53:46 +05:30
event new EVM Upgrade 2021-09-21 16:53:46 +05:30
genesis new EVM Upgrade 2021-09-21 16:53:46 +05:30
internal Fix Invalid address in XDC Console. 2021-12-05 11:47:31 +05:30
les Merge branch 'forking-incident-fix' of https://github.com/hash-laboratories-au/XDPoSChain into hash-laboratories-au-forking-incident-fix 2021-09-23 17:01:19 +05:30
light new EVM Upgrade 2021-09-21 16:53:46 +05:30
log new EVM Upgrade 2021-09-21 16:53:46 +05:30
metrics new EVM Upgrade 2021-09-21 16:53:46 +05:30
miner refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
mobile new EVM Upgrade 2021-09-21 16:53:46 +05:30
node Update defaults.go 2021-12-05 11:50:15 +05:30
p2p fix or skip tests due to PR-136 change 2021-10-20 20:17:47 +11:00
params rename some config variables 2021-12-30 11:00:20 +11:00
rlp FIx Bad block error. 2021-09-17 17:59:06 +05:30
rpc new EVM Upgrade 2021-09-21 16:53:46 +05:30
swarm new EVM Upgrade 2021-09-21 16:53:46 +05:30
tests refine race condition solution 2021-12-21 10:19:17 +08:00
trie new EVM Upgrade 2021-09-21 16:53:46 +05:30
whisper fix or skip tests due to PR-136 change 2021-10-20 20:17:47 +11:00
XDCx fix api trace block & Change option pending block. 2021-11-11 18:49:57 +05:30
XDCxDAO new EVM Upgrade 2021-09-21 16:53:46 +05:30
XDCxlending refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
.dockerignore dockerignore, internal/build: forward correct git folder 2017-11-12 22:52:41 +02:00
.gitattributes FIx Bad block error. 2021-09-17 17:59:06 +05:30
.gitignore refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
.travis.yml fix or skip tests due to PR-136 change 2021-10-20 20:17:47 +11:00
COPYING all: update license information 2015-07-07 14:12:44 +02:00
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
coverage.txt add v2 specific config struct 2021-12-30 11:00:20 +11:00
Dockerfile new EVM Upgrade 2021-09-21 16:53:46 +05:30
Dockerfile.bootnode new EVM Upgrade 2021-09-21 16:53:46 +05:30
Dockerfile.node new EVM Upgrade 2021-09-21 16:53:46 +05:30
go.mod Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
go.sum Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
interfaces.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
Makefile new EVM Upgrade 2021-09-21 16:53:46 +05:30
README.md new EVM Upgrade 2021-09-21 16:53:46 +05:30

XDPoSChain