Documentation ¶
Index ¶
- type TestPoet
- func (p *TestPoet) Address() string
- func (p *TestPoet) CertifierInfo(ctx context.Context) (*types.CertifierInfo, error)
- func (p *TestPoet) Id() []byte
- func (p *TestPoet) Info(ctx context.Context) (*types.PoetInfo, error)
- func (p *TestPoet) PowParams(ctx context.Context) (*activation.PoetPowParams, error)
- func (p *TestPoet) Proof(ctx context.Context, roundID string) (*types.PoetProofMessage, []types.Hash32, error)
- func (p *TestPoet) Submit(_ context.Context, _ time.Time, _, challenge []byte, _ types.EdSignature, ...) (*types.PoetRound, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestPoet ¶
type TestPoet struct {
// contains filtered or unexported fields
}
func NewTestPoetClient ¶
func NewTestPoetClient(expectedMembers int, poetCfg activation.PoetConfig) *TestPoet
func (*TestPoet) CertifierInfo ¶
func (*TestPoet) PowParams ¶
func (p *TestPoet) PowParams(ctx context.Context) (*activation.PoetPowParams, error)
Click to show internal directories.
Click to hide internal directories.