Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface { PollTx(ctx context.Context, txID ids.ID, s pstatus.Status) (time.Duration, error) PollSubnet(ctx context.Context, subnetID ids.ID) (time.Duration, error) PollBlockchain(ctx context.Context, opts ...OpOption) (time.Duration, error) }
func NewChecker ¶
func NewChecker(poller poll.Poller, cli platformvm.Client) Checker
type OpOption ¶
type OpOption func(*Op)
func WithBlockchainID ¶
func WithBlockchainStatus ¶
func WithBlockchainStatus(s pstatus.BlockchainStatus) OpOption
func WithCheckBlockchainBootstrapped ¶
TODO: avalanchego "GetBlockchainStatusReply" should have "Bootstrapped". e.g., "service.vm.Chains.IsBootstrapped" in "GetBlockchainStatus".
func WithSubnetID ¶
Click to show internal directories.
Click to hide internal directories.