Documentation ¶
Index ¶
- type ClusterClient
- func (cluster *ClusterClient) GetMonitors() ([]gethcmn.Address, error)
- func (cluster *ClusterClient) GetRedeemingUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
- func (cluster *ClusterClient) GetRedeemingUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
- func (cluster *ClusterClient) GetRpcPubkey() ([]byte, error)
- func (cluster *ClusterClient) GetSbchdNodes() ([]NodeInfo, error)
- func (cluster *ClusterClient) GetSbchdNodesSorted() ([]NodeInfo, error)
- func (cluster *ClusterClient) GetToBeConvertedUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
- func (cluster *ClusterClient) GetToBeConvertedUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
- func (cluster *ClusterClient) RpcURL() string
- type NodeInfo
- type RpcClient
- type SimpleRpcClient
- func (client *SimpleRpcClient) GetLostAndFoundUtxos() ([]*sbchrpctypes.UtxoInfo, error)
- func (client *SimpleRpcClient) GetMonitors() ([]gethcmn.Address, error)
- func (client *SimpleRpcClient) GetRedeemableUtxos() ([]*sbchrpctypes.UtxoInfo, error)
- func (client *SimpleRpcClient) GetRedeemingUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
- func (client *SimpleRpcClient) GetRedeemingUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
- func (client *SimpleRpcClient) GetRpcPubkey() ([]byte, error)
- func (client *SimpleRpcClient) GetSbchdNodes() ([]NodeInfo, error)
- func (client *SimpleRpcClient) GetToBeConvertedUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
- func (client *SimpleRpcClient) GetToBeConvertedUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
- func (client *SimpleRpcClient) RpcURL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterClient ¶
type ClusterClient struct { PublicNodes []NodeInfo // contains filtered or unexported fields }
func NewClusterRpcClient ¶
func (*ClusterClient) GetMonitors ¶
func (cluster *ClusterClient) GetMonitors() ([]gethcmn.Address, error)
func (*ClusterClient) GetRedeemingUtxosForMonitors ¶
func (cluster *ClusterClient) GetRedeemingUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
func (*ClusterClient) GetRedeemingUtxosForOperators ¶
func (cluster *ClusterClient) GetRedeemingUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
func (*ClusterClient) GetRpcPubkey ¶
func (cluster *ClusterClient) GetRpcPubkey() ([]byte, error)
func (*ClusterClient) GetSbchdNodes ¶
func (cluster *ClusterClient) GetSbchdNodes() ([]NodeInfo, error)
func (*ClusterClient) GetSbchdNodesSorted ¶
func (cluster *ClusterClient) GetSbchdNodesSorted() ([]NodeInfo, error)
func (*ClusterClient) GetToBeConvertedUtxosForMonitors ¶
func (cluster *ClusterClient) GetToBeConvertedUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
func (*ClusterClient) GetToBeConvertedUtxosForOperators ¶
func (cluster *ClusterClient) GetToBeConvertedUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
func (*ClusterClient) RpcURL ¶
func (cluster *ClusterClient) RpcURL() string
type RpcClient ¶
type RpcClient interface { RpcURL() string GetSbchdNodes() ([]NodeInfo, error) GetRedeemingUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error) GetRedeemingUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error) GetToBeConvertedUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error) GetToBeConvertedUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error) GetMonitors() ([]gethcmn.Address, error) GetRpcPubkey() ([]byte, error) }
type SimpleRpcClient ¶
type SimpleRpcClient struct {
// contains filtered or unexported fields
}
func NewSimpleRpcClient ¶
func NewSimpleRpcClient(nodesGovAddr, rpcUrl string, reqTimeout time.Duration) (*SimpleRpcClient, error)
func (*SimpleRpcClient) GetLostAndFoundUtxos ¶
func (client *SimpleRpcClient) GetLostAndFoundUtxos() ([]*sbchrpctypes.UtxoInfo, error)
func (*SimpleRpcClient) GetMonitors ¶
func (client *SimpleRpcClient) GetMonitors() ([]gethcmn.Address, error)
func (*SimpleRpcClient) GetRedeemableUtxos ¶
func (client *SimpleRpcClient) GetRedeemableUtxos() ([]*sbchrpctypes.UtxoInfo, error)
func (*SimpleRpcClient) GetRedeemingUtxosForMonitors ¶
func (client *SimpleRpcClient) GetRedeemingUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
func (*SimpleRpcClient) GetRedeemingUtxosForOperators ¶
func (client *SimpleRpcClient) GetRedeemingUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
func (*SimpleRpcClient) GetRpcPubkey ¶
func (client *SimpleRpcClient) GetRpcPubkey() ([]byte, error)
func (*SimpleRpcClient) GetSbchdNodes ¶
func (client *SimpleRpcClient) GetSbchdNodes() ([]NodeInfo, error)
func (*SimpleRpcClient) GetToBeConvertedUtxosForMonitors ¶
func (client *SimpleRpcClient) GetToBeConvertedUtxosForMonitors() ([]*sbchrpctypes.UtxoInfo, error)
func (*SimpleRpcClient) GetToBeConvertedUtxosForOperators ¶
func (client *SimpleRpcClient) GetToBeConvertedUtxosForOperators() ([]*sbchrpctypes.UtxoInfo, error)
func (*SimpleRpcClient) RpcURL ¶
func (client *SimpleRpcClient) RpcURL() string
Click to show internal directories.
Click to hide internal directories.