proposal

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewProposals       = view.NewProposalsView
	NewVotes           = view.NewVotesView
	NewVotesTotal      = view.NewVotesTotalView
	NewDepositors      = view.NewDepositorsView
	NewDepositorsTotal = view.NewDepositorsTotalView

	UpdateLastHandledEventHeight = (*Proposal).UpdateLastHandledEventHeight

	ParamBaseHandleEvents     = (*rdbparambase.Base).HandleEvents
	ValidatorBaseHandleEvents = (*rdbvalidatorbase.Base).HandleEvents
	ParamBaseGetView          = (*rdbparambase.Base).GetView
	ValidatorBaseGetView      = (*rdbvalidatorbase.Base).GetView
)

Functions

This section is empty.

Types

type Proposal

type Proposal struct {
	*rdbprojectionbase.Base
	// contains filtered or unexported fields
}

func NewProposal

func NewProposal(logger applogger.Logger, rdbConn rdb.Conn, conNodeAddressPrefix string) *Proposal

func (*Proposal) GetEventsToListen

func (proposal *Proposal) GetEventsToListen() []string

func (*Proposal) HandleEvents

func (projection *Proposal) HandleEvents(height int64, events []event_entity.Event) error

func (*Proposal) OnInit

func (_ *Proposal) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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