Documentation
¶
Index ¶
Constants ¶
View Source
const Version = tx.Version
Version is the current default codec version
Variables ¶
View Source
var Codec = tx.Codec
Functions ¶
This section is empty.
Types ¶
type Stateless ¶
type Stateless struct {
ParentID ids.ID `serialize:"true" json:"parentID"`
Timestamp int64 `serialize:"true" json:"timestamp"`
Height uint64 `serialize:"true" json:"height"`
Txs []*tx.Tx `serialize:"true" json:"txs"`
}
Stateless blocks are blocks as they are marshalled/unmarshalled and sent over the p2p network. The stateful blocks which can be executed are built from Stateless blocks.
Click to show internal directories.
Click to hide internal directories.