-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INDY-1870: Update storages.md #999
Conversation
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
docs/storage.md
Outdated
States and Caches can be deterministically re-created from the Transaction Log. | ||
|
||
- States and Caches can be deterministically re-created from the Transaction Log. | ||
- There 9 storages associated with the Ledgers (3 for each of the ledgers): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are...
docs/storage.md
Outdated
- It's possible to get the current value (state) for a key, as well as | ||
a value from the past (defined by a state root hash). | ||
- The state is built from a ledger, hence each ledger will usually have a corresponding state. State can be reconstructed from the Ledger. | ||
- There 3 storages associated with every Ledger: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are...
docs/storage.md
Outdated
then use this database to get the sequence number and then use the sequence number of get the transaction from the ledger. | ||
This database is currently maintained only for domain ledger. | ||
#### 5. Request to Transaction Mapping Database | ||
- This database stores the mapping `request_digest -> leger_id<delimiter>seq_no` in a key value store. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ledger_id
docs/storage.md
Outdated
- ChunkedFileStore: `storage/chunked_file_store.py` | ||
- DirectoryStore: `storage/directory_store.py` | ||
- `storage/kv_store.py` | ||
- `storage` module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
storage
package?
No description provided.