status-go/services/wallet/transfer
Stefan c0f32748b4 feat(wallet) lazy load activity info optimization
Trigger async fetching of extra information on each activity filtering
request. Only emit the update event for incomplete entries.

Other changes:

- Make DataEntry light as event payload by making all the fields
  optional
- Add new required fields to the activity DataEntry
- Add collectibles.ManagerInterface to aid testing

Note: this PR keeps compatibility with current master by always
providing non-optional multi-transaction ID. The TODO will be executed
before merging the status-desktop PR.

Experienced a hang on FetchAssetsByCollectibleUniqueID call with:
[{{5 0x21263a042aFE4bAE34F08Bb318056C181bD96D3b} 1209},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 237},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 236},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 832},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 830},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 853}]

Updates status-desktop #11597
2023-09-01 19:11:14 +02:00
..
balance_cache.go feat: clear balance cache after usage 2023-07-12 09:23:56 +02:00
block_dao.go fix(wallet): balance history used a wrong db for accessing accounts. 2023-08-30 10:17:57 +02:00
block_ranges_sequential_dao.go feat(wallet): SequentialFetchStrategy improvements: (#3551) 2023-06-01 16:09:50 +03:00
block_test.go fix(tests): moved test db setup to a common place 't/helpers', created 2023-08-18 09:00:56 +02:00
bridge_identifier.go feat(wallet): detect ETH L2 to L1/L2 bridge transactions 2023-07-10 09:59:05 -03:00
commands.go fix(wallet) propagate multi-transactions IDs to transfers 2023-08-22 18:39:42 +02:00
commands_sequential.go fix(wallet) propagate multi-transactions IDs to transfers 2023-08-22 18:39:42 +02:00
concurrent.go fix(wallet): Fix block hash for detected blocks with ETH transfers 2023-06-05 12:08:18 -03:00
concurrent_test.go fix(wallet): Fix block hash for detected blocks with ETH transfers 2023-06-05 12:08:18 -03:00
controller.go fix(wallet): balance history used a wrong db for accessing accounts. 2023-08-30 10:17:57 +02:00
database.go fix(wallet) propagate multi-transactions IDs to transfers 2023-08-22 18:39:42 +02:00
database_test.go fix(wallet) propagate multi-transactions IDs to transfers 2023-08-22 18:39:42 +02:00
downloader.go feat(wallet): Move pending transactions to `transactions` module. 2023-07-11 16:07:42 +02:00
iterative.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
iterative_test.go feat: enable wallet without network binding (#2349) 2021-09-09 16:28:54 +02:00
query.go feat(wallet) extract json blobs and add custom migration support 2023-06-08 13:54:40 +02:00
reactor.go fix(wallet): balance history used a wrong db for accessing accounts. 2023-08-30 10:17:57 +02:00
sequential_fetch_strategy.go fix(wallet) propagate multi-transactions IDs to transfers 2023-08-22 18:39:42 +02:00
swap_identifier.go feat(wallet): detect ETH L1 to L2 bridge transactions 2023-07-10 09:59:05 -03:00
testutils.go feat(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00
transaction.go fix(wallet) propagate multi-transactions IDs to transfers 2023-08-22 18:39:42 +02:00
transaction_test.go fix(tests): moved test db setup to a common place 't/helpers', created 2023-08-18 09:00:56 +02:00
view.go feat(wallet) extract json blobs and add custom migration support 2023-06-08 13:54:40 +02:00