picocoin
picocoin copied to clipboard
UAHF SigHash Implementation with sighash test from Bitcoin-ABC
I added a Signature hash flag SIGHASH_FORKID_UAHF=0x40, as well as a bp_script_sign_with_value function that processes both legacy Bitcoin transactions, as well as the new UAHF compliant transactions. I was not quite sure what the best way to integrate the UAHF code with the incoming Segwit code.
Coverage increased (+0.9%) to 79.482% when pulling b939568fe3f02b255c31fd828e2ab56fede6016e on favioflamingo:u-uahf into faa9b83a2cc9c3ba5f2cf4368e16681434128d2b on jgarzik:master.
Coverage increased (+0.9%) to 79.482% when pulling b939568fe3f02b255c31fd828e2ab56fede6016e on favioflamingo:u-uahf into faa9b83a2cc9c3ba5f2cf4368e16681434128d2b on jgarzik:master.
Coverage increased (+0.9%) to 79.482% when pulling b939568fe3f02b255c31fd828e2ab56fede6016e on favioflamingo:u-uahf into faa9b83a2cc9c3ba5f2cf4368e16681434128d2b on jgarzik:master.
Coverage increased (+1.0%) to 79.579% when pulling 3726b89454fd61153b375b023107599988137a62 on favioflamingo:u-uahf into faa9b83a2cc9c3ba5f2cf4368e16681434128d2b on jgarzik:master.