28506bcd17
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 |
||
---|---|---|
.. | ||
doc.go | ||
events_community_archives.go | ||
events_community_reevaluation.go | ||
events_community_tokens.go | ||
events_connector.go | ||
events_db.go | ||
events_discord_import.go | ||
events_discovery.go | ||
events_messenger.go | ||
events_node.go | ||
events_pairing.go | ||
events_pn.go | ||
events_shhext.go | ||
events_sign.go | ||
events_stats.go | ||
events_subs.go | ||
events_sync_from_waku.go | ||
events_wakuv2.go | ||
events_wallet.go | ||
ios.go | ||
signals.c | ||
signals.go | ||
signals_test.go |