This is a move-only commit. No code is changing and the moves can be easily verified with:
0git log -p -n1 --color-moved=dimmed_zebra
This commit moves functions and variables that wallet code depends on out of libbitcoin_server.a, so the bitcoin-wallet tool can be built without libbitcoin_server.a in #15639, and attempting to access server state from wallet code will result in link errors instead of silently broken code.
List of moves:
CheckTransaction
moves fromconsensus/tx_verify.cpp
toconsensus/tx_check.cpp
urlDecode
moves fromhttpserver.cpp
toutil/url.cpp
TransactionErrorString
moves fromnode/transaction.cpp
toutil/error.cpp
StringForFeeReason
andFeeModeFromString
move frompolicy/fees.cpp
toutil/fees.cpp
incrementalRelayFee
dustRelayFee
andnBytesPerSigOp
move frompolicy/policy.cpp
topolicy/settings.cpp
SignalsOptInRBF
moves frompolicy/rbf.cpp
toutil/rbf.cpp
fIsBareMultisigStd
moves fromvalidation.cpp
topolicy/settings.cpp
ConstructTransaction
TxInErrorToJSON
andSignTransaction
move fromrpc/rawtransaction.cpp
torpc/rawtransaction_util.cpp
RPCTypeCheck
RPCTypeCheckArgument
RPCTypeCheckObj
AmountFromValue
ParseHashV``ParseHashO
ParseHexV
ParseHexO
HelpExampleCli
andHelpExampleRpc
move fromrpc/server.cpp
torpc/util.cpp
AmountHighWarn
andAmountErrMsg
move fromui_interface.cpp
toutil/error.cpp
FormatStateMessage
andstrMessageMagic
move fromvalidation.cpp
toutil/validation.cpp
VerifyWallets
LoadWallets
StartWallets
FlushWallets
StopWallets
andUnloadWallets
move fromwallet/init.cpp
towallet/node.cpp