Documentation ¶
Index ¶
Constants ¶
View Source
const (
SchemaVersion = "https://spacemesh.io/checkpoint.schema.json.1.0"
)
Variables ¶
View Source
var Schema string
Functions ¶
func SelfCheckpointFilename ¶
func ValidateSchema ¶
Types ¶
type Checkpoint ¶
type RecoveryFile ¶
type RecoveryFile struct {
// contains filtered or unexported fields
}
func NewRecoveryFile ¶
func NewRecoveryFile(fs afero.Fs, path string) (*RecoveryFile, error)
type ShortAtx ¶
type ShortAtx struct { ID []byte `json:"id"` Epoch uint32 `json:"epoch"` CommitmentAtx []byte `json:"commitmentAtx"` VrfNonce uint64 `json:"vrfNonce"` NumUnits uint32 `json:"numUnits"` BaseTickHeight uint64 `json:"baseTickHeight"` TickCount uint64 `json:"tickCount"` PublicKey []byte `json:"publicKey"` Sequence uint64 `json:"sequence"` Coinbase []byte `json:"coinbase"` }
func (ShortAtx) MarshalLogObject ¶
func (vatx ShortAtx) MarshalLogObject(encoder log.ObjectEncoder) error
Click to show internal directories.
Click to hide internal directories.