Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaymentChannelSettler ¶
type PaymentChannelSettler interface {
// contains filtered or unexported methods
}
func NewPaymentChannelSettler ¶
func NewPaymentChannelSettler(ctx context.Context, api Settler) PaymentChannelSettler
type Settler ¶
type Settler interface { PaychList(context.Context) ([]address.Address, error) PaychStatus(ctx context.Context, pch address.Address) (*types.PaychStatus, error) PaychVoucherCheckSpendable(ctx context.Context, ch address.Address, sv *paych.SignedVoucher, secret []byte, proof []byte) (bool, error) PaychVoucherList(context.Context, address.Address) ([]*paych.SignedVoucher, error) PaychVoucherSubmit(ctx context.Context, ch address.Address, sv *paych.SignedVoucher, secret []byte, proof []byte) (cid.Cid, error) StateWaitMsg(ctx context.Context, cid cid.Cid, confidence uint64, limit abi.ChainEpoch, allowReplaced bool) (*chain.MsgLookup, error) }
Click to show internal directories.
Click to hide internal directories.