14 lines
380 B
Go
14 lines
380 B
Go
package result
|
|
|
|
import (
|
|
"git.marketally.com/tutus-one/tutus-chain/pkg/core/mempoolevent"
|
|
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
|
)
|
|
|
|
// MempoolEvent represents a transaction event either added to
|
|
// or removed from the mempool.
|
|
type MempoolEvent struct {
|
|
Type mempoolevent.Type `json:"type"`
|
|
Tx *transaction.Transaction `json:"transaction"`
|
|
}
|