cosmos-sdk/x/params/spec
Ryan Christoffersen cb66c99eab
chore: add markdownlint to lint commands (#9353)
* add markdownlint config

* update make lint commands

* update markdownlint config

* run make lint-fix

* fix empty link

* resuse docker container

* run lint-fix

* do not echo commands

Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
2021-05-27 15:31:04 +00:00
..
01_keeper.md x/params docs general audit & cleanup (#8295) 2021-01-15 13:30:17 +00:00
02_subspace.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
README.md x/params docs general audit & cleanup (#8295) 2021-01-15 13:30:17 +00:00

README.md

params

Abstract

Package params provides a globally available parameter store.

There are two main types, Keeper and Subspace. Subspace is an isolated namespace for a paramstore, where keys are prefixed by preconfigured spacename. Keeper has a permission to access all existing spaces.

Subspace can be used by the individual keepers, which need a private parameter store that the other keepers cannot modify. The params Keeper can be used to add a route to x/gov router in order to modify any parameter in case a proposal passes.

The following contents explains how to use params module for master and user modules.

Contents

  1. Keeper
  2. Subspace