github.com/Finschia/finschia-sdk@v0.49.1/x/auth/spec/01_concepts.md (about) 1 <!-- 2 order: 1 3 --> 4 5 # Concepts 6 7 **Note:** The auth module is different from the [authz module](../modules/authz/). 8 9 The differences are: 10 11 * `auth` - authentication of accounts and transactions for Cosmos SDK applications and is responsible for specifying the base transaction and account types. 12 * `authz` - authorization for accounts to perform actions on behalf of other accounts and enables a granter to grant authorizations to a grantee that allows the grantee to execute messages on behalf of the granter. 13 14 ## Gas & Fees 15 16 Fees serve two purposes for an operator of the network. 17 18 Fees limit the growth of the state stored by every full node and allow for 19 general purpose censorship of transactions of little economic value. Fees 20 are best suited as an anti-spam mechanism where validators are disinterested in 21 the use of the network and identities of users. 22 23 Fees are determined by the gas limits and gas prices transactions provide, where 24 `fees = ceil(gasLimit * gasPrices)`. Txs incur gas costs for all state reads/writes, 25 signature verification, as well as costs proportional to the tx size. Operators 26 should set minimum gas prices when starting their nodes. They must set the unit 27 costs of gas in each token denomination they wish to support: 28 29 `simd start ... --minimum-gas-prices=0.00001stake;0.05photinos` 30 31 When adding transactions to mempool or gossipping transactions, validators check 32 if the transaction's gas prices, which are determined by the provided fees, meet 33 any of the validator's minimum gas prices. In other words, a transaction must 34 provide a fee of at least one denomination that matches a validator's minimum 35 gas price. 36 37 Tendermint does not currently provide fee based mempool prioritization, and fee 38 based mempool filtering is local to node and not part of consensus. But with 39 minimum gas prices set, such a mechanism could be implemented by node operators. 40 41 Because the market value for tokens will fluctuate, validators are expected to 42 dynamically adjust their minimum gas prices to a level that would encourage the 43 use of the network.