mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
967de4e231
90744d0d65
Merge bitcoin/bitcoin#25115: scripted-diff: replace non-standard fixed width integer types (`u_int`... -> `uint`...) (fanquake)e4f8b7097d
Merge bitcoin/bitcoin#24852: util: optimize HexStr (laanwj)1288494d4a
Merge bitcoin/bitcoin#24976: netgroup: Follow-up for #22910 (fanquake)656f525855
Merge bitcoin-core/gui#543: peers-tab: add connection duration column to tableview (Hennadii Stepanov)33b9771ebc
Merge bitcoin/bitcoin#24749: test: use MiniWallet for mempool_unbroadcast.py (MarcoFalke)36e9b5fead
Merge bitcoin/bitcoin#24381: test: Run symlink regression tests on Windows (laanwj)a1691c7c2a
Merge bitcoin/bitcoin#24102: mempool: Run coin.IsSpent only once in a row (MarcoFalke)acbf718b57
Merge bitcoin/bitcoin#23976: document and clean up MaybeUpdateMempoolForReorg (MarcoFalke)73e1861576
Merge bitcoin/bitcoin#23750: rpcwallet: mention labels are disabled for ranged descriptors (MarcoFalke)c2fd4fe379
Merge bitcoin/bitcoin#23515: test: Return the largest utxo in MiniWallet.get_utxo (MarcoFalke)7455b5557a
Merge bitcoin-core/gui#454: Use only Qt translation primitives in GUI code (Hennadii Stepanov)95aeb6a08d
Merge bitcoin-core/gui#436: Include vout when copying transaction ID from coin selection (Hennadii Stepanov)02b5fce942
Merge bitcoin-core/gui#318: Add `Copy address` Peers Tab Context Menu Action (Hennadii Stepanov)e4774b9dad
Merge bitcoin-core/gui#384: Add copy IP/Netmask action for banned peer (Hennadii Stepanov) Pull request description: ## Issue being fixed or feature implemented batch of trivial backports ## What was done? ## How Has This Been Tested? ## Breaking Changes ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK90744d0d65
kwvg: utACK90744d0d65
Tree-SHA512: 64b562f559f0be9f04b033a642aea3f9a9b49c69a957fa2fd4a1dbc263c465ca26ef2db987b7200cf861ff3989a54376273eeb224f60a54308dfa19897b67724
114 lines
3.2 KiB
Makefile
114 lines
3.2 KiB
Makefile
# Copyright (c) 2015-2016 The Bitcoin Core developers
|
|
# Copyright (c) 2014-2018 The Dash Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
bin_PROGRAMS += bench/bench_dash
|
|
BENCH_SRCDIR = bench
|
|
BENCH_BINARY = bench/bench_dash$(EXEEXT)
|
|
|
|
RAW_BENCH_FILES = \
|
|
bench/data/block813851.raw
|
|
GENERATED_BENCH_FILES = $(RAW_BENCH_FILES:.raw=.raw.h)
|
|
|
|
bench_bench_dash_SOURCES = \
|
|
$(RAW_BENCH_FILES) \
|
|
bench/addrman.cpp \
|
|
bench/bench_bitcoin.cpp \
|
|
bench/bench.cpp \
|
|
bench/bench.h \
|
|
bench/bip324_ecdh.cpp \
|
|
bench/block_assemble.cpp \
|
|
bench/bls.cpp \
|
|
bench/bls_dkg.cpp \
|
|
bench/checkblock.cpp \
|
|
bench/checkqueue.cpp \
|
|
bench/data.h \
|
|
bench/data.cpp \
|
|
bench/duplicate_inputs.cpp \
|
|
bench/ecdsa.cpp \
|
|
bench/ellswift.cpp \
|
|
bench/examples.cpp \
|
|
bench/rollingbloom.cpp \
|
|
bench/chacha20.cpp \
|
|
bench/crypto_hash.cpp \
|
|
bench/ccoins_caching.cpp \
|
|
bench/gcs_filter.cpp \
|
|
bench/hashpadding.cpp \
|
|
bench/load_external.cpp \
|
|
bench/merkle_root.cpp \
|
|
bench/mempool_eviction.cpp \
|
|
bench/mempool_stress.cpp \
|
|
bench/nanobench.h \
|
|
bench/nanobench.cpp \
|
|
bench/peer_eviction.cpp \
|
|
bench/pool.cpp \
|
|
bench/rpc_blockchain.cpp \
|
|
bench/rpc_mempool.cpp \
|
|
bench/strencodings.cpp \
|
|
bench/util_time.cpp \
|
|
bench/base58.cpp \
|
|
bench/bech32.cpp \
|
|
bench/lockedpool.cpp \
|
|
bench/poly1305.cpp \
|
|
bench/prevector.cpp \
|
|
bench/string_cast.cpp \
|
|
bench/verify_script.cpp
|
|
|
|
nodist_bench_bench_dash_SOURCES = $(GENERATED_BENCH_FILES)
|
|
|
|
bench_bench_dash_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CFLAGS) $(EVENT_PTHREADS_CFLAGS) -I$(builddir)/bench/
|
|
bench_bench_dash_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
bench_bench_dash_LDADD = \
|
|
$(LIBBITCOIN_SERVER) \
|
|
$(LIBBITCOIN_WALLET) \
|
|
$(LIBBITCOIN_COMMON) \
|
|
$(LIBBITCOIN_UTIL) \
|
|
$(LIBBITCOIN_CONSENSUS) \
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
$(LIBDASHBLS) \
|
|
$(LIBTEST_UTIL) \
|
|
$(LIBLEVELDB) \
|
|
$(LIBLEVELDB_SSE42) \
|
|
$(LIBMEMENV) \
|
|
$(LIBSECP256K1) \
|
|
$(LIBUNIVALUE) \
|
|
$(EVENT_PTHREADS_LIBS) \
|
|
$(EVENT_LIBS)
|
|
|
|
if ENABLE_ZMQ
|
|
bench_bench_dash_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
|
|
endif
|
|
|
|
if ENABLE_WALLET
|
|
bench_bench_dash_SOURCES += bench/coin_selection.cpp
|
|
bench_bench_dash_SOURCES += bench/wallet_balance.cpp
|
|
endif
|
|
|
|
bench_bench_dash_LDADD += $(BACKTRACE_LIB) $(BDB_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(MINIUPNPC_LIBS) $(NATPMP_LIBS) $(SQLITE_LIBS) $(GMP_LIBS)
|
|
bench_bench_dash_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)
|
|
|
|
CLEAN_BITCOIN_BENCH = bench/*.gcda bench/*.gcno $(GENERATED_BENCH_FILES)
|
|
|
|
CLEANFILES += $(CLEAN_BITCOIN_BENCH)
|
|
|
|
bench/data.cpp: bench/data/block813851.raw.h
|
|
|
|
bitcoin_bench: $(BENCH_BINARY)
|
|
|
|
bench: $(BENCH_BINARY) FORCE
|
|
$(BENCH_BINARY)
|
|
|
|
bitcoin_bench_clean : FORCE
|
|
rm -f $(CLEAN_BITCOIN_BENCH) $(bench_bench_dash_OBJECTS) $(BENCH_BINARY)
|
|
|
|
bench/data/%.raw.h: bench/data/%.raw
|
|
@$(MKDIR_P) $(@D)
|
|
@{ \
|
|
echo "namespace raw_bench{" && \
|
|
echo "static unsigned const char $(*F)_raw[] = {" && \
|
|
$(HEXDUMP) -v -e '8/1 "0x%02x, "' -e '"\n"' $< | $(SED) -e 's/0x ,//g' && \
|
|
echo "};};"; \
|
|
} > "$@.new" && mv -f "$@.new" "$@"
|
|
@echo "Generated $@"
|