1
0
Files
electrum/electrum
SomberNight 05da50178b interface: don't request same tx from server that we just broadcast to it
Often when the wallet creates a tx, the flow is:
- create unsigned tx
- sign tx
- broadcast tx, but don't save it in history
- server sends notification that status of a subscribed address changed
- client calls scripthash.get_history
- client sees txid in scripthash.get_history response
- client calls blockchain.transaction.get to request missing tx

Instead, now when we broadcast a tx on an interface, we cache that tx *for that interface*,
and just before calling blockchain.transaction.get, we lookup in the cache.
Hence this will often save a network request.
2025-08-08 14:34:56 +00:00
..
2024-09-18 15:48:38 +00:00
2025-08-05 12:36:55 +00:00
2025-07-27 12:12:39 +03:00
2022-10-20 18:43:54 +00:00
2024-05-30 13:08:13 +00:00
2025-07-18 00:22:18 +00:00
2025-02-19 14:29:02 +01:00
2025-04-02 16:21:59 +00:00
2025-08-08 14:34:53 +00:00
2025-04-23 16:09:31 +02:00
2024-11-29 17:09:29 +08:00
2022-10-31 16:13:22 +00:00
2023-04-24 12:58:26 +00:00
2022-10-31 16:13:22 +00:00
2024-04-24 14:14:31 +00:00
2024-05-20 16:57:11 +02:00
2023-12-04 14:15:39 +08:00
2025-04-23 16:09:31 +02:00
2025-08-05 13:21:19 +00:00
2025-04-23 16:09:31 +02:00