package
0.9.0-rc.3
Repository: https://github.com/babylonchain/babylon.git
Documentation: pkg.go.dev

# Functions

DefaultGenesis returns the default genesis state.
DefaultParams returns a default set of parameters.
No description provided by the author
NewMockBTCStakingKeeper creates a new mock instance.
NewMockIncentiveKeeper creates a new mock instance.
No description provided by the author
NewQueriedBlockStatus takes a human-readable queried block status format and returns our custom enum.
No description provided by the author
ParamKeyTable the param key table for launch module.
RecordLastHeight records the last finalized height.
RecordLastHeight records the last height.
No description provided by the author
No description provided by the author
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
VerifyFinalitySig verifies the finality signature message w.r.t.

# Constants

MemStoreKey defines the in-memory store key.
performance oriented metrics measuring the execution time of each message.
performance oriented metrics measuring the execution time of each message.
MetricsKeyLastFinalizedHeight is the key of the gauge recording the last height finalized by finality providers.
MetricsKeyLastHeight is the key of the gauge recording the last height of the ledger.
ModuleName defines the module name.
ANY means the block can be in any status.
FINALIZED means the block is finalized.
NON_FINALIZED means the block is not finalised.
RouterKey defines the module's message routing key.
StoreKey defines the primary module store key.

# Variables

No description provided by the author
key prefix for blocks.
x/finality module sentinel errors.
x/finality module sentinel errors.
x/finality module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/finality module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/finality module sentinel errors.
x/finality module sentinel errors.
x/finality module sentinel errors.
x/finality module sentinel errors.
x/finality module sentinel errors.
x/finality module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/finality module sentinel errors.
key prefix for evidences.
No description provided by the author
key prefix for next height to finalise.
key prefix for the parameters.
key prefix for commitment of public randomness.
key prefix for public randomness.
No description provided by the author
No description provided by the author
key prefix for votes.

# Structs

EventSlashedFinalityProvider is the event emitted when a finality provider is slashed due to signing two conflicting blocks.
Evidence is the evidence that a finality provider has signed finality signatures with correct public randomness on two conflicting Babylon headers.
GenesisState defines the finality module's genesis state.
IndexedBlock is the necessary metadata and finalization status of a block.
MockBTCStakingKeeper is a mock of BTCStakingKeeper interface.
MockBTCStakingKeeperMockRecorder is the mock recorder for MockBTCStakingKeeper.
MockIncentiveKeeper is a mock of IncentiveKeeper interface.
MockIncentiveKeeperMockRecorder is the mock recorder for MockIncentiveKeeper.
MsgAddFinalitySig defines a message for adding a finality vote.
MsgAddFinalitySigResponse is the response to the MsgAddFinalitySig message.
MsgCommitPubRandList defines a message for committing a list of public randomness for EOTS.
MsgCommitPubRandListResponse is the response to the MsgCommitPubRandList message.
MsgUpdateParams defines a message for updating finality module parameters.
MsgUpdateParamsResponse is the response to the MsgUpdateParams message.
Params defines the parameters for the module.
PublicRandomness the block height and public randomness that the finality provider has submitted.
PubRandCommit is a commitment to a series of public randomness currently, the commitment is a root of a Merkle tree that includes a series of public randomness.
PubRandCommitResponse is the response type for a public randomness commitment.
PubRandCommitWithPK is the public randomness commitment with the finality provider's BTC public key.
QueryBlockRequest is the request type for the Query/Block RPC method.
QueryBlockResponse is the response type for the Query/Block RPC method.
QueryEvidenceRequest is the request type for the Query/Evidence RPC method.
QueryEvidenceResponse is the response type for the Query/Evidence RPC method.
QueryListBlocksRequest is the request type for the Query/ListBlocks RPC method.
QueryListBlocksResponse is the response type for the Query/ListBlocks RPC method.
QueryListEvidencesRequest is the request type for the Query/ListEvidences RPC method.
QueryListEvidencesResponse is the response type for the Query/ListEvidences RPC method.
QueryListPublicRandomnessRequest is the request type for the Query/ListPublicRandomness RPC method.
QueryListPublicRandomnessResponse is the response type for the Query/ListPublicRandomness RPC method.
QueryListPubRandCommitRequest is the request type for the Query/ListPubRandCommit RPC method.
QueryListPubRandCommitResponse is the response type for the Query/ListPubRandCommit RPC method.
QueryParamsRequest is request type for the Query/Params RPC method.
QueryParamsResponse is response type for the Query/Params RPC method.
QueryVotesAtHeightRequest is the request type for the Query/VotesAtHeight RPC method.
QueryVotesAtHeightResponse is the response type for the Query/VotesAtHeight RPC method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
VoteSig the vote of an finality provider with the block of the vote, the finality provider btc public key and the vote signature.

# Interfaces

No description provided by the author
IncentiveKeeper defines the expected interface needed to distribute rewards.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.

# Type aliases

QueriedBlockStatus is the status of blocks that the querier wants to query.