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.
CTxDestination
is moved to a new filesrc/addresstype.{cpp/h}
TaprootSpendData
andTaprootBuilder
(and their utility functions and structs) are moved toSigningProvider
as these are used only during signing.CScriptID
is moved toscript/script.h
to be next toCScript
.MANDATORY_SCRIPT_VERIFY_FLAGS
is moved tointerpreter.h
- The parameters
DEFAULT_ACCEPT_DATACARRIER
andMAX_OP_RETURN_RELAY
are 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