status-go/services/wallet/transfer
Sale Djenic 28506bcd17 chore_: improvements of the sending route generated by the router process
This commit simplifies the sending process of the best route suggested by the router.
It also makes the sending process the same for accounts (key pairs) migrated to a keycard
and those stored locally in local keystore files.

Deprecated endpoints:
- `CreateMultiTransaction`
- `ProceedWithTransactionsSignatures`

Deprecated signal:
- `wallet.sign.transactions`

New endpoints:
- `BuildTransactionsFromRoute`
- `SendRouterTransactionsWithSignatures`

The flow for sending the best router suggested by the router:
- call `BuildTransactionsFromRoute`
- wait for the `wallet.router.sign-transactions` signal
- sign received hashes using `SignMessage` call or sign on keycard
- call `SendRouterTransactionsWithSignatures` with the signatures of signed hashes from the previous step
- `wallet.router.transactions-sent` signal will be sent after transactions are sent or if an error occurs

New signals:
- `wallet.router.sending-transactions-started` // notifies client that the sending transactions process started
- `wallet.router.sign-transactions` // notifies client about the list of transactions that need to be signed
- `wallet.router.transactions-sent` // notifies client about transactions that are sent
- `wallet.transaction.status-changed` // notifies about status of sent transactions
2024-10-01 14:30:33 +02:00
..
block_dao.go feat(wallet): separate ETH and tokens search ranges to allow calling 2023-12-05 16:09:56 +01:00
block_ranges_sequential_dao.go chore_: bump go to 1.20 (#5027) 2024-04-18 18:48:02 +02:00
block_ranges_sequential_dao_test.go [#4690] Nilable block range values for proper ranges management (#4691) 2024-02-19 16:50:07 +01:00
block_test.go Implemented balance history based on transfers (#4022) 2023-10-04 15:00:12 +03:00
bridge_identifier.go chore(wallet)_: clean up wallet API send and sign transactions 2024-05-09 18:11:58 +02:00
commands.go feat_: add support for approve and swap activity entries 2024-07-22 18:29:13 -03:00
commands_sequential.go feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
commands_sequential_test.go chore_: improvements of the sending route generated by the router process 2024-10-01 14:30:33 +02:00
concurrent.go fix_: bump go-ethereum to get fix for block hash calculation (#5873) 2024-09-26 08:38:22 -03:00
concurrent_test.go fix_: bump go-ethereum to get fix for block hash calculation (#5873) 2024-09-26 08:38:22 -03:00
controller.go feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
controller_test.go chore(wallet)_: code structure improved for multi_transaction manager 2024-05-31 09:58:06 +02:00
database.go fix_: bump go-ethereum to get fix for block hash calculation (#5873) 2024-09-26 08:38:22 -03:00
database_test.go fix: calculating next nonce for optimism chain improved to align with calculation on mainnet and arbitrum 2024-03-13 15:21:33 +01:00
downloader.go fix(wallet)_: prevent backwards range in GetHeadersInRange 2024-08-20 10:49:22 -03:00
downloader_test.go chore_: migrate to uber's mock fork (#5858) 2024-09-20 10:08:11 +01:00
errors.go chore_: improvements of the sending route generated by the router process 2024-10-01 14:30:33 +02:00
helpers.go Improvements on resolving nonce (#5658) 2024-08-12 08:07:32 -04:00
iterative.go feat(wallet): separate ETH and tokens search ranges to allow calling 2023-12-05 16:09:56 +01:00
iterative_test.go feat: enable wallet without network binding (#2349) 2021-09-09 16:28:54 +02:00
multi_transaction_db.go feat(wallet)_: add Approve transaction type 2024-06-10 08:57:45 -03:00
multi_transaction_db_test.go test(wallet)_: created Transactor interface 2024-05-31 09:58:06 +02:00
query.go feat: link owned collectibles with latest matching transfer 2024-01-15 12:55:47 -03:00
reactor.go [#4649] Do not restart reactor when it is already running (#4663) 2024-02-01 17:26:40 +01:00
sequential_fetch_strategy.go [#4603] Get rid of fetchLatestBlockNumberCommand (#4614) 2024-01-25 13:05:59 +01:00
swap_identifier.go fix: Update timestamp when upserting multi tx (#4224) 2023-10-30 07:53:22 +01:00
testutils.go feat(wallet)_: add Approve transaction type 2024-06-10 08:57:45 -03:00
transaction_manager.go chore_: improvements of the sending route generated by the router process 2024-10-01 14:30:33 +02:00
transaction_manager_internal.go Improvements on resolving nonce (#5658) 2024-08-12 08:07:32 -04:00
transaction_manager_multitransaction.go chore_: improvements of the sending route generated by the router process 2024-10-01 14:30:33 +02:00
transaction_manager_multitransaction_test.go chore_: initial steps to decouple rpc chain modules (#5856) 2024-09-24 14:07:26 +01:00
transaction_manager_route.go chore_: improvements of the sending route generated by the router process 2024-10-01 14:30:33 +02:00
transaction_manager_test.go chore_: migrate to uber's mock fork (#5858) 2024-09-20 10:08:11 +01:00
view.go feat(wallet) extract json blobs and add custom migration support 2023-06-08 13:54:40 +02:00