status-go/appdatabase
Stefan bf29188b2d fix(wallet) add index on transfers(blk_number, loaded)
Improve performance of queries for
- transfer.GetTransfersInRange
- transfer.GetTransfersByAddress
- transfer.GetTransfersByAddressAndBlock
- transfer.GetTransfers
- transfer.GetPreloadedTransactions

For 16952 entries worst case scenario tested with `sqlcipher`:
- Before: Run Time: real 0.897 user 0.728139 sys 0.166714
- After:  Run Time: real 0.001 user 0.000437 sys 0.000189

A single composite index (with the default one) might work better though
2023-06-06 12:09:38 +02:00
..
migrations fix(wallet) add index on transfers(blk_number, loaded) 2023-06-06 12:09:38 +02:00
migrationsprevnodecfg fix(wallet) add index on transfers(blk_number, loaded) 2023-06-06 12:09:38 +02:00
database.go feat: ens_usernames database (#3066) 2023-01-20 13:34:30 +03:00
database_test.go feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00
node_config_test.go chore: upgrade go-waku and log about messages sent/received 2022-11-09 17:39:17 +03:00
test_helpers.go feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00