Documentation ¶
Index ¶
- func BuildRelayRequest(ctx context.Context, provider string, contentHash []byte, cuSum uint64, ...) *types.RelaySession
- func BuySubscription(t *testing.T, ctx context.Context, keepers testkeeper.Keepers, ...)
- func CreateMockPlan() plantypes.Plan
- func CreateMockSpec() spectypes.Spec
- func CreateMsgDetection(ctx context.Context, consumer Account, provider0 Account, provider1 Account, ...) (conflicttypes.MsgDetection, error)
- func StakeAccount(t *testing.T, ctx context.Context, keepers testkeeper.Keepers, ...)
- type Account
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRelayRequest ¶
func BuildRelayRequest(ctx context.Context, provider string, contentHash []byte, cuSum uint64, spec string, qos *types.QualityOfServiceReport) *types.RelaySession
func BuySubscription ¶
func BuySubscription(t *testing.T, ctx context.Context, keepers testkeeper.Keepers, servers testkeeper.Servers, acc Account, plan string)
func CreateMockPlan ¶
func CreateMockSpec ¶
func CreateMsgDetection ¶ added in v0.4.3
func CreateMsgDetection(ctx context.Context, consumer Account, provider0 Account, provider1 Account, spec spectypes.Spec) (conflicttypes.MsgDetection, error)
func StakeAccount ¶
Types ¶
type Account ¶ added in v0.4.3
type Account struct { SK *btcSecp256k1.PrivateKey Addr sdk.AccAddress }
func CreateNewAccount ¶
Click to show internal directories.
Click to hide internal directories.