Archive of the libbitcoin Slack #general channel.
bool script::create_endorsement(endorsement& out, const ec_secret& secret,
const script& prevout_script, const transaction& tx, uint32_t input_index,
uint8_t sighash_type, script_version version, uint64_t value)sign() which I'm still trying to findsecp256k1_ecdsa_sign is nullptr parameterized and should instead expose that parameter for control.value parameter is defaulted to max_uint64, could that be an issue? I.e. could that lead to multiple hashes that are effectively the same? I mean it shouldn't because they are spending different outputs right? 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;
}if (input_index >= tx.inputs().size() ||
(input_index >= tx.outputs().size() &&
sighash == sighash_algorithm::single))r values