Select Git revision
lifecycle.go
lifecycle.go 683 B
////////////////////////////////////////////////////////////////////////////////
// Copyright © 2018 Privategrity Corporation /
// /
// All rights reserved. /
////////////////////////////////////////////////////////////////////////////////
package blockchain
import "errors"
type BlockLifecycle uint32
const (
Raw BlockLifecycle = iota
Baked
)
var ErrRaw = errors.New("block is not raw, data or function cannot be accessed")
var ErrBaked = errors.New("block is not baked, data or function cannot be accessed")