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 file- src/addresstype.{cpp/h}
- TaprootSpendDataand- TaprootBuilder(and their utility functions and structs) are moved to- SigningProvideras these are used only during signing.
- CScriptIDis moved to- script/script.hto be next to- CScript.
- MANDATORY_SCRIPT_VERIFY_FLAGSis moved to- interpreter.h
- The parameters DEFAULT_ACCEPT_DATACARRIERandMAX_OP_RETURN_RELAYare moved topolicy.h
- standard.{cpp/h}is renamed to- solver.{cpp/h}since that’s all that’s left in the file after the above moves