[#TestLockPointValidity]
= TestLockPointValidity
:mrdocs:

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

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b219708), requires&lowbar;capability(0x7f2e26e97758), requires&lowbar;capability(0x7f2e20565b48), requires&lowbar;capability(0x7f2e35d9eca8), requires&lowbar;capability(0x7f2e2474b588), requires&lowbar;capability(0x7f2e345d71d8), requires&lowbar;capability(0x7f2e37cdec48), requires&lowbar;capability(0x7f2e35d84f88)&rsqb;&rsqb;
bool
TestLockPointValidity(
    xref:CChain.adoc[CChain]& active&lowbar;chain,
    xref:LockPoints.adoc[LockPoints] const& lp);
----

== Return Value

true if the LockPoints are still valid on the given chain&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *active&lowbar;chain*
| The chain to validate the LockPoints against&period;
| *lp*
| The LockPoints (height and time) to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
