diff options
author | zelig <viktor.tron@gmail.com> | 2015-04-08 10:34:20 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-04-09 20:58:35 +0800 |
commit | f546b486bf444d9601cf97b934b2974a9b4d58f8 (patch) | |
tree | 17d53a2c6719d7c147854197fb25d3d2a01b5525 /blockpool/status.go | |
parent | 42fb9652f56321d2752ffe7773806df11f3087b8 (diff) | |
download | go-tangerine-f546b486bf444d9601cf97b934b2974a9b4d58f8.tar go-tangerine-f546b486bf444d9601cf97b934b2974a9b4d58f8.tar.gz go-tangerine-f546b486bf444d9601cf97b934b2974a9b4d58f8.tar.bz2 go-tangerine-f546b486bf444d9601cf97b934b2974a9b4d58f8.tar.lz go-tangerine-f546b486bf444d9601cf97b934b2974a9b4d58f8.tar.xz go-tangerine-f546b486bf444d9601cf97b934b2974a9b4d58f8.tar.zst go-tangerine-f546b486bf444d9601cf97b934b2974a9b4d58f8.zip |
introduce peers registry on nodes
- TestPeerPromotionByTdOnBlock renamed and skipped for now test should pass iff
if TD is updated based on an agreement
- senders register in AddBlock, flag records if they are coming from newblock
message (and therefore advertise their TD with the block) or block message
(TODO: latter are stored on the cache and updated by checkTD call;
protocol should also call AddBlock on newblock messages by non-best peers)
- remove TD update from optional TD field in addBlock: this is no longer part of
the eth protocol spec -> TODO: reflect in wiki
- only initialise peer map if at least two
Diffstat (limited to 'blockpool/status.go')
0 files changed, 0 insertions, 0 deletions