dash/src/util
Wladimir J. van der Laan 13188e1d92
Merge #19331: build: Do not include server symbols in wallet
faca73000fa8975c28f6be8be01957c1ae94ea62 ci: Install fixed version of clang-format for linters (MarcoFalke)
fa4695da4c69646b58a8fa0b6b30146bb234deb8 build: Sort Makefile.am after renaming file (MarcoFalke)
cccc2784a3bb10fa8e43be7e68207cafb12bd915 scripted-diff: Move ui_interface to the node lib (MarcoFalke)
fa72ca6a9d90d66012765b0043fd819698b94ba8 qt: Remove unused includes (MarcoFalke)
fac96e6450d595fe67168cb7afa7692da6cc9973 wallet: Do not include server symbols (MarcoFalke)
fa0f6c58c1c6d10f04c4e65a424cc51ebca50a8c Revert "Fix link error with --enable-debug" (MarcoFalke)

Pull request description:

  This reverts a hacky workaround from commit b83cc0f, which only happens to work due to compiler optimizations. Then, it actually fixes the linker error.

  The underlying problem is that the wallet includes symbols from the server (ui_interface), which usually results in linker failures. Though, in this specific case the linker failures have not been observed (unless `-O0`) because our compilers were smart enough to strip unused symbols.

  Fix the underlying problem by creating a new header-only with the needed symbol and move ui_interface to node to clarify that this is part of libbitcoin_server.

