Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
600c414
Migrate inscribeit module to separate repo utxord-wallet
l2xl Jun 1, 2023
f13cc04
Reconfigure build for UTXORD
l2xl Jun 19, 2023
afedb19
Merge branch 'utxord_master' into utxord_publish
l2xl Jun 20, 2023
cb60a30
Improve emscripten build for node
l2xl Jun 22, 2023
02c659e
Make hex()/unhex() template args more flexible
l2xl Jun 27, 2023
454f45f
MasterKey class for BIP32 and descedants key derivations
l2xl Jun 28, 2023
ca63d97
WASM related MasterKey fixes
l2xl Jul 3, 2023
0691bca
boilerplate mainnet config
l2xl Jul 5, 2023
260d367
Add ChainApi::GetTx by txid
l2xl Jul 10, 2023
592b048
Minor optimizations
l2xl Jul 25, 2023
8ed8903
Pubkey only derivation for MasterKey class
l2xl Aug 22, 2023
2a71d3f
PubKey derivation enchancements
l2xl Aug 30, 2023
69e9315
Bech32Coder::Encode() add parameter to select between bech32m and bech32
l2xl Sep 26, 2023
03a683e
Fix ChainApi::GetNewAddress() arg processing
l2xl Sep 28, 2023
06ad655
Some enchancements
l2xl Oct 4, 2023
fff7f69
Catch2 improved exception reporting
l2xl Oct 4, 2023
f0e2058
Fix bech32 decoder
l2xl Oct 4, 2023
174b0bc
Fix smartinserter for WASM
l2xl Oct 6, 2023
dd34b9f
Fix ChannelKeys copying ctor
l2xl Oct 18, 2023
d3dc454
MasterKey minor fix
l2xl Oct 23, 2023
1ec28cb
fix l15::signature construction/assignment
l2xl Nov 1, 2023
cb2156d
Minor changes
l2xl Dec 22, 2023
207c7ea
GetAddress(chain_mode, pubkeyscript) for SegWit only
l2xl Jan 9, 2024
0a4423b
xonly_pubkey ctor with iterators
l2xl Jan 9, 2024
37fbde0
Change core::ext_pubkey format
l2xl Jan 11, 2024
32f4ee0
compile time Dust calculation
l2xl Jan 19, 2024
d2e1c64
Add CheckMiningFee() util for onchain transaction
l2xl Jan 21, 2024
65155ec
Minor utils and testenv improvements
l2xl Mar 14, 2024
f7533f5
Remove unnessesary link options for WASM linker
l2xl Apr 18, 2024
7042736
Refactor Bech32Coder
l2xl Jun 7, 2024
4b86b8b
Refactor ECC keys infrastructure
l2xl Jun 7, 2024
f38da18
Rebase to latest bitcoin master
l2xl Jun 14, 2024
5c8d0bc
Refactor ECC keys - step 2
l2xl Jun 18, 2024
716d79c
Merge pull request #20 from layer1dot5/bech32_refactor
l2xl Jun 18, 2024
864161c
Fix LIMITED_API build
l2xl Jun 19, 2024
4a08387
Fix LIMITED_API build for arm64
l2xl Jun 27, 2024
b62a702
Work around SWIG bug on template partial specs
l2xl Jun 27, 2024
4082d35
Fix exec helper to return all output
l2xl Jul 15, 2024
124acb6
BIP-39 mnemonic phrase implementation
l2xl Jul 27, 2024
ff0330a
Init MnemonicParser with stringvector instead of json string
l2xl Aug 8, 2024
435d3eb
ChainApi refactor
l2xl Aug 9, 2024
a777e15
libtool l15 library
l2xl Aug 26, 2024
fc05775
Introduces sensitive_bytevector, sensitive_string, sensitive_stringve…
l2xl Sep 5, 2024
a57d651
Merge branch 'mnemonic' into utxord_publish
l2xl Sep 5, 2024
8309938
Minor interface changes to mnemonic/master key and cryptohash
l2xl Sep 7, 2024
c1ecfce
Fix top level Makefile
l2xl Sep 9, 2024
f9e255f
Merge branch 'utxord_publish' into core/libtool_lib
l2xl Sep 9, 2024
b504b3d
Fix WASM build
l2xl Sep 9, 2024
1c4b33c
Allow MnemonicParser to use any c++ complient constructor for words' …
l2xl Sep 11, 2024
66818af
Revisit exception types + build fixes
l2xl Oct 2, 2024
c29d3b6
MInor refactoring
l2xl Oct 26, 2024
d1f466a
Refactor LogTx() outputs json + eliminate WalletApi
l2xl Oct 30, 2024
18d28ca
PSBT draft
l2xl Nov 5, 2024
bd9282f
Compile time opt for ConvertBits call
l2xl Nov 7, 2024
04a62f7
Base58Check support for legacy addresses
l2xl Nov 14, 2024
c5df0bf
p2pkh address support
l2xl Dec 11, 2024
392e3ee
CalculateOutputAmount is now deprecated
l2xl Dec 28, 2024
d68f100
Merge remote-tracking branch 'origin/psbt_proof' into fix_dust
l2xl Jan 15, 2025
41c23e8
Library level fixes
l2xl Jan 22, 2025
177d663
Refactor transaction related util routines
l2xl Jan 30, 2025
011f2fa
Fix PSBT
l2xl Jan 30, 2025
34ad707
Merge branch 'fix_dust' into utxord_publish
l2xl Feb 5, 2025
cef78f6
Nested segwit aka P2WPKH-P2SH address support
l2xl Feb 12, 2025
75153ce
Remove some excessive staff
l2xl Feb 25, 2025
8445d23
Clear any base tx signatures when initializing PSBT
l2xl Feb 27, 2025
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
**/*.in
.idea/*
build/**
build_*/**
**/*.lo
**/*.la
**/.deps/**
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "node"]
path = node
url = ../l15-node.git
url = ../bitcoin.git
[submodule "contrib/secp256k1"]
path = contrib/secp256k1
url = ../secp256k1-zkp.git
59 changes: 36 additions & 23 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,26 +1,37 @@
ACLOCAL_AMFLAGS = -I build-aux/m4

SUBDIRS = contrib node src test
VERSION_MODULE = version.cpp
BUILT_SOURCES = $(VERSION_MODULE)

SUBDIRS =

if BUILD_SECP256K1
SUBDIRS += $(SECP256K1_PATH)
endif

SUBDIRS += $(NODE_PATH) src

AM_CPPFLAGS = \
-I$(top_srcdir)/src/common \
-I$(top_srcdir)/src/core \
-I$(top_srcdir)/contrib/secp256k1/include \
-I$(top_srcdir)/$(SECP256K1_PATH)/include \
-I$(top_srcdir)/contrib/cli11 \
-I$(top_srcdir)/contrib/cex \
-I$(top_srcdir)/node/src \
-I$(top_srcdir)/node/src/univalue/include \
-I$(top_srcdir)/node/src/consensus \
-I$(top_srcdir)/node/src/script \
-I$(top_srcdir)/node/src/support
-I$(top_srcdir)/$(NODE_PATH)/src \
-I$(top_srcdir)/$(NODE_PATH)/src/univalue/include \
-I$(top_srcdir)/$(NODE_PATH)/src/consensus \
-I$(top_srcdir)/$(NODE_PATH)/src/script \
-I$(top_srcdir)/$(NODE_PATH)/src/support


AM_LDFLAGS=-L$(top_builddir)/node/src -L$(top_builddir)/node/src/crypto
AM_LDFLAGS=-L$(top_builddir)/$(NODE_PATH)/src

L15_LIBS =

if BUILD_TOOLS

SUBDIRS += test

L15_LIBS += \
$(top_builddir)/src/tools/libl15-tools.la \
$(top_builddir)/src/api/libl15-api.la
Expand All @@ -30,31 +41,18 @@ endif
L15_LIBS += \
$(top_builddir)/src/core/libl15-core.la \
$(top_builddir)/src/common/libl15-common.la \
$(top_builddir)/node/src/libbitcoinconsensus.la \
$(top_builddir)/contrib/secp256k1/libsecp256k1.la \
$(top_builddir)/node/src/libunivalue.la
$(top_builddir)/$(NODE_PATH)/src/libbitcoinconsensus.la \
$(top_builddir)/$(NODE_PATH)/src/libunivalue.la

#$(top_builddir)/node/src/crypto/libbitcoin_crypto_base.la

if BUILD_INSCRIBEIT

AM_CPPFLAGS += -I$(top_srcdir)/src/inscribeit

L15_LIBS += \
$(top_builddir)/src/inscribeit/libl15-inscribeit.la

endif

if BUILD_TOOLS

AM_CPPFLAGS += \
-I$(top_srcdir)/src/api \
-I$(top_srcdir)/src/tools

L15_LIBS += \
$(top_builddir)/node/src/crypto/libbitcoin_crypto_avx2.la \
$(top_builddir)/node/src/crypto/libbitcoin_crypto_x86_shani.la \
$(top_builddir)/node/src/crypto/libbitcoin_crypto_sse41.la \
$(BOOST_FILESYSTEM_LIB)

bin_PROGRAMS = l15-cli
Expand All @@ -63,3 +61,18 @@ l15_cli_SOURCES = src/cli.cpp
l15_cli_LDADD = $(L15_LIBS)

endif

lib_LTLIBRARIES = libl15.la

$(VERSION_MODULE): $(top_srcdir)/version.sh Makefile
echo '#include "version.hpp"' >$@
(echo 'const char* const l15::Version::core_version = "'; $< $(top_srcdir); echo '";') | tr -d '\n' >>$@; echo >>$@
(echo 'const char* const l15::Version::node_version = "'; $< $(top_srcdir)/$(NODE_PATH); echo '";')| tr -d '\n' >>$@; echo >>$@
(echo 'const char* const l15::Version::secp256k1_version = "'; $< $(top_srcdir)/$(SECP256K1_PATH); echo '";')| tr -d '\n' >>$@; echo >>$@


nodist_libl15_la_SOURCES = $(VERSION_MODULE)
libl15_la_LDFLAGS = -avoid-version
libl15_la_LIBADD = $(L15_LIBS)

#CLEANFILES = $(VERSION_MODULE)
42 changes: 41 additions & 1 deletion build-aux/m4/ax_cxx_compile_stdcxx.m4
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"],
[$1], [14], [ax_cxx_compile_alternatives="14 1y"],
[$1], [17], [ax_cxx_compile_alternatives="17 1z"],
[$1], [20], [ax_cxx_compile_alternatives="20"],
[$1], [20], [ax_cxx_compile_alternatives="20 2a"],
[$1], [23], [ax_cxx_compile_alternatives="2b"],
[m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl
m4_if([$2], [], [],
[$2], [ext], [],
Expand Down Expand Up @@ -177,6 +178,15 @@ m4_define([_AX_CXX_COMPILE_STDCXX_testbody_20],
_AX_CXX_COMPILE_STDCXX_testbody_new_in_20
)

dnl Test body for checking C++23 support

m4_define([_AX_CXX_COMPILE_STDCXX_testbody_23],
_AX_CXX_COMPILE_STDCXX_testbody_new_in_11
_AX_CXX_COMPILE_STDCXX_testbody_new_in_14
_AX_CXX_COMPILE_STDCXX_testbody_new_in_17
_AX_CXX_COMPILE_STDCXX_testbody_new_in_20
_AX_CXX_COMPILE_STDCXX_testbody_new_in_23
)

dnl Tests for new features in C++11

Expand Down Expand Up @@ -1003,3 +1013,33 @@ namespace cxx20
#endif // __cplusplus < 202002L

]])


dnl Tests for new features in C++23

m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_23], [[

#ifndef __cplusplus

#error "This is not a C++ compiler"

#elif __cplusplus < 202100L

#error "This is not a C++23 compiler"

#else

#include <version>

namespace cxx23
{

// As C++23 supports feature test macros in the standard, there is no
// immediate need to actually test for feature availability on the
// Autoconf side.

} // namespace cxx23

#endif // __cplusplus < 202302L

]])
12 changes: 6 additions & 6 deletions build-aux/m4/ax_subdirs_configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ AC_DEFUN([AX_SUBDIRS_CONFIGURE],
# Options that must be removed.
m4_ifnblank([$5], [m4_foreach(opt, [$5], [ax_args=$(echo $ax_args | sed "s,'opt',,")
])])
AS_VAR_APPEND([ax_args], [" '--srcdir=$ac_srcdir'"])
AS_VAR_APPEND([ax_args], [" '--srcdir=$ac_abs_srcdir'"])

# Add the subdirectory to the list of target subdirectories.
ax_subconfigures="$ax_subconfigures $ax_dir"
Expand Down Expand Up @@ -297,11 +297,11 @@ AC_DEFUN([AX_SUBDIRS_CONFIGURE],
cd "$ax_dir"

# Check for guested configure; otherwise get Cygnus style configure.
if test -f "$ac_srcdir/configure.gnu"; then
ax_sub_configure=$ac_srcdir/configure.gnu
elif test -f "$ac_srcdir/configure"; then
ax_sub_configure=$ac_srcdir/configure
elif test -f "$ac_srcdir/configure.in"; then
if test -f "$ac_abs_srcdir/configure.gnu"; then
ax_sub_configure=$ac_abs_srcdir/configure.gnu
elif test -f "$ac_abs_srcdir/configure"; then
ax_sub_configure=$ac_abs_srcdir/configure
elif test -f "$ac_abs_srcdir/configure.in"; then
# This should be Cygnus configure.
ax_sub_configure=$ac_aux_dir/configure
else
Expand Down
3 changes: 2 additions & 1 deletion build-aux/m4/ax_zmq.m4
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ AC_DEFUN([AX_ZMQ], [
[xyes],[with_zmq=yes],
[xno],[with_zmq=no],
[with_zmq=yes; ZMQ_LDFLAGS="-L${withval}/lib"; ZMQ_CPPFLAGS="-I${withval}/include"]
)])
)],
[with_zmq=yes])

HAVE_ZMQ=0
if test "$with_zmq" != "no"; then
Expand Down
Loading