Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 523 Lines • ▼ Show 20 Lines | |||||
* Simulates calling SequenceLocks() with data from the tip of the current | * Simulates calling SequenceLocks() with data from the tip of the current | ||||
* active chain. Optionally stores in LockPoints the resulting height and time | * active chain. Optionally stores in LockPoints the resulting height and time | ||||
* calculated and the hash of the block needed for calculation or skips the | * calculated and the hash of the block needed for calculation or skips the | ||||
* calculation and uses the LockPoints passed in for evaluation. The LockPoints | * calculation and uses the LockPoints passed in for evaluation. The LockPoints | ||||
* should not be considered valid if CheckSequenceLocks returns false. | * should not be considered valid if CheckSequenceLocks returns false. | ||||
* | * | ||||
* See consensus/consensus.h for flag definitions. | * See consensus/consensus.h for flag definitions. | ||||
*/ | */ | ||||
bool CheckSequenceLocks(const CTransaction &tx, int flags, | bool CheckSequenceLocks(const CTxMemPool &pool, const CTransaction &tx, | ||||
LockPoints *lp = nullptr, | int flags, LockPoints *lp = nullptr, | ||||
bool useExistingLockPoints = false) | bool useExistingLockPoints = false) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_main); | EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
/** | /** | ||||
* Closure representing one script verification. | * Closure representing one script verification. | ||||
* Note that this stores references to the spending transaction. | * Note that this stores references to the spending transaction. | ||||
*/ | */ | ||||
class CScriptCheck { | class CScriptCheck { | ||||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |