TestLockPointValidity

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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7ff37b097058), requires_capability(0x7ff376cba488), requires_capability(0x7ff35c12fe18), requires_capability(0x7ff3824501e8), requires_capability(0x7ff3913f4c28), requires_capability(0x7ff382436a58), requires_capability(0x7ff37c5d10f8), requires_capability(0x7ff377973518)]]
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.