Some future work needs to touch things in script/standard.{h/cpp}, however it is unclear if it is safe to do so as they are included in several different places that could effect standardness and consensus. It contains a mix of policy parameters, consensus parameters, and utilities only used by the wallet. This PR breaks up the various components and renames the files to clearly separate everything.
CTxDestinationis moved to a new filesrc/addresstype.{cpp/h}TaprootSpendDataandTaprootBuilder(and their utility functions and structs) are moved toSigningProvideras these are used only during signing.CScriptIDis moved toscript/script.hto be next toCScript.MANDATORY_SCRIPT_VERIFY_FLAGSis moved tointerpreter.h- The parameters
DEFAULT_ACCEPT_DATACARRIERandMAX_OP_RETURN_RELAYare moved topolicy.h standard.{cpp/h}is renamed tosolver.{cpp/h}since that’s all that’s left in the file after the above moves