Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶ added in v0.0.3
Types ¶
type Register ¶
type Reserve ¶ added in v0.1.0
type Type ¶ added in v0.0.3
type Type uint8
Type of transaction.
A uint8 for rlp serializing, but marshalled as string in JSON.
Transaction types, append only.
func (Type) MarshalText ¶ added in v0.0.3
MarshalText implements encoding.TextMarshaler.
func (*Type) UnmarshalJSON ¶ added in v0.0.3
UnmarshalJSON implements json.Unmarshaler.
func (*Type) UnmarshalText ¶ added in v0.0.3
UnmarshalText implements encoding.TextUnmarshaler
type TypedTx ¶ added in v0.0.3
type TypedTx interface {
Type() Type // return type of transaction
}
TypedTx is the interface of all kinds of transactions
func NewTypedTx ¶ added in v0.0.3
func UnmarshalJSON ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.