Documentation ¶
Index ¶
- func NewDeleteGenesis(account eos.AccountName) *eos.Action
- func NewUpdateDiscovery(account eos.AccountName, discovery *Discovery) *eos.Action
- func NewUpdateGenesis(account eos.AccountName, genesisJSON string, initialP2PAddresses []string) *eos.Action
- type ContentRef
- type DelGenesis
- type Discovery
- type DiscoveryRow
- type GenesisRow
- type PeerLink
- type UpdtDisco
- type UpdtGenesis
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteGenesis ¶
func NewDeleteGenesis(account eos.AccountName) *eos.Action
func NewUpdateDiscovery ¶
func NewUpdateDiscovery(account eos.AccountName, discovery *Discovery) *eos.Action
func NewUpdateGenesis ¶
Types ¶
type ContentRef ¶
type DelGenesis ¶
type DelGenesis struct {
Account eos.AccountName `json:"account"`
}
type Discovery ¶
type Discovery struct { SeedNetworkChainID eos.SHA256Bytes `json:"seed_network_chain_id"` SeedNetworkAccountName eos.AccountName `json:"seed_network_account_name"` SeedNetworkHTTPAddress string `json:"seed_network_http_address"` SeedNetworkPeers []*PeerLink `json:"seed_network_peers"` SeedNetworkLaunchBlock uint64 `json:"seed_network_launch_block"` URLs []string `json:"urls"` GMTOffset int16 `json:"gmt_offset"` TargetNetworkIsTest uint8 `json:"target_network_is_test"` TargetChainID eos.SHA256Bytes `json:"target_chain_id"` TargetP2PAddress string `json:"target_p2p_address"` TargetHTTPAddress string `json:"target_http_address"` TargetAccountName eos.AccountName `json:"target_account_name"` TargetAppointedBlockProducerSigningKey ecc.PublicKey `json:"target_appointed_block_producer_signing_key"` TargetInitialAuthority struct { Owner eos.Authority `json:"owner"` Active eos.Authority `json:"active"` } `json:"target_initial_authority"` TargetContents []ContentRef `json:"target_contents"` }
type DiscoveryRow ¶
type DiscoveryRow struct { ID eos.AccountName `json:"id"` Content *Discovery `json:"content"` UpdatedAt eos.JSONTime `json:"updated_at"` }
DiscoveryRow represents a row in the `eosio.disco` contract, for the `discovery` table.
type GenesisRow ¶
type GenesisRow struct { ID eos.AccountName `json:"id"` GenesisJSON string `json:"genesis_json"` InitialP2PAddresses []string `json:"initial_p2p_addresses"` }
GenesisRow represents a row in the `eosio.disco` contract, for the `genesis` table.
type PeerLink ¶
type PeerLink struct { Account eos.AccountName `json:"account"` Comment string `json:"comment"` Weight uint8 `json:"weight"` }
PeerLink is the struct specified by the user
type UpdtDisco ¶
type UpdtDisco struct { Account eos.AccountName `json:"account"` Discovery *Discovery `json:"disco"` }
type UpdtGenesis ¶
Click to show internal directories.
Click to hide internal directories.