func (t TransactionType) Bytes() (b []byte) {
	b = make([]byte, 4)
	binary.BigEndian.PutUint32(b, uint32(t))
	return
}
Bytes encodes a TransactionType to a byte slice.
package interfaces
import (
	"encoding/binary"
	"time"
	"github.com/SQLess/SQLess/crypto/asymmetric"
	"github.com/SQLess/SQLess/crypto/hash"
	"github.com/SQLess/SQLess/proto"
)
type AccountNonce uint32
type TransactionType uint32