abci

package
v0.0.0-...-8edd000 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(m auctiontypes.MsgBid) (string, error)

func ValidateBids

func ValidateBids(txConfig client.TxConfig, veBids []auctiontypes.MsgBid, proposalTxs [][]byte, logger log.Logger) (bool, error)

Types

type AppVoteExtension

type AppVoteExtension struct {
	Height int64
	Bids   [][]byte
}

type InjectedVoteExt

type InjectedVoteExt struct {
	VoteExtSigner []byte
	Bids          [][]byte
}

type InjectedVotes

type InjectedVotes struct {
	Votes []InjectedVoteExt
}

type PrepareProposalHandler

type PrepareProposalHandler struct {
	// contains filtered or unexported fields
}

func NewPrepareProposalHandler

func NewPrepareProposalHandler(
	lg log.Logger,
	txCg client.TxConfig,
	cdc codec.Codec,
	mp *mempool.ThresholdMempool,
	pv provider.TxProvider,
	runProv bool,
) *PrepareProposalHandler

func (*PrepareProposalHandler) PrepareProposalHandler

func (h *PrepareProposalHandler) PrepareProposalHandler() sdk.PrepareProposalHandler

type ProcessProposalHandler

type ProcessProposalHandler struct {
	TxConfig client.TxConfig
	Codec    codec.Codec
	Logger   log.Logger
}

func (*ProcessProposalHandler) ProcessProposalHandler

func (h *ProcessProposalHandler) ProcessProposalHandler() sdk.ProcessProposalHandler

type SpecialTransaction

type SpecialTransaction struct {
	Height int
	Bids   [][]byte
}

type VoteExtHandler

type VoteExtHandler struct {
	// contains filtered or unexported fields
}

func NewVoteExtensionHandler

func NewVoteExtensionHandler(lg log.Logger, mp *mempool.ThresholdMempool, cdc codec.Codec) *VoteExtHandler

func (*VoteExtHandler) ExtendVoteHandler

func (h *VoteExtHandler) ExtendVoteHandler() sdk.ExtendVoteHandler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL