diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-04-02 22:04:28 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | 2cc07197e4932c3201608026ebed43c4a4e79858 (patch) | |
tree | df05d8ca15536e7470c2e5037a653a5455849104 /event | |
parent | 7538cbfe0646688503abbe32c3b45700ed27ae4f (diff) | |
download | go-tangerine-2cc07197e4932c3201608026ebed43c4a4e79858.tar go-tangerine-2cc07197e4932c3201608026ebed43c4a4e79858.tar.gz go-tangerine-2cc07197e4932c3201608026ebed43c4a4e79858.tar.bz2 go-tangerine-2cc07197e4932c3201608026ebed43c4a4e79858.tar.lz go-tangerine-2cc07197e4932c3201608026ebed43c4a4e79858.tar.xz go-tangerine-2cc07197e4932c3201608026ebed43c4a4e79858.tar.zst go-tangerine-2cc07197e4932c3201608026ebed43c4a4e79858.zip |
dex: try to reduce the chance to pull non-finalized blocks (#327)
* Send non-finalized blocks to notary set only
* Update randomness field for blocks in cache upon receiving agreement
result
* Filter AgreementResult by its position
* Avoid overwriting finalized blocks with non-finalized ones
* Add blocks to finalized cache when pulling
* Update to finalized cache when we have corresponding element in
non-finalized one.
Diffstat (limited to 'event')
0 files changed, 0 insertions, 0 deletions