TestLockPointValidity

Test whether the LockPoints height and time are still valid on the current chain

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fbc8f2fb168), requires_capability(0x7fbc959dde98), requires_capability(0x7fbca44fcf88), requires_capability(0x7fbc877756e8), requires_capability(0x7fbca5130928), requires_capability(0x7fbcad673318), requires_capability(0x7fbcad4965a8), requires_capability(0x7fbc90fee7a8)]]
bool
TestLockPointValidity(
    CChain& active_chain,
    LockPoints const& lp);

Return Value

true if the LockPoints are still valid on the given chain.

Parameters

NameDescription
active_chainThe chain to validate the LockPoints against.
lpThe LockPoints (height and time) to test.