mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 13:38:35 +00:00
683424cce8
Will be needed for the block test from `dev`.
11 lines
210 B
Go
11 lines
210 B
Go
package transaction
|
|
|
|
import "io"
|
|
|
|
// TXer is interface that can act as the underlying data of
|
|
// a transaction.
|
|
type TXer interface {
|
|
DecodeBinary(io.Reader) error
|
|
EncodeBinary(io.Writer) error
|
|
Size() int
|
|
}
|