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 CreateMsgDetectionTest(ctx context.Context, consumer Account, provider0 Account, provider1 Account, ...) (detectionMsg *conflicttypes.MsgDetection, reply1 *types.RelayReply, ...)
- 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 CreateMsgDetectionTest ¶
func CreateMsgDetectionTest(ctx context.Context, consumer Account, provider0 Account, provider1 Account, spec spectypes.Spec) (detectionMsg *conflicttypes.MsgDetection, reply1 *types.RelayReply, reply2 *types.RelayReply, errRet 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.