Post
Topic
Board Project Development
Re: [coinb.in] Open Source, Multi Signature, HD Wallet and more!
by
OutCast3k
on 30/09/2017, 07:19:56 UTC
I locked a bunch of Bitcoins before the fork to BTC and BCC. So was wondering if the coins would be recoverable on the BCC fork. So decided to experiment.

Created a time locked address using address: 12Cp73Mbb4PEXmDjYitGcfgPDpRRvPPxpS,
Public Key: 04882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a98874766ef996adec88b74 98dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4
Time: 09/13/2017 01:00

Resulting Address: 3BQyYQS3vSdjYHNJK8ogyo5Z3NkmzxWrr3
Resulting Redeem Script:
04b00fb959b1754104882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a988747 66ef996adec88b7498dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4ac

Sent 0.001 BCC to that address, TX=
76f21028ebdeff0c2347ae00ada70d3c32cfdf8a38178b2a032f2a030ce420e4

To create a tx, I had to manually input everything, resulting in the following script:
0100000001e420e40c032a2f032a8b17388adfcf323c0da7ad00ae47230cffdeeb2810f27600000 0004a04b00fb959b1754104882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a9 8874766ef996adec88b7498dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4ac00000 00001905f0100000000001976a9140b0f1dc4fce32f2d38bdbf822c2222d1870b999a88acb00fb9 59

Signed with private key to 12Cp73Mbb4PEXmDjYitGcfgPDpRRvPPxpS:

0100000001e420e40c032a2f032a8b17388adfcf323c0da7ad00ae47230cffdeeb2810f27600000 00094483045022100fa78e56b7ec881f8bb2eb97ea9825856ecd06941dea3ac74092d663b721379 8b02207824e621b4ee21df7591a1e8f45a45b162e5ea39cd073b70bcabc6501f7683e3014a04b00 fb959b1754104882490aac1fb4de17bcd7c70c72672d291d3cbce869834dee98452a98874766ef9 96adec88b7498dfb3fd3141fb3af5fa020746ceb8f11d5ee4e35d26284f7e4ac0000000001905f0 100000000001976a9140b0f1dc4fce32f2d38bdbf822c2222d1870b999a88acb00fb959

Tried to push at http://blockdozer.com/insight/tx/send

Resulting in the following:

An error occured:
64: non-mandatory-script-verify-flag (Signature must use SIGHASH_FORKID). Code:-26

Bitcoin cash and bitcoin do not use the same sighashes as a method of replay protection. This means transactions built for the bitcoin network can't be broadcasted to the bcash network with out an update to the signing procedure.

There is a bitcoin cash pull request on the github repo, which I've not accepted but it does work (I choose to support segwit right now over bcash) You can download it and use it to create transactions for the bcash network.