Checks if output of IsWitnessProgram comes from a P2A output script
Synopsis
Declared in <script/script.h>
static
bool
IsPayToAnchor(
int version,
std::vector<unsigned char> const& program);
Return Value
true if version and program describe a P2A output.
Parameters
Name |
Description |
version |
Witness program version. |
program |
Witness program bytes. |
Created with MrDocs