2018-03-17 11:53:21 +00:00
|
|
|
package transaction
|
|
|
|
|
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
)
|
|
|
|
|
|
|
|
// IssueTX represents a issue transaction.
|
|
|
|
// This TX has not special attributes.
|
|
|
|
type IssueTX struct{}
|
|
|
|
|
|
|
|
// DecodeBinary implements the Payload interface.
|
|
|
|
func (tx *IssueTX) DecodeBinary(r io.Reader) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// EncodeBinary implements the Payload interface.
|
|
|
|
func (tx *IssueTX) EncodeBinary(w io.Writer) error {
|
|
|
|
return nil
|
|
|
|
}
|
2019-08-30 08:28:30 +00:00
|
|
|
|
2019-09-03 14:51:37 +00:00
|
|
|
// Size returns serialized binary size for this transaction.
|
2019-08-30 08:28:30 +00:00
|
|
|
func (tx *IssueTX) Size() int {
|
|
|
|
return 0
|
|
|
|
}
|