Documentation ¶
Index ¶
Constants ¶
View Source
const Version = blocks.Version
Variables ¶
View Source
var Codec = blocks.GenesisCodec
Functions ¶
func SetDepositOfferID ¶
Generate deposit offer id from its bytes hash and set it to offer's ID field
Types ¶
type AddressState ¶
type AddressState struct { Address ids.ShortID `serialize:"true"` State as.AddressState `serialize:"true"` }
type Block ¶
type Camino ¶
type Camino struct { VerifyNodeSignature bool `serialize:"true"` LockModeBondDeposit bool `serialize:"true"` InitialAdmin ids.ShortID `serialize:"true"` AddressStates []AddressState `serialize:"true"` DepositOffers []*deposit.Offer `serialize:"true"` Blocks []*Block `serialize:"true"` // arranged in a block order ConsortiumMembersNodeIDs []ConsortiumMemberNodeID `serialize:"true"` MultisigAliases []*multisig.Alias `serialize:"true"` }
Camino genesis args
type ConsortiumMemberNodeID ¶
type Genesis ¶
type Genesis struct { UTXOs []*UTXO `serialize:"true"` Validators []*txs.Tx `serialize:"true"` Chains []*txs.Tx `serialize:"true"` Camino Camino `serialize:"true"` Timestamp uint64 `serialize:"true"` InitialSupply uint64 `serialize:"true"` Message string `serialize:"true"` }
Genesis represents a genesis state of the platform chain
Click to show internal directories.
Click to hide internal directories.