Versions in this module Expand all Collapse all v1 v1.11.13-rc.2 Dec 4, 2024 v1.0.0 Dec 4, 2024 Changes in this version + func AwaitBootstrapped(ctx context.Context, c Client, chainID string, freq time.Duration, ...) (bool, error) + func NewService(parameters Parameters, log logging.Logger, validators validators.Manager, ...) (http.Handler, error) + type ACP struct + AbstainWeight json.Uint64 + ObjectWeight json.Uint64 + Objectors set.Set[ids.NodeID] + SupportWeight json.Uint64 + Supporters set.Set[ids.NodeID] + type ACPsReply struct + ACPs map[uint32]*ACP + type Client interface + GetBlockchainID func(context.Context, string, ...rpc.Option) (ids.ID, error) + GetNetworkID func(context.Context, ...rpc.Option) (uint32, error) + GetNetworkName func(context.Context, ...rpc.Option) (string, error) + GetNodeID func(context.Context, ...rpc.Option) (ids.NodeID, *signer.ProofOfPossession, error) + GetNodeIP func(context.Context, ...rpc.Option) (string, error) + GetNodeVersion func(context.Context, ...rpc.Option) (*GetNodeVersionReply, error) + GetTxFee func(context.Context, ...rpc.Option) (*GetTxFeeResponse, error) + GetVMs func(context.Context, ...rpc.Option) (map[ids.ID][]string, error) + IsBootstrapped func(context.Context, string, ...rpc.Option) (bool, error) + Peers func(context.Context, ...rpc.Option) ([]Peer, error) + Uptime func(context.Context, ids.ID, ...rpc.Option) (*UptimeResponse, error) + func NewClient(uri string) Client + type GetBlockchainIDArgs struct + Alias string + type GetBlockchainIDReply struct + BlockchainID ids.ID + type GetNetworkIDReply struct + NetworkID json.Uint32 + type GetNetworkNameReply struct + NetworkName string + type GetNodeIDReply struct + NodeID ids.NodeID + NodePOP *signer.ProofOfPossession + type GetNodeIPReply struct + IP string + type GetNodeVersionReply struct + DatabaseVersion string + GitCommit string + RPCProtocolVersion json.Uint32 + VMVersions map[string]string + Version string + type GetTxFeeResponse struct + AddPrimaryNetworkDelegatorFee json.Uint64 + AddPrimaryNetworkValidatorFee json.Uint64 + AddSubnetDelegatorFee json.Uint64 + AddSubnetValidatorFee json.Uint64 + CreateAssetTxFee json.Uint64 + CreateBlockchainTxFee json.Uint64 + CreateSubnetTxFee json.Uint64 + TransformSubnetTxFee json.Uint64 + TxFee json.Uint64 + type GetVMsReply struct + Fxs map[ids.ID]string + VMs map[ids.ID][]string + type Info struct + func (i *Info) Acps(_ *http.Request, _ *struct{}, reply *ACPsReply) error + func (i *Info) GetBlockchainID(_ *http.Request, args *GetBlockchainIDArgs, reply *GetBlockchainIDReply) error + func (i *Info) GetNetworkID(_ *http.Request, _ *struct{}, reply *GetNetworkIDReply) error + func (i *Info) GetNetworkName(_ *http.Request, _ *struct{}, reply *GetNetworkNameReply) error + func (i *Info) GetNodeID(_ *http.Request, _ *struct{}, reply *GetNodeIDReply) error + func (i *Info) GetNodeIP(_ *http.Request, _ *struct{}, reply *GetNodeIPReply) error + func (i *Info) GetNodeVersion(_ *http.Request, _ *struct{}, reply *GetNodeVersionReply) error + func (i *Info) GetTxFee(_ *http.Request, _ *struct{}, reply *GetTxFeeResponse) error + func (i *Info) GetVMs(_ *http.Request, _ *struct{}, reply *GetVMsReply) error + func (i *Info) IsBootstrapped(_ *http.Request, args *IsBootstrappedArgs, reply *IsBootstrappedResponse) error + func (i *Info) Peers(_ *http.Request, args *PeersArgs, reply *PeersReply) error + func (i *Info) Uptime(_ *http.Request, args *UptimeRequest, reply *UptimeResponse) error + type IsBootstrappedArgs struct + Chain string + type IsBootstrappedResponse struct + IsBootstrapped bool + type Parameters struct + AddPrimaryNetworkDelegatorFee uint64 + AddPrimaryNetworkValidatorFee uint64 + AddSubnetDelegatorFee uint64 + AddSubnetValidatorFee uint64 + CreateAssetTxFee uint64 + CreateBlockchainTxFee uint64 + CreateSubnetTxFee uint64 + NetworkID uint32 + NodeID ids.NodeID + NodePOP *signer.ProofOfPossession + TransformSubnetTxFee uint64 + TxFee uint64 + VMManager vms.Manager + Version *version.Application + type Peer struct + Benched []string + type PeersArgs struct + NodeIDs []ids.NodeID + type PeersReply struct + NumPeers json.Uint64 + Peers []Peer + type UptimeRequest struct + SubnetID ids.ID + type UptimeResponse struct + RewardingStakePercentage json.Float64 + WeightedAveragePercentage json.Float64