File tree Expand file tree Collapse file tree 4 files changed +634
-0
lines changed Expand file tree Collapse file tree 4 files changed +634
-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 @@ -207,6 +207,17 @@ musig_example_LDFLAGS += -lbcrypt
207
207
endif
208
208
TESTS += musig_example
209
209
endif
210
+ if ENABLE_MODULE_SILENTPAYMENTS
211
+ noinst_PROGRAMS += silentpayments_example
212
+ silentpayments_example_SOURCES = examples/silentpayments.c
213
+ silentpayments_example_CPPFLAGS = -I$(top_srcdir ) /include -DSECP256K1_STATIC
214
+ silentpayments_example_LDADD = libsecp256k1.la
215
+ silentpayments_example_LDFLAGS = -static
216
+ if BUILD_WINDOWS
217
+ silentpayments_example_LDFLAGS += -lbcrypt
218
+ endif
219
+ TESTS += silentpayments_example
220
+ endif
210
221
endif
211
222
212
223
# ## Precomputed tables
Original file line number Diff line number Diff line change @@ -29,3 +29,7 @@ endif()
29
29
if (SECP256K1_ENABLE_MODULE_MUSIG )
30
30
add_example (musig )
31
31
endif ()
32
+
33
+ if (SECP256K1_ENABLE_MODULE_SILENTPAYMENTS )
34
+ add_example (silentpayments )
35
+ endif ()
You can’t perform that action at this time.
0 commit comments