Bitcoin full node and query server

Aug 5, 2019

View in context in the libbitcoin Slack #general mirror.

E
Edward Boggis-Rolfe17:48
I see this size check, which is valuable, however if I am connecting to bitcoin and bitcoin sv in the same binary it needs to be set to 80 in the first and 100k (or whatever) in the second. In that situation this field cannot be a constant
Untitled Plain Text · 231 B
bool script::is_pay_null_data_pattern(const operation::list& ops)
{
    return ops.size() == 2
        && ops[0].code() == opcode::return_
        && ops[1].is_minimal_push()
        && ops[1].data().size() <= max_null_data_size;
}