Files
pallectrum/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
..
2025-08-05 12:36:55 +00:00
2025-07-27 12:12:39 +03:00
2025-07-18 00:22:18 +00:00
2025-08-08 14:34:53 +00:00
2025-08-05 13:21:19 +00:00