Documentation ¶
Index ¶
Constants ¶
View Source
const PeerType = "execution"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, log logrus.FieldLogger, nodeRecord string, handlers *handler.Peer, captureDelay time.Duration, sharedCache *coordCache.SharedCache) (*Peer, error)
func (*Peer) ExportTransactions ¶
func (p *Peer) ExportTransactions(ctx context.Context, items []*TransactionHashItem) error
type TransactionExporter ¶
type TransactionExporter struct {
// contains filtered or unexported fields
}
func NewTransactionExporter ¶
func NewTransactionExporter(log logrus.FieldLogger, handler func(ctx context.Context, items []*TransactionHashItem) error) (TransactionExporter, error)
func (TransactionExporter) ExportItems ¶
func (t TransactionExporter) ExportItems(ctx context.Context, items []*TransactionHashItem) error
Click to show internal directories.
Click to hide internal directories.