forked from decred/dcrdata
-
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.
dcrsqlite: test retrieve BlockHash, PoolInfo, SDiff
dcrsqlite: test RetrieveSDiffRange fix test name fix setup Consolidated debit view (decred#524) This introduces a new "merged debit" view on the addresses history page that lists only unique transactions. The Debit DCR amount is the sum of all outpoints corresponding to the given address that are spent in a transaction. It also fixes a bug with the next button on the same page. main: always show dcrsqlite sync error without waiting on dcrpg testutil: fix error message formatting and ignore test data folder dcrpg: support side chain tracking, upgrades (decred#552) This bumps the dcrpg DB table version to 3.3.0 and requires an automatic upgrade. The upgrade can take hours however. The table upgrade process has been refactored. A new TableUpgradeType type is added, and addNewColumnsIfNotFound takes default value. TableUpgradesRequired always returns a result for each table, ok being one of the results. Version check succeeds when all tables "ok" Prior to InsertAddressRows, ensure ValidMainChain is set properly for each row. Improve documentation for storeTxns. dbtypes: set Tx.IsValidBlock and .IsMainchainBlock When processing block transactions in processTransactions, set IsValidBlock and IsMainchainBlock for each Tx. Improve addresses statements readibility. dcrsqlite: test GetBestBlockHash on 'c486442'. dcrsqlite: test GetBestBlockHeight explorer: limit logging about websocket updates to zero clients dcrsqlite: test GetStakeInfoHeight fix test name dcrpg: provide error context in handleBlocksTableMainchainUpgrade ignore test data Unconfirmed tx in address list and input amounts on unconfirmed tx (decred#489) This addresses the unconfirmed transactions not visible in address view and input amounts not visible in transaction view. There were two major areas of work: * Blending unconfirmed transactions with confirmed transactions in the current address view. Mostly extending what @chappjc already started. * Compensating for AmountIn values not set in dcrd calls to mempool transactions. config: add --sync-and-quit flag to only sync (decred#573) This adds the flag --sync-and-quit to the dcrdata executable that will caus dcrdata to sync to the best block and then exit. It will not start the explorer or API. Fix bugs in addresses page view (decred#570) * Improve on logic checking if all transactions were fetched * Make the default page size to be 20 dcrsqlite: test retrieve BlockHash, PoolInfo, SDiff dcrsqlite: test RetrieveSDiffRange dcrsqlite: test RetrieveAllPoolValAndSize fix test name dcrsqlite: test retrieve Winners, StakeInfoExtended, BlockHeight fix test name dcrsqlite: test RetrieveAllPoolValAndSize fix test names dcrsqlite: test RetrievePoolInfoRange dcrsqlite: test GetBestBlockHash on 'c486442'. fix test name dcrsqlite: test RetrieveBlockSummary dcrsqlite: test GetBestBlockHeight dcrsqlite: test RetrieveAllPoolValAndSize dcrsqlite: add empty DB tests Add 15.3% coverage for the dcrsqlite-package. Test default behavior of the sqlite.go/DB for a freshly created (empty) data base. Push towards the decred#5 delete wrong file ignore ignore ignore
- Loading branch information
Showing
43 changed files
with
1,878 additions
and
273 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 |
---|---|---|
|
@@ -33,3 +33,6 @@ testnet/ | |
.DS_Store | ||
testdata/ | ||
\.project | ||
dcrdata-testdata | ||
test-data-repo | ||
dcrdata-testdata-gitlfs |
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.