neoneo-go/pkg/neorpc/result/subscriptions/notary_request_event.go
Roman Khimov 1e0750e3cd rpc: merge response and request under pkg/neorpc
Move result there also.
2022-07-25 11:57:53 +03:00

13 lines
408 B
Go

package subscriptions
import (
"github.com/nspcc-dev/neo-go/pkg/core/mempoolevent"
"github.com/nspcc-dev/neo-go/pkg/network/payload"
)
// NotaryRequestEvent represents a P2PNotaryRequest event either added or removed
// from the notary payload pool.
type NotaryRequestEvent struct {
Type mempoolevent.Type `json:"type"`
NotaryRequest *payload.P2PNotaryRequest `json:"notaryrequest"`
}