File tree Expand file tree Collapse file tree 3 files changed +515
-0
lines changed Expand file tree Collapse file tree 3 files changed +515
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ ecdsa_example
12
12
schnorr_example
13
13
ellswift_example
14
14
musig_example
15
+ silentpayments_example
15
16
* .exe
16
17
* .so
17
18
* .a
Original file line number Diff line number Diff line change @@ -206,6 +206,17 @@ musig_example_LDFLAGS += -lbcrypt
206
206
endif
207
207
TESTS += musig_example
208
208
endif
209
+ if ENABLE_MODULE_SILENTPAYMENTS
210
+ noinst_PROGRAMS += silentpayments_example
211
+ silentpayments_example_SOURCES = examples/silentpayments.c
212
+ silentpayments_example_CPPFLAGS = -I$(top_srcdir ) /include -DSECP256K1_STATIC
213
+ silentpayments_example_LDADD = libsecp256k1.la
214
+ silentpayments_example_LDFLAGS = -static
215
+ if BUILD_WINDOWS
216
+ silentpayments_example_LDFLAGS += -lbcrypt
217
+ endif
218
+ TESTS += silentpayments_example
219
+ endif
209
220
endif
210
221
211
222
# ## Precomputed tables
You can’t perform that action at this time.
0 commit comments