keygen

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSession

func NewSession(ctx core.Context, id, startBlock uint64) core.ISession

Types

type Session

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

Session represents key generation session that should be run only once as a first session

func (*Session) End

func (s *Session) End() uint64

func (*Session) ID

func (s *Session) ID() uint64

func (*Session) NewBlock

func (s *Session) NewBlock(height uint64)

func (*Session) NextSession

func (s *Session) NextSession() core.ISession

func (*Session) Receive

func (s *Session) Receive(ctx context.Context, request *types.MsgSubmitRequest) error

Jump to

Keyboard shortcuts

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