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:
CheckTransactionmoves fromconsensus/tx_verify.cpptoconsensus/tx_check.cppurlDecodemoves fromhttpserver.cpptoutil/url.cppTransactionErrorStringmoves fromnode/transaction.cpptoutil/error.cppStringForFeeReasonandFeeModeFromStringmove frompolicy/fees.cpptoutil/fees.cppincrementalRelayFeedustRelayFeeandnBytesPerSigOpmove frompolicy/policy.cpptopolicy/settings.cppSignalsOptInRBFmoves frompolicy/rbf.cpptoutil/rbf.cppfIsBareMultisigStdmoves fromvalidation.cpptopolicy/settings.cppConstructTransactionTxInErrorToJSONandSignTransactionmove fromrpc/rawtransaction.cpptorpc/rawtransaction_util.cppRPCTypeCheckRPCTypeCheckArgumentRPCTypeCheckObjAmountFromValueParseHashV``ParseHashOParseHexVParseHexOHelpExampleCliandHelpExampleRpcmove fromrpc/server.cpptorpc/util.cppAmountHighWarnandAmountErrMsgmove fromui_interface.cpptoutil/error.cppFormatStateMessageandstrMessageMagicmove fromvalidation.cpptoutil/validation.cppVerifyWalletsLoadWalletsStartWalletsFlushWalletsStopWalletsandUnloadWalletsmove fromwallet/init.cpptowallet/node.cpp