Documentation ¶
Index ¶
- type Context
- func (c Context) Approvers() []string
- func (c Context) AvailableNodes() []string
- func (c Context) RequestId() string
- func (c Context) StateBatchRoot() [32]byte
- func (c Context) UnApprovers() []string
- func (c Context) WithApprovers(nodes []string) Context
- func (c Context) WithAvailableNodes(nodes []string) Context
- func (c Context) WithRequestId(requestId string) Context
- func (c Context) WithStateBatchRoot(stateBatchRoot [32]byte) Context
- func (c Context) WithUnApprovers(nodes []string) Context
- type Method
- type NodeSignRequest
- type SignMsgRequest
- type SignMsgResponse
- type SignService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context ---------------------------------------------
func NewContext ¶
func NewContext() Context
func (Context) AvailableNodes ¶
func (Context) StateBatchRoot ¶
func (Context) UnApprovers ¶
func (Context) WithApprovers ¶
func (Context) WithAvailableNodes ¶
func (Context) WithRequestId ¶
func (Context) WithStateBatchRoot ¶
func (Context) WithUnApprovers ¶
type NodeSignRequest ¶
type SignMsgRequest ¶
type SignMsgResponse ¶
type SignService ¶
type SignService interface {
SignMsgBatch(request SignMsgRequest) ([]byte, error)
}
Click to show internal directories.
Click to hide internal directories.