status-go/transactions
Stefan 812910f087 feat(wallet): Add session-based activity API for dynamic updates
This commit introduces the first steps towards implementing a session-based activity API to support dynamic updates of the current visualized filter in the wallet activity service. This change is necessary to move away from static paginated filtering, which was previously done in SQL, to a more dynamic approach that can handle updates in real-time.

The main changes include:
- Add basic `EventActivitySessionUpdated` support for pending transactions.
- Added a `TODO.md` file outlining the plan and requirements for dynamic activity updates.
- New session-related API to the `activity.Service`
- `session.go` contains the logic for session management and event processing related to activity updates.
- Add test case for incremental filter updates.

The commit also includes:

- various other minor changes and refactoring to support the new session-based approach.
- Deprecation notices added to the `api.go` file for methods that are no longer used by the status-desktop application.
- Clarification comments added to the `scheduler.go` file regarding replacement policies.

Updates: #12120

ghstack-source-id: a61ef74184
Pull Request resolved: https://github.com/status-im/status-go/pull/4480
2024-02-01 19:55:06 +01:00
..
fake add wallet favourites 2020-09-21 10:48:00 +02:00
addrlock.go Abstract `accounts.Key` and geth `keystore` 2020-01-06 10:17:23 +01:00
conditionalrepeater.go fix(wallet) fix pending transactions notification 2023-09-01 00:18:26 +02:00
conditionalrepeater_test.go fix(wallet) propagate multi-transactions IDs to transfers 2023-08-22 18:39:42 +02:00
pendingtxtracker.go feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00
pendingtxtracker_test.go Comment out all logged flaky tests 2024-01-18 06:36:12 +00:00
rpc_wrapper.go feat(walletconnect)_: ethereum rpc calls support 2023-11-27 10:49:23 +01:00
testhelpers.go fix(wallet) fix reading amount for pending transactions 2024-02-01 18:28:55 +01:00
transactor.go chore: read and use nonce from network instead from the local cache when sending tx 2023-12-29 08:43:03 +01:00
transactor_test.go Revert "test: bump go-libp2p" 2024-01-18 20:29:33 +00:00
types.go feat: added functionality to ask a client to sign a transaction and an endpoint to continue sending using provided signature 2023-10-17 19:42:06 +02:00
types_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00