jl777 (62)in #bitcoin • 8 years agoRE: bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changesyes, you found it. casting an int to char will truncate itjl777 (62)in #bitcoin • 8 years agoRE: bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changesthe signature is generated, 70 to 72 bytes (maybe I am off by 1 here), and the sighash byte is just added to the end. It is in the protocol spec, so that is what I did and it…jl777 (62)in #bitcoin • 8 years agoRE: bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changesHASH(the modified tx with the 4 byte sighash int) -> 256 bits that is signed then the SIGHASH byte (not int) is concatenated to the signature and that is what goes in the…