mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
Regular → Executable
+7
-3
@@ -1,11 +1,12 @@
|
||||
/*
|
||||
Package params defines the simulation parameters in the gaia.
|
||||
Package params defines the simulation parameters and encoding configuration
|
||||
for the Sonr blockchain application.
|
||||
|
||||
It contains the default weights used for each transaction used on the module's
|
||||
simulation. These weights define the chance for a transaction to be simulated at
|
||||
any gived operation.
|
||||
any given operation.
|
||||
|
||||
You can repace the default values for the weights by providing a params.json
|
||||
You can replace the default values for the weights by providing a params.json
|
||||
file with the weights defined for each of the transaction operations:
|
||||
|
||||
{
|
||||
@@ -15,5 +16,8 @@ file with the weights defined for each of the transaction operations:
|
||||
|
||||
In the example above, the `MsgSend` has 60% chance to be simulated, while the
|
||||
`MsgDelegate` will always be simulated.
|
||||
|
||||
The package also provides encoding configuration types used throughout the
|
||||
application for consistent codec usage.
|
||||
*/
|
||||
package params
|
||||
|
||||
Reference in New Issue
Block a user