Documentation ¶
Index ¶
- Variables
- type BlockSignersData
- type CometClient
- func (c *CometClient) GetBlockSigners(block int64) (*BlockSignersData, error)
- func (c *CometClient) GetBlockSignersRange(fromBlock int64, toBlock int64) ([]BlockSignersData, error)
- func (c *CometClient) GetLastBlockTxs() ([]CometTx, error)
- func (c *CometClient) GetLatestBlockSigners() (*BlockSignersData, error)
- func (c *CometClient) GetTxsForBlock(block int64) ([]CometTx, error)
- func (c *CometClient) GetTxsForBlockNotFiltered(block int64) ([]CometTx, error)
- func (c *CometClient) GetTxsForBlockRange(fromBlock int64, toBlock int64) ([]CometTx, error)
- func (c *CometClient) GetTxsForBlockRangeNotFiltered(fromBlock int64, toBlock int64) ([]CometTx, error)
- func (c *CometClient) GetValidatorForAddressAtBlock(address string, block int64) (*ValidatorData, error)
- func (c *CometClient) GetValidators() ([]CometValidators, error)
- func (c *CometClient) GetValidatorsForBlock(block int64) ([]CometValidators, error)
- type CometTx
- type CometValidators
- type ValidatorData
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EXCLUDE_COMMAND_TYPES = []string{
"Submit Order",
"Cancel Order",
"Amend Order",
"Withdraw",
"Proposal",
"Vote on Proposal",
"Node Signature",
"Liquidity Provision Order",
"Cancel LiquidityProvision Order",
"Amend LiquidityProvision Order",
"Submit Oracle Data",
"Delegate",
"Undelegate",
"Key Rotate Submission",
"Transfer Funds",
"Cancel Transfer Funds",
"Ethereum Key Rotate Submission",
"Protocol Upgrade",
}
)
Functions ¶
This section is empty.
Types ¶
type BlockSignersData ¶
type CometClient ¶
type CometClient struct {
// contains filtered or unexported fields
}
func NewCometClient ¶
func NewCometClient(config *config.CometBFTConfig) *CometClient
func (*CometClient) GetBlockSigners ¶
func (c *CometClient) GetBlockSigners(block int64) (*BlockSignersData, error)
func (*CometClient) GetBlockSignersRange ¶
func (c *CometClient) GetBlockSignersRange(fromBlock int64, toBlock int64) ([]BlockSignersData, error)
func (*CometClient) GetLastBlockTxs ¶
func (c *CometClient) GetLastBlockTxs() ([]CometTx, error)
func (*CometClient) GetLatestBlockSigners ¶
func (c *CometClient) GetLatestBlockSigners() (*BlockSignersData, error)
func (*CometClient) GetTxsForBlock ¶
func (c *CometClient) GetTxsForBlock(block int64) ([]CometTx, error)
func (*CometClient) GetTxsForBlockNotFiltered ¶
func (c *CometClient) GetTxsForBlockNotFiltered(block int64) ([]CometTx, error)
func (*CometClient) GetTxsForBlockRange ¶
func (c *CometClient) GetTxsForBlockRange(fromBlock int64, toBlock int64) ([]CometTx, error)
func (*CometClient) GetTxsForBlockRangeNotFiltered ¶
func (c *CometClient) GetTxsForBlockRangeNotFiltered(fromBlock int64, toBlock int64) ([]CometTx, error)
func (*CometClient) GetValidatorForAddressAtBlock ¶
func (c *CometClient) GetValidatorForAddressAtBlock(address string, block int64) (*ValidatorData, error)
func (*CometClient) GetValidators ¶
func (c *CometClient) GetValidators() ([]CometValidators, error)
func (*CometClient) GetValidatorsForBlock ¶
func (c *CometClient) GetValidatorsForBlock(block int64) ([]CometValidators, error)
type CometTx ¶
type CometTx struct { Code int Info *string Submitter string Command string Attributes map[string]string Height int64 HeightIdx int }
func RemoveExcludedTxTypes ¶
type CometValidators ¶
type CometValidators struct { Address string TmPubKey vega_entities.TendermintPublicKey VotingPower int64 ProposerPriority int64 Height int64 }
type ValidatorData ¶
type ValidatorData struct { Address string TmPubKey vega_entities.TendermintPublicKey }
Click to show internal directories.
Click to hide internal directories.