mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
resolving conflicts
This commit is contained in:
parent
9bfc31a213
commit
84a9c8ba82
2 changed files with 14 additions and 0 deletions
|
|
@ -47,8 +47,12 @@ var (
|
|||
var ProtocolLengths = map[uint]uint64{lpv2: 22, lpv3: 24}
|
||||
=======
|
||||
// ProtocolLengths - Number of implemented message corresponding to different protocol versions.
|
||||
<<<<<<< HEAD
|
||||
var ProtocolLengths = map[uint]uint64{lpv2: 22}
|
||||
>>>>>>> Further LES cleanup
|
||||
=======
|
||||
var ProtocolLengths = map[uint]uint64{lpv2: 22, lpv3: 24}
|
||||
>>>>>>> resolving conflicts
|
||||
|
||||
const (
|
||||
// NetworkID - the network id
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@ import (
|
|||
const bufLimitRatio = 6000 // fixed bufLimit/MRR ratio
|
||||
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> resolving conflicts
|
||||
const (
|
||||
logFileName = "" // csv log file name (disabled if empty)
|
||||
logClientPoolMetrics = true // log client pool metrics
|
||||
|
|
@ -49,7 +52,10 @@ const (
|
|||
logProtocolHandler = true // log protocol handler events
|
||||
)
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
=======
|
||||
>>>>>>> resolving conflicts
|
||||
// LesServer is a node service running a LES server
|
||||
>>>>>>> Correcting documentation format
|
||||
type LesServer struct {
|
||||
|
|
@ -304,6 +310,10 @@ func (s *LesServer) SetBloomBitsIndexer(bloomIndexer *core.ChainIndexer) {
|
|||
func (s *LesServer) Stop() error {
|
||||
s.fcManager.Stop()
|
||||
s.chtIndexer.Close()
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
>>>>>>> resolving conflicts
|
||||
// bloom trie indexer is closed by parent bloombits indexer
|
||||
go func() {
|
||||
<-s.protocolManager.noMorePeers
|
||||
|
|
|
|||
Loading…
Reference in a new issue