forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reference-docs: Start
state
and mention well known keys (paritytech…
…#7037) Closes: paritytech#7033
- Loading branch information
Showing
5 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//! # State | ||
//! | ||
//! The state is abstracted as a key-value like database. Every item that | ||
//! needs to be persisted by the [State Transition | ||
//! Function](crate::reference_docs::blockchain_state_machines) is written to the state. | ||
//! | ||
//! ## Special keys | ||
//! | ||
//! The key-value pairs in the state are represented as byte sequences. The node | ||
//! doesn't know how to interpret most the key-value pairs. However, there exist some | ||
//! special keys and its values that are known to the node, the so-called | ||
//! [`well-known-keys`](sp_storage::well_known_keys). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters