Skip to content

Commit

Permalink
Add esplora_clnd_plugin f920909
Browse files Browse the repository at this point in the history
  • Loading branch information
jsarenik committed Apr 13, 2021
1 parent ade10e7 commit e57c371
Show file tree
Hide file tree
Showing 3 changed files with 774 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ contrib/pylightning/pylightning.egg-info/
contrib/pyln-*/build/
contrib/pyln-*/dist/
contrib/pyln-*/pyln_*.egg-info/
plugins/esplora
plugins/fetchinvoice
plugins/offers
plugins/keysend
Expand Down
8 changes: 7 additions & 1 deletion plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ PLUGIN_BCLI_OBJS := $(PLUGIN_BCLI_SRC:.c=.o)
PLUGIN_KEYSEND_SRC := plugins/keysend.c
PLUGIN_KEYSEND_OBJS := $(PLUGIN_KEYSEND_SRC:.c=.o)

PLUGIN_ESPLORA_SRC := plugins/esplora.c
PLUGIN_ESPLORA_OBJS := $(PLUGIN_ESPLORA_SRC:.c=.o)

PLUGIN_LIB_SRC := plugins/libplugin.c
PLUGIN_LIB_HEADER := plugins/libplugin.h
PLUGIN_LIB_OBJS := $(PLUGIN_LIB_SRC:.c=.o)
Expand Down Expand Up @@ -70,7 +73,8 @@ PLUGINS := \
plugins/offers \
plugins/pay \
plugins/txprepare \
plugins/spenderp
plugins/spenderp \
plugins/esplora

# Make sure these depend on everything.
ALL_C_SOURCES += $(PLUGIN_ALL_SRC)
Expand Down Expand Up @@ -137,6 +141,8 @@ plugins/offers: bitcoin/chainparams.o $(PLUGIN_OFFERS_OBJS) $(PLUGIN_LIB_OBJS) $

plugins/fetchinvoice: bitcoin/chainparams.o $(PLUGIN_FETCHINVOICE_OBJS) $(PLUGIN_LIB_OBJS) $(PLUGIN_COMMON_OBJS) common/bolt12.o common/bolt12_merkle.o common/iso4217.o $(WIRE_OBJS) bitcoin/block.o common/channel_id.o bitcoin/preimage.o $(JSMN_OBJS) $(CCAN_OBJS) common/gossmap.o common/fp16.o common/dijkstra.o common/route.o common/blindedpath.o common/hmac.o common/blinding.o

plugins/esplora: bitcoin/chainparams.o $(PLUGIN_ESPLORA_OBJS) $(PLUGIN_LIB_OBJS) $(PLUGIN_COMMON_OBJS) $(JSMN_OBJS) $(CCAN_OBJS) -lcurl -lssl -lcrypto

$(PLUGIN_ALL_OBJS): $(PLUGIN_LIB_HEADER)

# Generated from PLUGINS definition in plugins/Makefile
Expand Down
Loading

0 comments on commit e57c371

Please sign in to comment.