Skip to content

Commit

Permalink
docs: Wraps to 80 characters (backport #29259) (#29263)
Browse files Browse the repository at this point in the history
docs: Wraps to 80 characters (#29259)

(cherry picked from commit 94b0493)

Co-authored-by: Brooks Prumo <[email protected]>
  • Loading branch information
mergify[bot] and brooksprumo authored Dec 14, 2022
1 parent dfa8876 commit f864d4b
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions docs/src/storage_rent_economics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,30 @@
title: Storage Rent Economics
---

Each transaction that is submitted to the Solana ledger imposes costs. Transaction fees paid by the submitter, and collected by a validator, in theory, account for the acute, transactional, costs of validating and adding that data to the ledger. Unaccounted in this process is the mid-term storage of active ledger state, necessarily maintained by the rotating validator set. This type of storage imposes costs not only to validators but also to the broader network as active state grows so does data transmission and validation overhead. To account for these costs, we describe here our preliminary design and implementation of storage rent.
Each transaction that is submitted to the Solana ledger imposes costs.
Transaction fees paid by the submitter, and collected by a validator, in
theory, account for the acute, transactional, costs of validating and adding
that data to the ledger. Unaccounted in this process is the mid-term storage of
active ledger state, necessarily maintained by the rotating validator set. This
type of storage imposes costs not only to validators but also to the broader
network as active state grows so does data transmission and validation
overhead. To account for these costs, we describe here our preliminary design
and implementation of storage rent.

Storage rent can be paid via one of two methods:

Method 1: Set it and forget it

With this approach, accounts with two-years worth of rent deposits secured are exempt from network rent charges. By maintaining this minimum-balance, the broader network benefits from reduced liquidity and the account holder can rest assured that their `Account::data` will be retained for continual access/usage.
With this approach, accounts with two-years worth of rent deposits secured are
exempt from network rent charges. By maintaining this minimum-balance, the
broader network benefits from reduced liquidity and the account holder can rest
assured that their `Account::data` will be retained for continual access/usage.

Method 2: Pay per byte

If an account has less than two-years worth of deposited rent the network charges rent on a per-epoch basis, in credit for the next epoch. This rent is deducted at a rate specified in genesis, in lamports per kilobyte-year.
If an account has less than two-years worth of deposited rent the network
charges rent on a per-epoch basis, in credit for the next epoch. This rent is
deducted at a rate specified in genesis, in lamports per kilobyte-year.

For information on the technical implementation details of this design, see the [Rent](implemented-proposals/rent.md) section.
For information on the technical implementation details of this design, see the
[Rent](implemented-proposals/rent.md) section.

0 comments on commit f864d4b

Please sign in to comment.