Documentation ¶
Index ¶
- Constants
- func GenerateRandomNode(r *rand.Rand) types.Node
- func GenerateRandomSession(r *rand.Rand, id hub.SubscriptionID) types.Session
- func GenerateRandomSubscription(r *rand.Rand, node types.Node) types.Subscription
- func SimulateEndBlock(keeper vpn.Keeper) simulation.Operation
- func SimulateMsgDeregisterNode(keeper vpn.Keeper) simulation.Operation
- func SimulateMsgEndSubscription(keeper vpn.Keeper) simulation.Operation
- func SimulateMsgRegisterNode(keeper vpn.Keeper) simulation.Operation
- func SimulateMsgStartSubscription(keeper vpn.Keeper) simulation.Operation
- func SimulateMsgUpdateNodeInfo(keeper vpn.Keeper) simulation.Operation
- func SimulateMsgUpdateSessionInfo(keeper vpn.Keeper) simulation.Operation
Constants ¶
View Source
const ( FreeNodesCount = "free_node_count" Deposit = "deposit" SessionInactiveInterval = "session_inactive_interval" )
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomSession ¶ added in v0.2.0
func GenerateRandomSubscription ¶ added in v0.2.0
func SimulateEndBlock ¶ added in v0.2.0
func SimulateEndBlock(keeper vpn.Keeper) simulation.Operation
func SimulateMsgDeregisterNode ¶ added in v0.2.0
func SimulateMsgDeregisterNode(keeper vpn.Keeper) simulation.Operation
func SimulateMsgEndSubscription ¶
func SimulateMsgEndSubscription(keeper vpn.Keeper) simulation.Operation
func SimulateMsgRegisterNode ¶
func SimulateMsgRegisterNode(keeper vpn.Keeper) simulation.Operation
func SimulateMsgStartSubscription ¶
func SimulateMsgStartSubscription(keeper vpn.Keeper) simulation.Operation
func SimulateMsgUpdateNodeInfo ¶
func SimulateMsgUpdateNodeInfo(keeper vpn.Keeper) simulation.Operation
func SimulateMsgUpdateSessionInfo ¶
func SimulateMsgUpdateSessionInfo(keeper vpn.Keeper) simulation.Operation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.