-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional abstain vote count fields added (#303)
Extra fields added to display number of abstain votes by dreps, SPOs and committee members. - [x] SQL Updates - [x] Spec Updates - [x] Drop stake_address.view and drep_hash.view indexes and replace with hex correspondants --------- Co-authored-by: hodlonaut <[email protected]> Co-authored-by: rdlrt <[email protected]>
- Loading branch information
1 parent
7c6a243
commit e2c5f16
Showing
10 changed files
with
74 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
CREATE INDEX IF NOT EXISTS pool_stat_pool_hash_id ON pool_stat(pool_hash_id); | ||
CREATE INDEX IF NOT EXISTS pool_stat_epoch_no ON pool_stat(epoch_no); | ||
-- CREATE INDEX IF NOT EXISTS idx_drep_hash_view ON drep_hash (view); | ||
CREATE INDEX IF NOT EXISTS idx_drep_hash_raw ON drep_hash (raw); | ||
CREATE INDEX IF NOT EXISTS idx_reward_rest_addr_id ON reward_rest (addr_id); | ||
CREATE INDEX IF NOT EXISTS idx_reward_rest_spendable_epoch ON reward_rest (spendable_epoch); |
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,3 @@ | ||
DROP INDEX IF EXISTS idx_stake_address_view; | ||
CREATE INDEX IF NOT EXISTS idx_stake_address_hash_raw ON stake_address (hash_raw); | ||
CREATE INDEX IF NOT EXISTS idx_drep_hash_raw ON drep_hash (raw); |
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
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