Thomas
7c632c0e2a
psbt: avoid duplicate global xpub keys when merging
...
The global xpubs are stored in a map of key origin to set of xpubs,
while the serialization writes one record per xpub, keyed by the xpub.
Merging two PSBTs origin-by-origin can store the same xpub under two
origins, which serializes as a PSBT with duplicate keys that the
deserializer (and BIP 174) reject. Notably, combinepsbt returned a
PSBT that no RPC could parse again when the combined PSBTs provide
different key origins for the same xpub.
Deduplicate by xpub when merging, keeping the origin that is already
present, and share the logic between combinepsbt and joinpsbts.
2026-07-06 09:50:34 +02:00
..
2026-06-25 17:06:18 -07:00
2026-06-27 11:26:41 +01:00
2026-06-25 10:21:29 +02:00
2026-07-01 14:46:17 -07:00
2026-06-26 09:56:01 -07:00
2026-06-11 21:31:18 +02:00
2026-07-03 18:26:26 +01:00
2026-06-03 13:53:24 -07:00
2026-05-28 09:34:12 +01:00
2026-06-23 22:10:34 -04:00
2026-06-23 15:07:29 -07:00
2026-05-21 23:01:09 -04:00
2026-06-27 11:33:28 +01:00
2026-07-06 09:50:34 +02:00
2026-07-02 13:04:33 -07:00
2026-06-18 09:38:02 +02:00
2026-06-23 09:25:49 +01:00
2026-07-03 18:26:26 +01:00
2026-06-27 11:26:41 +01:00
2026-07-04 12:17:42 +02:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-04 21:58:56 +10:00
2026-06-27 11:26:41 +01:00
2026-06-04 09:23:13 +02:00
2026-06-30 00:33:00 +02:00
2026-05-27 15:48:32 +01:00
2026-06-03 13:53:24 -07:00
2026-05-25 18:55:15 -04:00
2026-06-16 10:38:20 +02:00
2026-06-25 10:21:29 +02:00
2026-05-29 11:36:08 +03:00
2026-06-11 19:36:19 +02:00
2026-06-11 19:36:19 +02:00
2026-06-11 10:33:03 -07:00
2026-06-22 05:47:00 -04:00
2026-06-29 10:09:26 -04:00
2026-06-29 10:09:26 -04:00
2026-06-27 11:26:41 +01:00
2026-06-22 05:47:00 -04:00
2026-06-23 22:10:34 -04:00
2026-05-27 15:48:32 +01:00
2026-06-10 10:47:16 -07:00
2026-06-12 16:06:23 -04:00
2026-06-17 14:51:46 -03:00
2026-06-08 15:13:09 +02:00
2026-06-27 11:26:41 +01:00
2026-06-04 21:58:55 +10:00
2026-06-27 11:26:41 +01:00
2026-06-11 21:33:33 +02:00
2026-06-11 21:31:18 +02:00
2026-06-10 10:32:40 +01:00
2026-06-17 15:21:12 +02:00
2026-06-17 15:21:12 +02:00
2026-06-04 21:58:56 +10:00
2026-07-06 09:50:34 +02:00
2026-07-06 09:50:34 +02:00
2026-06-22 05:47:00 -04:00
2026-06-04 21:54:08 +10:00
2026-05-29 11:36:08 +03:00
2026-06-08 19:06:33 +01:00
2026-06-27 11:26:41 +01:00
2026-06-23 16:13:03 -07:00
2026-06-23 16:13:03 -07:00
2026-06-11 10:04:55 -04:00
2026-06-23 16:13:03 -07:00
2026-06-01 09:53:29 -04:00