eth/fetcher: build longest chain until proven otherwise

This commit is contained in:
Péter Szilágyi
2015-06-17 16:53:28 +03:00
parent 2a7411bc96
commit 37c5ff392f
3 changed files with 95 additions and 31 deletions

View File

@ -8,11 +8,11 @@ import (
"sync"
"time"
"github.com/ethereum/go-ethereum/eth/fetcher"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth/downloader"
"github.com/ethereum/go-ethereum/eth/fetcher"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"