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 from- consensus/tx_verify.cppto- consensus/tx_check.cpp
- urlDecodemoves from- httpserver.cppto- util/url.cpp
- TransactionErrorStringmoves from- node/transaction.cppto- util/error.cpp
- StringForFeeReasonand- FeeModeFromStringmove from- policy/fees.cppto- util/fees.cpp
- incrementalRelayFee- dustRelayFeeand- nBytesPerSigOpmove from- policy/policy.cppto- policy/settings.cpp
- SignalsOptInRBFmoves from- policy/rbf.cppto- util/rbf.cpp
- fIsBareMultisigStdmoves from- validation.cppto- policy/settings.cpp
- ConstructTransaction- TxInErrorToJSONand- SignTransactionmove from- rpc/rawtransaction.cppto- rpc/rawtransaction_util.cpp
- RPCTypeCheck- RPCTypeCheckArgument- RPCTypeCheckObj- AmountFromValue- ParseHashV``ParseHashO- ParseHexV- ParseHexO- HelpExampleCliand- HelpExampleRpcmove from- rpc/server.cppto- rpc/util.cpp
- AmountHighWarnand- AmountErrMsgmove from- ui_interface.cppto- util/error.cpp
- FormatStateMessageand- strMessageMagicmove from- validation.cppto- util/validation.cpp
- VerifyWallets- LoadWallets- StartWallets- FlushWallets- StopWalletsand- UnloadWalletsmove from- wallet/init.cppto- wallet/node.cpp