Changeset View
Changeset View
Standalone View
Standalone View
src/script/interpreter.h
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | enum { | ||||
// Do we accept signature using SIGHASH_FORKID | // Do we accept signature using SIGHASH_FORKID | ||||
// | // | ||||
SCRIPT_ENABLE_SIGHASH_FORKID = (1U << 16), | SCRIPT_ENABLE_SIGHASH_FORKID = (1U << 16), | ||||
// Do we accept activate replay protection using a different fork id. | // Do we accept activate replay protection using a different fork id. | ||||
// | // | ||||
SCRIPT_ENABLE_REPLAY_PROTECTION = (1U << 17), | SCRIPT_ENABLE_REPLAY_PROTECTION = (1U << 17), | ||||
// Is OP_CHECKDATASIG and variant are enabled. | |||||
// | |||||
SCRIPT_ENABLE_CHECKDATASIG = (1U << 18), | |||||
schancel: SCRIPT_ENABLE_MAGNETIC_ANOMALY_OPCODES?
I guess it doesn't matter if we don't add any others. | |||||
}; | }; | ||||
bool CheckSignatureEncoding(const std::vector<uint8_t> &vchSig, uint32_t flags, | bool CheckSignatureEncoding(const std::vector<uint8_t> &vchSig, uint32_t flags, | ||||
ScriptError *serror); | ScriptError *serror); | ||||
uint256 SignatureHash(const CScript &scriptCode, const CTransaction &txTo, | uint256 SignatureHash(const CScript &scriptCode, const CTransaction &txTo, | ||||
unsigned int nIn, SigHashType sigHashType, | unsigned int nIn, SigHashType sigHashType, | ||||
const Amount amount, | const Amount amount, | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |
SCRIPT_ENABLE_MAGNETIC_ANOMALY_OPCODES?
I guess it doesn't matter if we don't add any others.