mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge bitcoin/bitcoin#28244: Break up script/standard.{h/cpp}
91d924ede1Rename script/standard.{cpp/h} to script/solver.{cpp/h} (Andrew Chow)bacdb2e208Clean up script/standard.{h/cpp} includes (Andrew Chow)f3c9078b4cClean up things that include script/standard.h (Andrew Chow)8bbe257bacMOVEONLY: Move datacarrier defaults to policy.h (Andrew Chow)7a172c76d2Move CTxDestination to its own file (Andrew Chow)145f36ec81Move Taproot{SpendData/Builder} to signingprovider.{h/cpp} (Andrew Chow)86ea8bed54Move CScriptID to script.{h/cpp} (Andrew Chow)b81ebff0d9Remove ScriptHash from CScriptID constructor (Andrew Chow)cba69dda3dMove MANDATORY_SCRIPT_VERIFY_FLAGS from script/standard.h to policy/policy.h (Anthony Towns) Pull request description: 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 file `src/addresstype.{cpp/h}` * `TaprootSpendData` and `TaprootBuilder` (and their utility functions and structs) are moved to `SigningProvider` as these are used only during signing. * `CScriptID` is moved to `script/script.h` to be next to `CScript`. * `MANDATORY_SCRIPT_VERIFY_FLAGS` is moved to `interpreter.h` * The parameters `DEFAULT_ACCEPT_DATACARRIER` and `MAX_OP_RETURN_RELAY` are moved to `policy.h` * `standard.{cpp/h}` is renamed to `solver.{cpp/h}` since that's all that's left in the file after the above moves ACKs for top commit: Sjors: ACK91d924ede1ajtowns: ACK91d924ede1MarcoFalke: ACK91d924ede1😇 murchandamus: ACK91d924ede1darosior: Code review ACK91d924ede1. theStack: Code-review ACK91d924ede1Tree-SHA512: d347439890c652081f6a303d99b2bde6c371c96e7f4127c5db469764a17d39981f19884679ba883e28b733fde6142351dd8288c7bc61c379b7eefe7fa7acca1a
This commit is contained in:
@@ -65,7 +65,6 @@
|
||||
#include <rpc/util.h>
|
||||
#include <scheduler.h>
|
||||
#include <script/sigcache.h>
|
||||
#include <script/standard.h>
|
||||
#include <shutdown.h>
|
||||
#include <sync.h>
|
||||
#include <timedata.h>
|
||||
|
||||
Reference in New Issue
Block a user