Bitcoin full node and query server

Jun 10, 2020

View in context in the libbitcoin Slack #general mirror.

vdeurzen19:18
    const auto sighash = to_sighash_enum(sighash_type);
    if (input_index >= tx.inputs().size() ||
        (input_index >= tx.outputs().size() &&
            sighash == sighash_algorithm::single))
    {
        //*********************************************************************
        // CONSENSUS: wacky satoshi behavior.
        //*********************************************************************
        return one_hash;
    }
Looks like the default params get me to the 'unversioned' signature algorithm, which has this gem 😛