neo-go/pkg/core/transaction/txer.go

11 lines
239 B
Go
Raw Normal View History

package transaction
import "github.com/CityOfZion/neo-go/pkg/io"
// TXer is interface that can act as the underlying data of
// a transaction.
type TXer interface {
DecodeBinary(*io.BinReader) error
EncodeBinary(*io.BinWriter) error
}