Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MRDataConn ¶
type MRDataConn struct {
// contains filtered or unexported fields
}
type NotificationServer ¶
type NotificationServer struct {
// contains filtered or unexported fields
}
func (*NotificationServer) GetNewBlockNotificationChannel ¶
func (ns *NotificationServer) GetNewBlockNotificationChannel() chan []byte
func (*NotificationServer) Start ¶
func (ns *NotificationServer) Start(chain *chain.Chain) (err error)
func (*NotificationServer) Stop ¶
func (ns *NotificationServer) Stop()
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
func (*Peer) Disconnect ¶
func (p *Peer) Disconnect(reason p2p.DiscReason)
func (*Peer) IsNotificationEnabled ¶
func (*Peer) NotifyNewBlock ¶
func (*Peer) ReadMsg ¶
func (p *Peer) ReadMsg() (msg *notification.NotificationMessage, err error)
func (*Peer) Send ¶
func (p *Peer) Send(msg *notification.NotificationMessage) error
Click to show internal directories.
Click to hide internal directories.