TestLockPointValidity

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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fd753430ae8), requires_capability(0x7fd74eb425c8), requires_capability(0x7fd75cbe1428), requires_capability(0x7fd749cc3128), requires_capability(0x7fd75e5aa368), requires_capability(0x7fd7583aacb8), requires_capability(0x7fd749ac3928), requires_capability(0x7fd73f775c18)]]
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.