Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotaryRequestEvent ¶
type NotaryRequestEvent struct { Type mempoolevent.Type `json:"type"` NotaryRequest *payload.P2PNotaryRequest `json:"notaryrequest"` }
NotaryRequestEvent represents P2PNotaryRequest event either added or removed from notary payload pool.
type NotificationEvent ¶
type NotificationEvent struct { // Container hash is the hash of script container which is either a block or a transaction. Container util.Uint256 state.NotificationEvent }
NotificationEvent represents wrapper for notification from script execution.
func (*NotificationEvent) MarshalJSON ¶
func (ne *NotificationEvent) MarshalJSON() ([]byte, error)
MarshalJSON implements implements json.Marshaler interface.
func (*NotificationEvent) UnmarshalJSON ¶
func (ne *NotificationEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements implements json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.