"errors"
"reflect"
"time"
+ "net/http"
wire "github.com/tendermint/go-wire"
"github.com/bytom/p2p"
cmn "github.com/tendermint/tmlibs/common"
"github.com/bytom/blockchain/txdb"
"github.com/bytom/blockchain/account"
+ //"github.com/bytom/net/http/gzip"
+ //"github.com/bytom/net/http/httpjson"
+ //"github.com/bytom/net/http/limit"
+ //"github.com/bytom/net/http/static"
)
const (
store *txdb.Store
accounts *account.Manager
pool *BlockPool
+ mux *http.ServeMux
fastSync bool
requestsCh chan BlockRequest
timeoutsCh chan string