diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-04-02 22:04:28 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:06 +0800 |
commit | 1cfa7789718c83be13c88c37b75509fdf1e68c21 (patch) | |
tree | 873e3553f2a5581e55d17e960240d7af9532fa23 /console | |
parent | 922f281147ef68c86b9e09d990b2105a6fec7391 (diff) | |
download | dexon-1cfa7789718c83be13c88c37b75509fdf1e68c21.tar dexon-1cfa7789718c83be13c88c37b75509fdf1e68c21.tar.gz dexon-1cfa7789718c83be13c88c37b75509fdf1e68c21.tar.bz2 dexon-1cfa7789718c83be13c88c37b75509fdf1e68c21.tar.lz dexon-1cfa7789718c83be13c88c37b75509fdf1e68c21.tar.xz dexon-1cfa7789718c83be13c88c37b75509fdf1e68c21.tar.zst dexon-1cfa7789718c83be13c88c37b75509fdf1e68c21.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 'console')
0 files changed, 0 insertions, 0 deletions