Skip to content

Commit f3aa488

Browse files
committed
Merge branch 'rm_minisketch-28+k' into svg_icon-28+knots
2 parents bc9cb3e + 18043c4 commit f3aa488

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

ci/test/03_test_script.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ du -sh "${PREVIOUS_RELEASES_DIR}"
143143
if [[ $HOST = *-mingw32 ]]; then
144144
# Generate all binaries, so that they can be wrapped
145145
make "$MAKEJOBS" -C src/secp256k1 VERBOSE=1
146-
make "$MAKEJOBS" -C src minisketch/test.exe VERBOSE=1
147146
"${BASE_ROOT_DIR}/ci/test/wrap-wine.sh"
148147
fi
149148

contrib/guix/libexec/make_release_tarball.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ set -ex
1414
GIT_ARCHIVE="$1"
1515
DISTNAME="$2"
1616

17-
git archive --prefix="${DISTNAME}/" HEAD | tar -xp
17+
git archive --prefix="${DISTNAME}/" HEAD | tar -xp --exclude '*minisketch*'
18+
19+
# Generate correct build info file from git, before we lose git
20+
GIT_BUILD_INFO="$(share/genbuild.sh /dev/stdout)"
21+
sed 's/\/\/ No build information available/'"${GIT_BUILD_INFO}"'/' -i "${DISTNAME}/share/genbuild.sh"
22+
1823
cd "${DISTNAME}"
1924

2025
./autogen.sh

share/genbuild.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@ else
1818
exit 1
1919
fi
2020

21+
# This checks that we are actually part of the intended git repository, and not just getting info about some unrelated git repository that the code happens to be in a directory under
22+
git_check_in_repo() {
23+
! { git status --porcelain -uall --ignored "$@" 2>/dev/null || echo '??'; } | grep -q '?'
24+
}
25+
2126
GIT_TAG=""
2227
GIT_COMMIT=""
23-
if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then
28+
if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ] && git_check_in_repo share/genbuild.sh; then
2429
# clean 'dirty' status of touched files that haven't been modified
2530
git diff >/dev/null 2>/dev/null
2631

@@ -40,7 +45,9 @@ if [ -n "$GIT_TAG" ]; then
4045
elif [ -n "$GIT_COMMIT" ]; then
4146
NEWINFO="#define BUILD_GIT_COMMIT \"$GIT_COMMIT\""
4247
else
43-
NEWINFO="// No build information available"
48+
# NOTE: The NEWINFO line below this comment gets replaced by a string-match in contrib/guix/libexec/make_release_tarball.sh
49+
# If changing it, update the script too!
50+
NEWINFO='// No build information available'
4451
fi
4552

4653
# only update build.h if necessary

src/Makefile.am

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ BITCOIN_CORE_H = \
231231
node/mempool_persist_args.h \
232232
node/miner.h \
233233
node/mini_miner.h \
234-
node/minisketchwrapper.h \
235234
node/peerman_args.h \
236235
node/protocol_version.h \
237236
node/psbt.h \
@@ -436,7 +435,6 @@ libbitcoin_node_a_SOURCES = \
436435
node/mempool_persist_args.cpp \
437436
node/miner.cpp \
438437
node/mini_miner.cpp \
439-
node/minisketchwrapper.cpp \
440438
node/peerman_args.cpp \
441439
node/psbt.cpp \
442440
node/timeoffsets.cpp \
@@ -1108,8 +1106,6 @@ endif
11081106
echo "};"; \
11091107
} > "$@.new" && mv -f "$@.new" "$@"
11101108

1111-
include Makefile.minisketch.include
1112-
11131109
if EMBEDDED_LEVELDB
11141110
include Makefile.crc32c.include
11151111
include Makefile.leveldb.include

src/Makefile.test.include

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ BITCOIN_TESTS =\
114114
test/miner_tests.cpp \
115115
test/miniminer_tests.cpp \
116116
test/miniscript_tests.cpp \
117-
test/minisketch_tests.cpp \
118117
test/multisig_tests.cpp \
119118
test/net_peer_connection_tests.cpp \
120119
test/net_peer_eviction_tests.cpp \
@@ -343,7 +342,6 @@ test_fuzz_fuzz_SOURCES = \
343342
test/fuzz/merkleblock.cpp \
344343
test/fuzz/message.cpp \
345344
test/fuzz/miniscript.cpp \
346-
test/fuzz/minisketch.cpp \
347345
test/fuzz/mini_miner.cpp \
348346
test/fuzz/muhash.cpp \
349347
test/fuzz/multiplication_overflow.cpp \

0 commit comments

Comments
 (0)