Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainProcessor ¶
type BlockchainProcessor struct {
// contains filtered or unexported fields
}
func NewBlockchainProcessor ¶
func NewBlockchainProcessor(cfg *config.Config) *BlockchainProcessor
NewBlockchainProcessor initializes BlockchainProcessor with HTTP and WebSocket clients
func (*BlockchainProcessor) CloseClients ¶
func (p *BlockchainProcessor) CloseClients()
CloseClients closes both HTTP and WebSocket clients gracefully
func (*BlockchainProcessor) GetBlockByNumber ¶
func (*BlockchainProcessor) ListenNewBlocks ¶
func (p *BlockchainProcessor) ListenNewBlocks(startBlockNumber int) <-chan *types.Block
Click to show internal directories.
Click to hide internal directories.