Rusty Russell
55e167115b
common/tests: these test are no longer experimental-only.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-08-14 12:07:57 +09:30
niftynei
5cd06227d7
build: exclude dualopend from non-experimental builds
2020-09-09 19:54:20 +09:30
niftynei
303263d381
psbt: clean up interface for setting metadata on PSBT inputs
...
it's just neater if it's not all wrapped up together, simplifies the
interface a smidge
2020-09-09 19:54:20 +09:30
Rusty Russell
a0ede40743
bitcoin: make psbt_append_input more powerful.
...
It can now handle all the metadata as well as the base tx input.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-08-20 21:14:12 +09:30
Rusty Russell
172b9d7ae3
bitcoin: add nlocktime arg to create_psbt.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-08-20 21:14:12 +09:30
niftynei
722fa1df6c
psbt-utils: ignore the 'unknown' map for input + output comparison
...
There's no stable ordering on unknown serialization, so linearizing
identical but mis-ordered unknown data will lead to 'wrong' results.
Instead, we just ignore any data that's in the psbt unknown struct.
There's probably also problems here with other PSBT maps. Really, this
needs a finer grained comparison function .... fuck
2020-08-18 11:08:44 +09:30
niftynei
32e40b2cfc
psbt-common: unit test for diff/sort/add serial etc
2020-08-18 11:08:44 +09:30