mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 07:53:47 +00:00
Move things in lightclient
This commit is contained in:
parent
1b9c2ad419
commit
71bb7157d0
1 changed files with 13 additions and 11 deletions
|
|
@ -57,7 +57,6 @@ type LightChain struct {
|
||||||
chainFeed event.Feed
|
chainFeed event.Feed
|
||||||
chainSideFeed event.Feed
|
chainSideFeed event.Feed
|
||||||
chainHeadFeed event.Feed
|
chainHeadFeed event.Feed
|
||||||
chain2HeadFeed event.Feed
|
|
||||||
scope event.SubscriptionScope
|
scope event.SubscriptionScope
|
||||||
genesisBlock *types.Block
|
genesisBlock *types.Block
|
||||||
|
|
||||||
|
|
@ -73,6 +72,9 @@ type LightChain struct {
|
||||||
running int32 // whether LightChain is running or stopped
|
running int32 // whether LightChain is running or stopped
|
||||||
procInterrupt int32 // interrupts chain insert
|
procInterrupt int32 // interrupts chain insert
|
||||||
disableCheckFreq int32 // disables header verification
|
disableCheckFreq int32 // disables header verification
|
||||||
|
|
||||||
|
// Bor
|
||||||
|
chain2HeadFeed event.Feed
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewLightChain returns a fully initialised light chain using information
|
// NewLightChain returns a fully initialised light chain using information
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue