Dusty Daemon
23e80d9e81
PSBT: Change bitcoin_tx routine to use TAKES
...
`bitcoin_tx_with_psbt` would somewhat opaquely steal the passed `psbt` value.
This caused a bug where code made a `bitcoin_tx` using a psbt without realizing the value was stolen. Because the resulting `bitcoin_tx` was placed in tmpctx it was not immediately clear that using `psbt` afterwards was an error until the tmpctx was cleared — creating a valgrind backtrace far from the actual issue.
Switching to the routine to using TAKES and adding documentation in the header, makes it explicitly clear which operation the user is doing — helping prevent future regressions of this kind.
Changelog-None
2025-05-13 14:52:15 +09:30
..
2025-04-29 13:31:23 +09:30
2025-05-06 12:27:53 +09:30
2025-04-01 13:29:28 -05:00
2025-04-02 11:22:54 +10:30
2025-04-02 11:22:54 +10:30
2025-01-21 09:18:25 +10:30
2025-05-13 14:52:15 +09:30
2025-04-29 13:31:23 +09:30
2025-03-18 14:30:58 +10:30
2024-01-31 14:47:33 +10:30
2024-09-21 06:20:18 +09:30
2025-05-13 14:52:15 +09:30
2025-05-13 14:52:15 +09:30
2025-04-29 13:31:23 +09:30
2025-04-29 13:31:23 +09:30
2025-05-06 12:27:53 +09:30
2024-11-25 20:23:21 +10:30
2024-07-23 09:54:47 +09:30
2025-03-12 09:26:08 +10:30
2025-05-11 11:25:40 +09:30
2024-11-25 15:39:13 +10:30
2024-12-20 15:36:07 +10:30
2025-05-06 12:27:53 +09:30
2024-06-19 15:54:24 +09:30
2024-03-25 15:02:35 +10:30
2024-10-26 09:51:20 +02:00
2024-01-26 10:30:22 +10:30
2025-05-08 12:54:09 +09:30
2024-01-31 14:47:33 +10:30
2024-07-23 09:54:47 +09:30
2024-03-20 13:51:48 +10:30
2025-05-06 12:27:53 +09:30
2024-10-16 07:14:32 +10:30
2025-01-21 09:18:25 +10:30
2024-10-27 13:57:50 +11:00
2025-01-21 09:18:25 +10:30
2025-03-12 09:26:08 +10:30
2025-03-12 09:26:08 +10:30
2025-03-12 09:26:08 +10:30
2025-05-06 12:27:53 +09:30
2025-05-06 12:27:53 +09:30
2025-05-08 14:01:38 +09:30
2024-12-16 09:48:51 +10:30
2024-08-01 12:31:48 +09:30
2025-04-29 13:31:23 +09:30
2025-05-08 14:01:38 +09:30
2025-02-12 12:54:10 +10:30
2025-02-11 20:19:01 -06:00
2025-05-06 12:27:53 +09:30
2025-03-12 09:26:08 +10:30
2024-05-09 16:14:23 -05:00
2025-05-06 12:27:53 +09:30
2024-06-19 15:54:24 +09:30
2025-05-06 12:27:53 +09:30
2025-03-12 09:26:08 +10:30
2024-12-17 15:59:30 +10:30
2024-10-27 13:57:50 +11:00
2025-05-13 14:52:15 +09:30
2025-05-11 11:25:40 +09:30
2025-02-26 10:22:03 -06:00
2025-04-29 09:38:20 +09:30
2025-04-29 09:38:20 +09:30
2024-07-31 14:42:58 +09:30
2024-11-18 11:03:26 +10:30
2025-03-12 09:26:08 +10:30
2025-05-08 14:01:38 +09:30
2025-05-08 14:01:38 +09:30
2024-09-19 12:16:53 +09:30
2025-02-05 16:43:09 -06:00
2025-03-12 09:26:08 +10:30
2024-12-16 09:48:51 +10:30
2024-11-13 14:44:03 +10:30
2025-04-29 09:38:20 +09:30
2025-04-29 09:38:20 +09:30
2025-01-21 09:18:25 +10:30
2025-01-21 09:18:25 +10:30