Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mempool ¶
type Mempool struct { Cancel context.CancelFunc // contains filtered or unexported fields }
func NewMempool ¶
func NewMempool(cfg config.NetworkConfig, pub Publisher) (*Mempool, error)
func (Mempool) GetMempool ¶
func (m Mempool) GetMempool() (op []gotez.Operations, err error)
func (*Mempool) MonitorMempool ¶
func (m *Mempool) MonitorMempool()
type Publisher ¶
type Publisher interface {
Broadcast(msg models.MessageInterface) error
}
Click to show internal directories.
Click to hide internal directories.