-
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.
## Description Chang+1 HF changes and various other FR/fixes. - [x] Account for stake de-registration in account_info for vote delegation (closes #305) - [x] Additional info in tx_cbor endpoint (closes #304) - [x] fix account_rewads (closes #308) - [x] Changes in endpoints due to new address table available since DBSync v13.6? (currently some issue that needs to be resolved, IntersectMBO/cardano-db-sync#1890) - [x] Update all endpoints that reference tx_out table to use new address table. - [x] Update all endpoints that reference collateral_tx_out table to use new address table. - [x] Add index on `address.address` - [x] #307 - [x] pool_info to show pool voting power as it might differ from active stake (ie proposal deposit still counting towards voting power) - [x] Pool info showing vote delegation based on reward address vote delegation if any. -> needs testing - [x] Updated vote logic due to changes added for pool voting. -> in testing mode on sancho via Martin Lang --------- Co-authored-by: Greg Beresnev <greg.beresnev@yarris.com> Co-authored-by: KoT_B_KocMoce <49576827+hodlonaut@users.noreply.github.com> Co-authored-by: rdlrt <3169068+rdlrt@users.noreply.github.com> Co-authored-by: hodlonaut <hodlonaut@github.com>
- Loading branch information
1 parent
f748792
commit 06d6816
Showing
37 changed files
with
595 additions
and
202 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ BEGIN | |
RETURN b32_encode('stake', _raw::text); | ||
END IF; | ||
END; | ||
$$; | ||
$$; |
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 |
---|---|---|
@@ -1,4 +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 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_reward_rest_addr_id ON reward_rest (addr_id); | ||
CREATE INDEX IF NOT EXISTS idx_reward_rest_spendable_epoch ON reward_rest (spendable_epoch); | ||
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 |
---|---|---|
@@ -1,3 +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); | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CREATE INDEX IF NOT EXISTS idx_address_address ON address USING hash (address); | ||
CREATE INDEX IF NOT EXISTS idx_tx_out_stake_address_id ON tx_out(stake_address_id) ; | ||
CREATE INDEX IF NOT EXISTS idx_tx_out_address_id ON tx_out(address_id) ; | ||
CREATE INDEX IF NOT EXISTS idx_address_stake_address_id ON address(stake_address_id) ; |
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
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
Oops, something went wrong.