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

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7f2e1b219708), requires_capability(0x7f2e26e97758), requires_capability(0x7f2e20565b48), requires_capability(0x7f2e35d9eca8), requires_capability(0x7f2e2474b588), requires_capability(0x7f2e345d71d8), requires_capability(0x7f2e37cdec48), requires_capability(0x7f2e35d84f88)]]
bool
TestLockPointValidity(
    CChain& active_chain,
    LockPoints const& lp);

Return Value

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

Parameters

Name

Description

active_chain

The chain to validate the LockPoints against.

lp

The LockPoints (height and time) to test.

Created with MrDocs