Merge #19331: build: Do not include server symbols in wallet
faca73000f
ci: Install fixed version of clang-format for linters (MarcoFalke)fa4695da4c
build: Sort Makefile.am after renaming file (MarcoFalke)cccc2784a3
scripted-diff: Move ui_interface to the node lib (MarcoFalke)fa72ca6a9d
qt: Remove unused includes (MarcoFalke)fac96e6450
wallet: Do not include server symbols (MarcoFalke)fa0f6c58c1
Revert "Fix link error with --enable-debug" (MarcoFalke) Pull request description: This reverts a hacky workaround from commitb83cc0f
, 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: ACKfaca730
laanwj: ACKfaca73000f
hebasto: re-ACKfaca73000f
, since the [previous](https://github.com/bitcoin/bitcoin/pull/19331#pullrequestreview-434420539) review: Tree-SHA512: e9731f249425aaea50b6db5fc7622e10078cf006721bb87989cac190a2ff224412f6f8a7dd83efd018835302337611f5839e29e15bef366047ed591cef58dfb4
This commit is contained in:
commit
bb588669f9
30 changed files with 62 additions and 52 deletions
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
|
travis_retry sudo apt update && sudo apt install -y clang-format-9
|
||||||
|
sudo update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-9 ) 100
|
||||||
|
sudo update-alternatives --install /usr/bin/clang-format-diff clang-format-diff $(which clang-format-diff-9) 100
|
||||||
|
|
||||||
travis_retry pip3 install codespell==1.17.1
|
travis_retry pip3 install codespell==1.17.1
|
||||||
travis_retry pip3 install flake8==3.8.3
|
travis_retry pip3 install flake8==3.8.3
|
||||||
travis_retry pip3 install yq
|
travis_retry pip3 install yq
|
||||||
|
|
|
@ -110,9 +110,9 @@ BITCOIN_CORE_H = \
|
||||||
banman.h \
|
banman.h \
|
||||||
base58.h \
|
base58.h \
|
||||||
bech32.h \
|
bech32.h \
|
||||||
bloom.h \
|
|
||||||
blockencodings.h \
|
blockencodings.h \
|
||||||
blockfilter.h \
|
blockfilter.h \
|
||||||
|
bloom.h \
|
||||||
chain.h \
|
chain.h \
|
||||||
chainparams.h \
|
chainparams.h \
|
||||||
chainparamsbase.h \
|
chainparamsbase.h \
|
||||||
|
@ -133,6 +133,7 @@ BITCOIN_CORE_H = \
|
||||||
core_io.h \
|
core_io.h \
|
||||||
core_memusage.h \
|
core_memusage.h \
|
||||||
cuckoocache.h \
|
cuckoocache.h \
|
||||||
|
dbwrapper.h \
|
||||||
flatfile.h \
|
flatfile.h \
|
||||||
fs.h \
|
fs.h \
|
||||||
httprpc.h \
|
httprpc.h \
|
||||||
|
@ -148,7 +149,6 @@ BITCOIN_CORE_H = \
|
||||||
interfaces/wallet.h \
|
interfaces/wallet.h \
|
||||||
key.h \
|
key.h \
|
||||||
key_io.h \
|
key_io.h \
|
||||||
dbwrapper.h \
|
|
||||||
limitedmap.h \
|
limitedmap.h \
|
||||||
logging.h \
|
logging.h \
|
||||||
logging/timer.h \
|
logging/timer.h \
|
||||||
|
@ -167,6 +167,7 @@ BITCOIN_CORE_H = \
|
||||||
node/context.h \
|
node/context.h \
|
||||||
node/psbt.h \
|
node/psbt.h \
|
||||||
node/transaction.h \
|
node/transaction.h \
|
||||||
|
node/ui_interface.h \
|
||||||
node/utxo_snapshot.h \
|
node/utxo_snapshot.h \
|
||||||
noui.h \
|
noui.h \
|
||||||
optional.h \
|
optional.h \
|
||||||
|
@ -206,13 +207,12 @@ BITCOIN_CORE_H = \
|
||||||
support/events.h \
|
support/events.h \
|
||||||
support/lockedpool.h \
|
support/lockedpool.h \
|
||||||
sync.h \
|
sync.h \
|
||||||
threadsafety.h \
|
|
||||||
threadinterrupt.h \
|
threadinterrupt.h \
|
||||||
|
threadsafety.h \
|
||||||
timedata.h \
|
timedata.h \
|
||||||
torcontrol.h \
|
torcontrol.h \
|
||||||
txdb.h \
|
txdb.h \
|
||||||
txmempool.h \
|
txmempool.h \
|
||||||
ui_interface.h \
|
|
||||||
undo.h \
|
undo.h \
|
||||||
util/asmap.h \
|
util/asmap.h \
|
||||||
util/bip32.h \
|
util/bip32.h \
|
||||||
|
@ -221,8 +221,6 @@ BITCOIN_CORE_H = \
|
||||||
util/error.h \
|
util/error.h \
|
||||||
util/fees.h \
|
util/fees.h \
|
||||||
util/golombrice.h \
|
util/golombrice.h \
|
||||||
util/spanparsing.h \
|
|
||||||
util/system.h \
|
|
||||||
util/macros.h \
|
util/macros.h \
|
||||||
util/memory.h \
|
util/memory.h \
|
||||||
util/message.h \
|
util/message.h \
|
||||||
|
@ -230,19 +228,22 @@ BITCOIN_CORE_H = \
|
||||||
util/rbf.h \
|
util/rbf.h \
|
||||||
util/ref.h \
|
util/ref.h \
|
||||||
util/settings.h \
|
util/settings.h \
|
||||||
|
util/spanparsing.h \
|
||||||
util/string.h \
|
util/string.h \
|
||||||
|
util/system.h \
|
||||||
util/threadnames.h \
|
util/threadnames.h \
|
||||||
util/time.h \
|
util/time.h \
|
||||||
util/translation.h \
|
util/translation.h \
|
||||||
|
util/ui_change_type.h \
|
||||||
util/url.h \
|
util/url.h \
|
||||||
util/vector.h \
|
util/vector.h \
|
||||||
validation.h \
|
validation.h \
|
||||||
validationinterface.h \
|
validationinterface.h \
|
||||||
versionbits.h \
|
versionbits.h \
|
||||||
versionbitsinfo.h \
|
versionbitsinfo.h \
|
||||||
walletinitinterface.h \
|
|
||||||
wallet/bdb.h \
|
wallet/bdb.h \
|
||||||
wallet/coincontrol.h \
|
wallet/coincontrol.h \
|
||||||
|
wallet/coinselection.h \
|
||||||
wallet/context.h \
|
wallet/context.h \
|
||||||
wallet/crypter.h \
|
wallet/crypter.h \
|
||||||
wallet/db.h \
|
wallet/db.h \
|
||||||
|
@ -257,7 +258,7 @@ BITCOIN_CORE_H = \
|
||||||
wallet/walletdb.h \
|
wallet/walletdb.h \
|
||||||
wallet/wallettool.h \
|
wallet/wallettool.h \
|
||||||
wallet/walletutil.h \
|
wallet/walletutil.h \
|
||||||
wallet/coinselection.h \
|
walletinitinterface.h \
|
||||||
warnings.h \
|
warnings.h \
|
||||||
zmq/zmqabstractnotifier.h \
|
zmq/zmqabstractnotifier.h \
|
||||||
zmq/zmqconfig.h\
|
zmq/zmqconfig.h\
|
||||||
|
@ -286,16 +287,16 @@ libbitcoin_server_a_SOURCES = \
|
||||||
blockfilter.cpp \
|
blockfilter.cpp \
|
||||||
chain.cpp \
|
chain.cpp \
|
||||||
consensus/tx_verify.cpp \
|
consensus/tx_verify.cpp \
|
||||||
|
dbwrapper.cpp \
|
||||||
flatfile.cpp \
|
flatfile.cpp \
|
||||||
httprpc.cpp \
|
httprpc.cpp \
|
||||||
httpserver.cpp \
|
httpserver.cpp \
|
||||||
index/base.cpp \
|
index/base.cpp \
|
||||||
index/blockfilterindex.cpp \
|
index/blockfilterindex.cpp \
|
||||||
index/txindex.cpp \
|
index/txindex.cpp \
|
||||||
|
init.cpp \
|
||||||
interfaces/chain.cpp \
|
interfaces/chain.cpp \
|
||||||
interfaces/node.cpp \
|
interfaces/node.cpp \
|
||||||
init.cpp \
|
|
||||||
dbwrapper.cpp \
|
|
||||||
miner.cpp \
|
miner.cpp \
|
||||||
net.cpp \
|
net.cpp \
|
||||||
net_processing.cpp \
|
net_processing.cpp \
|
||||||
|
@ -304,6 +305,7 @@ libbitcoin_server_a_SOURCES = \
|
||||||
node/context.cpp \
|
node/context.cpp \
|
||||||
node/psbt.cpp \
|
node/psbt.cpp \
|
||||||
node/transaction.cpp \
|
node/transaction.cpp \
|
||||||
|
node/ui_interface.cpp \
|
||||||
noui.cpp \
|
noui.cpp \
|
||||||
policy/fees.cpp \
|
policy/fees.cpp \
|
||||||
policy/rbf.cpp \
|
policy/rbf.cpp \
|
||||||
|
@ -322,7 +324,6 @@ libbitcoin_server_a_SOURCES = \
|
||||||
torcontrol.cpp \
|
torcontrol.cpp \
|
||||||
txdb.cpp \
|
txdb.cpp \
|
||||||
txmempool.cpp \
|
txmempool.cpp \
|
||||||
ui_interface.cpp \
|
|
||||||
validation.cpp \
|
validation.cpp \
|
||||||
validationinterface.cpp \
|
validationinterface.cpp \
|
||||||
versionbits.cpp \
|
versionbits.cpp \
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include <banman.h>
|
#include <banman.h>
|
||||||
|
|
||||||
#include <netaddress.h>
|
#include <netaddress.h>
|
||||||
#include <ui_interface.h>
|
#include <node/ui_interface.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/time.h>
|
#include <util/time.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <interfaces/chain.h>
|
#include <interfaces/chain.h>
|
||||||
#include <node/context.h>
|
#include <node/context.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <noui.h>
|
#include <noui.h>
|
||||||
#include <shutdown.h>
|
#include <shutdown.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/ref.h>
|
#include <util/ref.h>
|
||||||
#include <util/strencodings.h>
|
#include <util/strencodings.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
|
|
|
@ -7,10 +7,10 @@
|
||||||
#include <chainparamsbase.h>
|
#include <chainparamsbase.h>
|
||||||
#include <compat.h>
|
#include <compat.h>
|
||||||
#include <netbase.h>
|
#include <netbase.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <rpc/protocol.h> // For HTTP status codes
|
#include <rpc/protocol.h> // For HTTP status codes
|
||||||
#include <shutdown.h>
|
#include <shutdown.h>
|
||||||
#include <sync.h>
|
#include <sync.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/strencodings.h>
|
#include <util/strencodings.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/threadnames.h>
|
#include <util/threadnames.h>
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
#include <chainparams.h>
|
#include <chainparams.h>
|
||||||
#include <index/base.h>
|
#include <index/base.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <shutdown.h>
|
#include <shutdown.h>
|
||||||
#include <tinyformat.h>
|
#include <tinyformat.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
#include <validation.h>
|
#include <validation.h>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include <index/txindex.h>
|
#include <index/txindex.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <shutdown.h>
|
#include <shutdown.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
#include <validation.h>
|
#include <validation.h>
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include <net_processing.h>
|
#include <net_processing.h>
|
||||||
#include <netbase.h>
|
#include <netbase.h>
|
||||||
#include <node/context.h>
|
#include <node/context.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <policy/feerate.h>
|
#include <policy/feerate.h>
|
||||||
#include <policy/fees.h>
|
#include <policy/fees.h>
|
||||||
#include <policy/policy.h>
|
#include <policy/policy.h>
|
||||||
|
@ -48,7 +49,6 @@
|
||||||
#include <torcontrol.h>
|
#include <torcontrol.h>
|
||||||
#include <txdb.h>
|
#include <txdb.h>
|
||||||
#include <txmempool.h>
|
#include <txmempool.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/asmap.h>
|
#include <util/asmap.h>
|
||||||
#include <util/moneystr.h>
|
#include <util/moneystr.h>
|
||||||
#include <util/string.h>
|
#include <util/string.h>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include <node/coin.h>
|
#include <node/coin.h>
|
||||||
#include <node/context.h>
|
#include <node/context.h>
|
||||||
#include <node/transaction.h>
|
#include <node/transaction.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <policy/fees.h>
|
#include <policy/fees.h>
|
||||||
#include <policy/policy.h>
|
#include <policy/policy.h>
|
||||||
#include <policy/rbf.h>
|
#include <policy/rbf.h>
|
||||||
|
@ -25,7 +26,6 @@
|
||||||
#include <sync.h>
|
#include <sync.h>
|
||||||
#include <timedata.h>
|
#include <timedata.h>
|
||||||
#include <txmempool.h>
|
#include <txmempool.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <uint256.h>
|
#include <uint256.h>
|
||||||
#include <univalue.h>
|
#include <univalue.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include <netaddress.h>
|
#include <netaddress.h>
|
||||||
#include <netbase.h>
|
#include <netbase.h>
|
||||||
#include <node/context.h>
|
#include <node/context.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <policy/feerate.h>
|
#include <policy/feerate.h>
|
||||||
#include <policy/fees.h>
|
#include <policy/fees.h>
|
||||||
#include <policy/settings.h>
|
#include <policy/settings.h>
|
||||||
|
@ -26,7 +27,6 @@
|
||||||
#include <support/allocators/secure.h>
|
#include <support/allocators/secure.h>
|
||||||
#include <sync.h>
|
#include <sync.h>
|
||||||
#include <txmempool.h>
|
#include <txmempool.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/ref.h>
|
#include <util/ref.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
#include <script/standard.h>
|
#include <script/standard.h>
|
||||||
#include <support/allocators/secure.h>
|
#include <support/allocators/secure.h>
|
||||||
#include <sync.h>
|
#include <sync.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <uint256.h>
|
#include <uint256.h>
|
||||||
#include <util/check.h>
|
#include <util/check.h>
|
||||||
#include <util/ref.h>
|
#include <util/ref.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
|
#include <util/ui_change_type.h>
|
||||||
#include <wallet/context.h>
|
#include <wallet/context.h>
|
||||||
#include <wallet/feebumper.h>
|
#include <wallet/feebumper.h>
|
||||||
#include <wallet/fees.h>
|
#include <wallet/fees.h>
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
#include <pubkey.h> // For CKeyID and CScriptID (definitions needed in CTxDestination instantiation)
|
#include <pubkey.h> // For CKeyID and CScriptID (definitions needed in CTxDestination instantiation)
|
||||||
#include <script/standard.h> // For CTxDestination
|
#include <script/standard.h> // For CTxDestination
|
||||||
#include <support/allocators/secure.h> // For SecureString
|
#include <support/allocators/secure.h> // For SecureString
|
||||||
#include <ui_interface.h> // For ChangeType
|
|
||||||
#include <util/message.h>
|
#include <util/message.h>
|
||||||
|
#include <util/ui_change_type.h>
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
#include <clientversion.h>
|
#include <clientversion.h>
|
||||||
#include <consensus/consensus.h>
|
#include <consensus/consensus.h>
|
||||||
#include <crypto/sha256.h>
|
#include <crypto/sha256.h>
|
||||||
#include <netbase.h>
|
|
||||||
#include <net_permissions.h>
|
#include <net_permissions.h>
|
||||||
|
#include <netbase.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <protocol.h>
|
#include <protocol.h>
|
||||||
#include <random.h>
|
#include <random.h>
|
||||||
#include <scheduler.h>
|
#include <scheduler.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/strencodings.h>
|
#include <util/strencodings.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include <ui_interface.h>
|
#include <node/ui_interface.h>
|
||||||
|
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#ifndef BITCOIN_UI_INTERFACE_H
|
#ifndef BITCOIN_NODE_UI_INTERFACE_H
|
||||||
#define BITCOIN_UI_INTERFACE_H
|
#define BITCOIN_NODE_UI_INTERFACE_H
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -20,14 +20,6 @@ class connection;
|
||||||
}
|
}
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
/** General change type (added, updated, removed). */
|
|
||||||
enum ChangeType
|
|
||||||
{
|
|
||||||
CT_NEW,
|
|
||||||
CT_UPDATED,
|
|
||||||
CT_DELETED
|
|
||||||
};
|
|
||||||
|
|
||||||
/** Signals for UI communication. */
|
/** Signals for UI communication. */
|
||||||
class CClientUIInterface
|
class CClientUIInterface
|
||||||
{
|
{
|
||||||
|
@ -122,8 +114,8 @@ void InitWarning(const bilingual_str& str);
|
||||||
|
|
||||||
/** Show error message **/
|
/** Show error message **/
|
||||||
bool InitError(const bilingual_str& str);
|
bool InitError(const bilingual_str& str);
|
||||||
inline bool AbortError(const bilingual_str& str) { return InitError(str); }
|
constexpr auto AbortError = InitError;
|
||||||
|
|
||||||
extern CClientUIInterface uiInterface;
|
extern CClientUIInterface uiInterface;
|
||||||
|
|
||||||
#endif // BITCOIN_UI_INTERFACE_H
|
#endif // BITCOIN_NODE_UI_INTERFACE_H
|
|
@ -6,7 +6,7 @@
|
||||||
#include <noui.h>
|
#include <noui.h>
|
||||||
|
|
||||||
#include <logging.h>
|
#include <logging.h>
|
||||||
#include <ui_interface.h>
|
#include <node/ui_interface.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -30,11 +30,10 @@
|
||||||
#include <interfaces/handler.h>
|
#include <interfaces/handler.h>
|
||||||
#include <interfaces/node.h>
|
#include <interfaces/node.h>
|
||||||
#include <noui.h>
|
#include <noui.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <uint256.h>
|
#include <uint256.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
|
||||||
#include <util/threadnames.h>
|
#include <util/threadnames.h>
|
||||||
|
#include <util/translation.h>
|
||||||
#include <validation.h>
|
#include <validation.h>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include <chainparams.h>
|
#include <chainparams.h>
|
||||||
#include <interfaces/handler.h>
|
#include <interfaces/handler.h>
|
||||||
#include <interfaces/node.h>
|
#include <interfaces/node.h>
|
||||||
#include <ui_interface.h>
|
#include <node/ui_interface.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
#include <validation.h>
|
#include <validation.h>
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
|
|
||||||
#include <chainparams.h>
|
#include <chainparams.h>
|
||||||
#include <interfaces/node.h>
|
#include <interfaces/node.h>
|
||||||
#include <policy/policy.h>
|
|
||||||
#include <key_io.h>
|
#include <key_io.h>
|
||||||
#include <ui_interface.h>
|
#include <node/ui_interface.h>
|
||||||
|
#include <policy/policy.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <wallet/wallet.h>
|
#include <wallet/wallet.h>
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
#include <chainparams.h>
|
#include <chainparams.h>
|
||||||
#include <interfaces/node.h>
|
#include <interfaces/node.h>
|
||||||
#include <key_io.h>
|
#include <key_io.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <policy/fees.h>
|
#include <policy/fees.h>
|
||||||
#include <txmempool.h>
|
#include <txmempool.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <wallet/coincontrol.h>
|
#include <wallet/coincontrol.h>
|
||||||
#include <wallet/fees.h>
|
#include <wallet/fees.h>
|
||||||
#include <wallet/wallet.h>
|
#include <wallet/wallet.h>
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
#include <interfaces/wallet.h>
|
#include <interfaces/wallet.h>
|
||||||
#include <qt/guiutil.h>
|
#include <qt/guiutil.h>
|
||||||
#include <qt/networkstyle.h>
|
#include <qt/networkstyle.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include <qt/transactiontablemodel.h>
|
#include <qt/transactiontablemodel.h>
|
||||||
#include <qt/walletmodel.h>
|
#include <qt/walletmodel.h>
|
||||||
|
|
||||||
#include <ui_interface.h>
|
#include <node/ui_interface.h>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <interfaces/handler.h>
|
#include <interfaces/handler.h>
|
||||||
#include <interfaces/node.h>
|
#include <interfaces/node.h>
|
||||||
#include <key_io.h>
|
#include <key_io.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <psbt.h>
|
#include <psbt.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/system.h> // for GetBoolArg
|
#include <util/system.h> // for GetBoolArg
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
#include <wallet/coincontrol.h>
|
#include <wallet/coincontrol.h>
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
#include <qt/walletmodel.h>
|
#include <qt/walletmodel.h>
|
||||||
|
|
||||||
#include <interfaces/node.h>
|
#include <interfaces/node.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <psbt.h>
|
#include <psbt.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/strencodings.h>
|
#include <util/strencodings.h>
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
#include <timedata.h>
|
#include <timedata.h>
|
||||||
|
|
||||||
#include <netaddress.h>
|
#include <netaddress.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <sync.h>
|
#include <sync.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
#include <warnings.h>
|
#include <warnings.h>
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
|
|
||||||
#include <txdb.h>
|
#include <txdb.h>
|
||||||
|
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <pow.h>
|
#include <pow.h>
|
||||||
#include <random.h>
|
#include <random.h>
|
||||||
#include <shutdown.h>
|
#include <shutdown.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <uint256.h>
|
#include <uint256.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
15
src/util/ui_change_type.h
Normal file
15
src/util/ui_change_type.h
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
// Copyright (c) 2012-2020 The Bitcoin Core developers
|
||||||
|
// Distributed under the MIT software license, see the accompanying
|
||||||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
#ifndef BITCOIN_UTIL_UI_CHANGE_TYPE_H
|
||||||
|
#define BITCOIN_UTIL_UI_CHANGE_TYPE_H
|
||||||
|
|
||||||
|
/** General change type (added, updated, removed). */
|
||||||
|
enum ChangeType {
|
||||||
|
CT_NEW,
|
||||||
|
CT_UPDATED,
|
||||||
|
CT_DELETED
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // BITCOIN_UTIL_UI_CHANGE_TYPE_H
|
|
@ -20,6 +20,7 @@
|
||||||
#include <index/txindex.h>
|
#include <index/txindex.h>
|
||||||
#include <logging.h>
|
#include <logging.h>
|
||||||
#include <logging/timer.h>
|
#include <logging/timer.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <optional.h>
|
#include <optional.h>
|
||||||
#include <policy/fees.h>
|
#include <policy/fees.h>
|
||||||
#include <policy/policy.h>
|
#include <policy/policy.h>
|
||||||
|
@ -36,7 +37,6 @@
|
||||||
#include <tinyformat.h>
|
#include <tinyformat.h>
|
||||||
#include <txdb.h>
|
#include <txdb.h>
|
||||||
#include <txmempool.h>
|
#include <txmempool.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <uint256.h>
|
#include <uint256.h>
|
||||||
#include <undo.h>
|
#include <undo.h>
|
||||||
#include <util/moneystr.h>
|
#include <util/moneystr.h>
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
#include <interfaces/chain.h>
|
#include <interfaces/chain.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <node/context.h>
|
#include <node/context.h>
|
||||||
|
#include <node/ui_interface.h>
|
||||||
#include <outputtype.h>
|
#include <outputtype.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/moneystr.h>
|
#include <util/moneystr.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
#include <policy/feerate.h>
|
#include <policy/feerate.h>
|
||||||
#include <psbt.h>
|
#include <psbt.h>
|
||||||
#include <tinyformat.h>
|
#include <tinyformat.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/message.h>
|
#include <util/message.h>
|
||||||
#include <util/strencodings.h>
|
#include <util/strencodings.h>
|
||||||
#include <util/string.h>
|
#include <util/string.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
|
#include <util/ui_change_type.h>
|
||||||
#include <validationinterface.h>
|
#include <validationinterface.h>
|
||||||
#include <wallet/coinselection.h>
|
#include <wallet/coinselection.h>
|
||||||
#include <wallet/crypter.h>
|
#include <wallet/crypter.h>
|
||||||
|
|
Loading…
Reference in a new issue