コード例 #1
0
ファイル: address.cpp プロジェクト: vbuterin/libbitcoin
bool input_has_pubkey(const operation_stack& ops)
{
    return ops.size() == 2 &&
        ops[0].code == opcode::special &&
        ops[1].code == opcode::special;
}
コード例 #2
0
ファイル: script.cpp プロジェクト: arorts/libbitcoin
bool script::matches_template(operation_stack templ) const
{
    return templ.size() == 0;
}