ACKs for top commit:
  Sjors:
    ACK faca730
  laanwj:
    ACK faca73000fa8975c28f6be8be01957c1ae94ea62
  hebasto:
    re-ACK faca73000fa8975c28f6be8be01957c1ae94ea62, since the [previous](https://github.com/bitcoin/bitcoin/pull/19331#pullrequestreview-434420539) review:

Tree-SHA512: e9731f249425aaea50b6db5fc7622e10078cf006721bb87989cac190a2ff224412f6f8a7dd83efd018835302337611f5839e29e15bef366047ed591cef58dfb4
2024-01-10 12:06:05 -06:00
..
asmap.cpp Merge #18216: test, build: Enable -Werror=sign-compare 2024-01-06 19:30:13 -06:00
asmap.h merge bitcoin#18512: Improve asmap checks and add sanity check 2022-03-25 00:58:20 +05:30
bip32.cpp Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
bip32.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
bytevectorhash.cpp merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
bytevectorhash.h merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
check.cpp merge bitcoin#24714: Don't use a lambda for Assert/Assume 2023-09-04 20:50:27 -05:00
check.h Merge bitcoin/bitcoin#24729: util/check: avoid unused parameter warnings 2024-01-02 11:17:47 -06:00
enumerate.h fix: add missing includes and remove obsolete includes (#5562) 2023-09-07 09:07:02 -05:00
epochguard.h Merge bitcoin/bitcoin#22481: mempool: apply rule of 5 to epochguard.h, fix compiler warnings 2023-12-24 11:59:46 -06:00
error.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
error.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
fastrange.h merge bitcoin#23994: Consolidate all uses of the fast range mapping technique in util/fastrange.h 2023-09-04 20:50:27 -05:00
fees.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
fees.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
getuniquepath.cpp Merge bitcoin/bitcoin#22916: doc: add missing copyright header to getuniquepath.cpp 2022-03-13 14:52:24 -05:00
getuniquepath.h merge #21052: Replace fs::unique_path with GetUniquePath(path) calls 2021-08-09 12:38:04 +05:30
golombrice.h merge bitcoin#23994: Consolidate all uses of the fast range mapping technique in util/fastrange.h 2023-09-04 20:50:27 -05:00
hash_type.h merge bitcoin#19326: Simplify hash.h interface using Spans 2023-09-24 09:50:50 -05:00
hasher.cpp merge bitcoin#19935: Move SaltedHashers to separate file and add some new ones 2023-09-04 20:50:27 -05:00
hasher.h merge bitcoin#19935: Move SaltedHashers to separate file and add some new ones 2023-09-04 20:50:27 -05:00
irange.h chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
macros.h merge bitcoin#21059: Drop boost/preprocessor dependencies 2023-09-04 20:50:27 -05:00
message.cpp Merge #18115: wallet: Pass in transactions and messages for signing instead of exporting the private keys 2023-03-19 11:08:31 -05:00
message.h Merge #18115: wallet: Pass in transactions and messages for signing instead of exporting the private keys 2023-03-19 11:08:31 -05:00
moneystr.cpp Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
moneystr.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
overflow.h Merge bitcoin/bitcoin#24224: util: Add SaturatingAdd helper 2024-01-01 17:48:17 -06:00
ranges_set.cpp feat: add an implementation of new data structure CRangesSet 2023-08-21 10:19:29 -05:00
ranges_set.h feat: add an implementation of new data structure CRangesSet 2023-08-21 10:19:29 -05:00
ranges.h chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
readwritefile.cpp merge bitcoin#20685: Add I2P support using I2P SAM 2023-07-24 20:45:49 +03:00
readwritefile.h merge bitcoin#20685: Add I2P support using I2P SAM 2023-07-24 20:45:49 +03:00
serfloat.cpp partial bitcoin#21966: Add platform-independent float encoder/decoder 2021-06-27 12:03:15 +05:30
serfloat.h partial bitcoin#21966: Add platform-independent float encoder/decoder 2021-06-27 12:03:15 +05:30
settings.cpp feat: Check if settings file is empty (#5504) 2023-07-24 20:58:43 +03:00
settings.h Merge #17891: scripted-diff: Replace CCriticalSection with RecursiveMutex 2023-05-24 12:43:57 -05:00
sock.cpp Merge bitcoin/bitcoin#22952: Cleanup headers after #20788 2023-12-26 22:26:18 -06:00
sock.h Merge bitcoin/bitcoin#21659: net: flag relevant Sock methods with [[nodiscard]] 2023-12-03 20:44:59 -06:00
spanparsing.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
spanparsing.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
strencodings.cpp merge bitcoin#23451: Add std::byte helpers 2023-09-24 09:50:50 -05:00
strencodings.h merge bitcoin#23451: Add std::byte helpers 2023-09-24 09:50:50 -05:00
string.cpp Merge bitcoin/bitcoin#25803: refactor: Drop boost/algorithm/string/replace.hpp dependency 2023-10-31 08:40:25 -05:00
string.h Merge bitcoin/bitcoin#25803: refactor: Drop boost/algorithm/string/replace.hpp dependency 2023-10-31 08:40:25 -05:00
system.cpp Merge #20932: refactor: Replace fs::absolute calls with AbsPathJoin calls 2023-12-08 21:16:00 +03:00
system.h refactor: re-order headers and forward declarations to improve compile time (#5693) 2023-11-17 10:04:18 -06:00
thread.cpp merge bitcoin#19064: Cleanup thread ctor calls 2023-09-04 20:50:27 -05:00
thread.h merge bitcoin#19064: Cleanup thread ctor calls 2023-09-04 20:50:27 -05:00
threadnames.cpp Merge bitcoin/bitcoin#24740: doc: remove incorrect mention of PR_GET_NAME 2024-01-02 11:17:46 -06:00
threadnames.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
time.cpp Merge #21043: net: Avoid UBSan warning in ProcessMessage(...) 2023-12-08 21:16:00 +03:00
time.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
trace.h merge bitcoin#19866: eBPF Linux tracepoints 2023-09-04 20:50:27 -05:00
translation.h Merge #17260: Split some CWallet functions into new LegacyScriptPubKeyMan (#4938) 2022-08-08 11:05:21 -05:00
ui_change_type.h Merge #19331: build: Do not include server symbols in wallet 2024-01-10 12:06:05 -06:00
underlying.h refactor: implement c++23 inspired ToUnderlying (#5210) 2023-02-20 13:12:12 +03:00
url.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
url.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
vector.h