status-go/services/wallet/async
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
..
async.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
multi_client_scheduler.go chore: move multi-client scheduler implementation to separate file 2023-08-15 10:17:10 -03:00
multi_client_scheduler_test.go chore: move multi-client scheduler implementation to separate file 2023-08-15 10:17:10 -03:00
scheduler.go feat(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00
scheduler_test.go feat(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00