diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-07-02 19:13:46 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-08-21 15:30:57 +0800 |
commit | c51e153b5c5327f971e7b410e49e7babfc3f0b8e (patch) | |
tree | 3a2f25a668a887fcb1026ae323480ac5fda3548a /eth/downloader | |
parent | d51d0022cee91d6588186455afbe6e54fae2cbf7 (diff) | |
download | go-tangerine-c51e153b5c5327f971e7b410e49e7babfc3f0b8e.tar.gz go-tangerine-c51e153b5c5327f971e7b410e49e7babfc3f0b8e.tar.zst go-tangerine-c51e153b5c5327f971e7b410e49e7babfc3f0b8e.zip |
eth, metrics, p2p: prepare metrics and net packets to eth/62
Diffstat (limited to 'eth/downloader')
-rw-r--r-- | eth/downloader/downloader.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index e3e22a784..23d2e045e 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -39,6 +39,7 @@ import ( const ( eth60 = 60 // Constant to check for old protocol support eth61 = 61 // Constant to check for new protocol support + eth62 = 62 // Constant to check for experimental protocol support ) var ( @@ -329,7 +330,7 @@ func (d *Downloader) syncWithPeer(p *peer, hash common.Hash, td *big.Int) (err e if err = d.fetchBlocks60(); err != nil { return err } - case eth61: + case eth61, eth62: // New eth/61, use forward, concurrent hash and block retrieval algorithm number, err := d.findAncestor(p) if err != nil { |