Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
60663a3
travis: don't explicitly list what tests in tools/travis_build.sh
rustyrussell May 29, 2020
78a58b4
psbt: add a simple test case, by copying some of BIP 0174.
rustyrussell May 29, 2020
7ab3ecc
psbt: close some leaks.
rustyrussell May 29, 2020
c1eb205
psbt: improve constness.
rustyrussell May 29, 2020
560c292
pullpush: add routines for safe marshal / unmarshal.
rustyrussell May 29, 2020
2c30884
psbt: use push functions for converting input to bytes.
rustyrussell May 29, 2020
ef215ab
psbt: make output_to_bytes use push.
rustyrussell May 29, 2020
8e3079f
wally_psbt: make wally_psbt_to_bytes use push itself.
rustyrussell May 29, 2020
041faeb
psbt: make psbt_input_get_length use the same code as psbt_input_to_b…
rustyrussell May 29, 2020
ce3badc
psbt: use pull_ functions to parse input section.
rustyrussell May 29, 2020
5922dfc
psbt: use pull_ functions to parse output section.
rustyrussell May 29, 2020
5ede661
psbt: convert count_psbt_parts to use pull_ code.
rustyrussell May 29, 2020
c270741
psbt: convert wally_psbt_from_bytes to use pull_code.
rustyrussell May 29, 2020
f4aa2ca
psbt: add test for marshal/unmarshal limits.
rustyrussell May 29, 2020
4c65ef6
psbt: add limit testing to unmarshalling as well.
rustyrussell May 29, 2020
2941844
psbt: add allocation tracking to tests.
rustyrussell May 29, 2020
2bbdd3e
Check that pointers are non-null rather than length is non-zero
achow101 May 29, 2020
73078a9
Implement psbt global version type
achow101 May 29, 2020
4b370fd
Add wally_psbt_elements_input_init_alloc and elements fields setters
achow101 May 14, 2020
6e2b6a2
Add wally_psbt_elements_output_init_alloc and field setters
achow101 May 15, 2020
d83b39c
Have the PSBT store it's magic to distinguish between psbt and pset
achow101 May 15, 2020
390324a
Implement Elements psbt de/serialization as a proprietary type
achow101 May 30, 2020
732136c
pset: there are bools in the header file
niftynei Jun 23, 2020
3943338
pset: pass in correct flags for elements tx parsing
niftynei Jun 23, 2020
b3cd1e7
.gitignore: ignore ctags
niftynei Jul 8, 2020
5bf2bdc
pset: use correct serialization for witness_utxo
niftynei Jul 8, 2020
d482f2c
pset: fixup key parsing for prefix + subtype
niftynei Jul 8, 2020
40883bf
pset: fixup spacing issue
niftynei Jul 8, 2020
501c449
pset: fixup serialization of proprietary elements keys
niftynei Jul 8, 2020
796627d
pset: include length of amount in value for WALLY_PSBT_IN_ELEMENTS_VA…
niftynei Jul 8, 2020
b1c5b54
pset: add canonical pset example from elementsd
niftynei Jul 8, 2020
d4d9a08
pset: assign the result to the pset, not the passed in
niftynei Jul 9, 2020
beb04f3
pset: quick hack to create elements tx hash for signing
niftynei Jul 10, 2020
3935be8
configure: wouldn't compile MAP_ANON on Ubuntu 20.04 LTS
niftynei Jul 2, 2020
7653b60
psbt: allow partial transactions.
rustyrussell Jul 1, 2020
55e9f6a
expose wally_tx_output_clone
niftynei Jul 8, 2020
1f45aef
psbt: clone passed in tx_output, makes us pset compatible
niftynei Jul 8, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ src/test_bech32*
src/test_blech32*
src/test_clear*
src/test_tx*
src/test_psbt*
src/test_elements_tx*
src/test-suite.log
src/swig_java/swig_java_wrap.c
Expand Down Expand Up @@ -86,6 +87,9 @@ docs/source/transaction.rst
docs/source/elements.rst
.idea/

# ctags
tags

# MacOS
**/.DS_Store

Expand Down
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ AX_CHECK_COMPILE_FLAG([-Wpedantic], [AM_CFLAGS="-Wpedantic $AM_CFLAGS"])
AX_CHECK_COMPILE_FLAG([-Wextra], [AM_CFLAGS="-Wextra $AM_CFLAGS"])
AX_CHECK_COMPILE_FLAG([-Wall], [AM_CFLAGS="-Wall $AM_CFLAGS"])

# Needed for Ubuntu 20.04LTS when compiling as a library
AX_CHECK_COMPILE_FLAG([-D_DEFAULT_SOURCE=1], [AM_CFLAGS="-D_DEFAULT_SOURCE=1 $AM_CFLAGS"])

# Disable some unhelpful errors from those enabled above
AX_CHECK_COMPILE_FLAG([-Wno-unused-function], [AM_CFLAGS="$AM_CFLAGS -Wno-unused-function"])
AX_CHECK_COMPILE_FLAG([-Wno-long-long], [AM_CFLAGS="$AM_CFLAGS -Wno-long-long"])
Expand Down
Loading