42a4e4b432
The speed is the same as old implementation, but the new one uses slightly less memory and make the code easier to maintain. name old time/op new time/op delta SanitizeBalances500-8 933µs ± 1% 935µs ± 1% ~ (p=0.400 n=9+10) SanitizeBalances1000-8 1.91ms ± 0% 1.92ms ± 0% +0.58% (p=0.000 n=10+10) name old alloc/op new alloc/op delta SanitizeBalances500-8 588kB ± 0% 556kB ± 0% -5.41% (p=0.000 n=9+9) SanitizeBalances1000-8 1.18MB ± 0% 1.12MB ± 0% -5.37% (p=0.000 n=9+9) name old allocs/op new allocs/op delta SanitizeBalances500-8 5.02k ± 0% 4.02k ± 0% -19.94% (p=0.000 n=10+10) SanitizeBalances1000-8 10.0k ± 0% 8.0k ± 0% -19.93% (p=0.000 n=9+10) Fixes #9259 |
||
---|---|---|
.. | ||
auth | ||
authz | ||
bank | ||
capability | ||
crisis | ||
distribution | ||
evidence | ||
feegrant | ||
genaccounts | ||
genutil | ||
gov | ||
mint | ||
params | ||
simulation | ||
slashing | ||
staking | ||
upgrade | ||
README.md |
README.md
List of Modules
Here are some production-grade modules that can be used in Cosmos SDK applications, along with their respective documentation:
- Auth - Authentication of accounts and transactions for Cosmos SDK application.
- Authz - Authorization for accounts to perform actions on behalf of other accounts.
- Bank - Token transfer functionalities.
- Capability - Object capability implementation.
- Crisis - Halting the blockchain under certain circumstances (e.g. if an invariant is broken).
- Distribution - Fee distribution, and staking token provision distribution.
- Evidence - Evidence handling for double signing, misbehaviour, etc.
- Governance - On-chain proposals and voting.
- Mint - Creation of new units of staking token.
- Params - Globally available parameter store.
- Slashing - Validator punishment mechanisms.
- Staking - Proof-of-Stake layer for public blockchains.
- Upgrade - Software upgrades handling and coordination.
To learn more about the process of building modules, visit the building modules reference documentation.
IBC
The IBC module for the SDK has moved to its own repository.