This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5314 from LiskHQ/5257-update_db_usage
Update lisk-chain to use lisk-db - Closes #5257
- Loading branch information
Showing
57 changed files
with
2,689 additions
and
2,743 deletions.
There are no files selected for viewing
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
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,22 @@ | ||
/* | ||
* Copyright © 2020 Lisk Foundation | ||
* | ||
* See the LICENSE file at the top-level directory of this distribution | ||
* for licensing information. | ||
* | ||
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, | ||
* no part of this software, including this file, may be copied, modified, | ||
* propagated, or distributed except according to the terms contained in the | ||
* LICENSE file. | ||
* | ||
* Removal or modification of this copyright notice is prohibited. | ||
*/ | ||
|
||
export const DB_KEY_BLOCKS_ID = 'blocks:id'; | ||
export const DB_KEY_BLOCKS_HEIGHT = 'blocks:height'; | ||
export const DB_KEY_TRANSACTIONS_BLOCK_ID = 'transactions:blockID'; | ||
export const DB_KEY_TRANSACTIONS_ID = 'transactions:id'; | ||
export const DB_KEY_TEMPBLOCKS_HEIGHT = 'tempBlocks:height'; | ||
export const DB_KEY_ACCOUNTS_ADDRESS = 'accounts:address'; | ||
export const DB_KEY_CHAIN_STATE = 'chain'; | ||
export const DB_KEY_CONSENSUS_STATE = 'consensus'; |
Oops, something went wrong.