Documentation ¶
Index ¶
- type AdminService
- type CPKStore
- type Context
- func (c Context) Approvers() []string
- func (c Context) AvailableNodes() []string
- func (c Context) ElectionId() uint64
- func (c Context) RequestId() string
- func (c Context) StateBatchRoot() [32]byte
- func (c Context) TssInfos() *TssCommitteeInfo
- func (c Context) UnApprovers() []string
- func (c Context) WithApprovers(nodes []string) Context
- func (c Context) WithAvailableNodes(nodes []string) Context
- func (c Context) WithElectionId(election uint64) Context
- func (c Context) WithRequestId(requestId string) Context
- func (c Context) WithStateBatchRoot(stateBatchRoot [32]byte) Context
- func (c Context) WithTssInfo(tssInfos *TssCommitteeInfo) Context
- func (c Context) WithUnApprovers(nodes []string) Context
- type CpkData
- type ManagerStore
- type SignService
- type TgTssMember
- type TssCommitteeInfo
- type TssQueryService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminService ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context ---------------------------------------------
func NewContext ¶
func NewContext() Context
func (Context) AvailableNodes ¶
func (Context) ElectionId ¶
func (Context) StateBatchRoot ¶
func (Context) TssInfos ¶
func (c Context) TssInfos() *TssCommitteeInfo
func (Context) UnApprovers ¶
func (Context) WithApprovers ¶
func (Context) WithAvailableNodes ¶
func (Context) WithElectionId ¶
func (Context) WithRequestId ¶
func (Context) WithStateBatchRoot ¶
func (Context) WithTssInfo ¶
func (c Context) WithTssInfo(tssInfos *TssCommitteeInfo) Context
func (Context) WithUnApprovers ¶
type ManagerStore ¶
type ManagerStore interface { CPKStore index.StateBatchStore index.ScanHeightStore slash.SlashingStore }
type SignService ¶
type SignService interface { SignStateBatch(request tss.SignStateRequest) ([]byte, error) SignRollBack(request tss.SignStateRequest) ([]byte, error) SignTxBatch() error }
type TgTssMember ¶
type TssCommitteeInfo ¶
type TssQueryService ¶
type TssQueryService interface { QueryActiveInfo() (*TssCommitteeInfo, error) QueryInactiveInfo() (*TssCommitteeInfo, error) QueryTssGroupMembers() (*TssCommitteeInfo, error) }
Click to show internal directories.
Click to hide internal directories.