Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Synchronizer ¶
type Synchronizer struct { Blockchain *blockchain.Blockchain StarknetData starknetdata.StarknetData StartingBlockNumber *uint64 HighestBlockHeader *core.Header // contains filtered or unexported fields }
Synchronizer manages a list of StarknetData to fetch the latest blockchain updates
func New ¶ added in v0.2.1
func New(bc *blockchain.Blockchain, starkNetData starknetdata.StarknetData, log utils.SimpleLogger, pendingPollInterval time.Duration, ) *Synchronizer
Click to show internal directories.
Click to hide internal directories.