TestLockPointValidity

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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7f95132496d8), requires_capability(0x7f950178ddd8), requires_capability(0x7f95218a7538), requires_capability(0x7f94f8fd0538), requires_capability(0x7f951613eaf8), requires_capability(0x7f95080c0db8), requires_capability(0x7f950baf9228), requires_capability(0x7f95163acb08)]]
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.