TestLockPointValidity

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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fb95f1cd038), requires_capability(0x7fb969ef5ae8), requires_capability(0x7fb97d26fc18), requires_capability(0x7fb96daf7a48), requires_capability(0x7fb968fd1a58), requires_capability(0x7fb97b9e9128), requires_capability(0x7fb96defd1d8), requires_capability(0x7fb96850e408)]]
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.