2021-09-24 09:23:30 +00:00
|
|
|
package subscriptions
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/core/mempoolevent"
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/network/payload"
|
|
|
|
)
|
|
|
|
|
2022-04-20 18:30:09 +00:00
|
|
|
// NotaryRequestEvent represents a P2PNotaryRequest event either added or removed
|
|
|
|
// from the notary payload pool.
|
2021-09-24 09:23:30 +00:00
|
|
|
type NotaryRequestEvent struct {
|
|
|
|
Type mempoolevent.Type `json:"type"`
|
|
|
|
NotaryRequest *payload.P2PNotaryRequest `json:"notaryrequest"`
|
|
|
|
}
|