Ejemplo n.º 1
0
bool input_has_pubkey(const operation_stack& ops)
{
    return ops.size() == 2 &&
        ops[0].code == opcode::special &&
        ops[1].code == opcode::special;
}
Ejemplo n.º 2
0
bool script::matches_template(operation_stack templ) const
{
    return templ.size() == 0;
}