You probably know about the ETC fork of ETH. I dont want to talk about the why or the politics of it, just the technical aspect of the replay attack. If a spinoff of a coin is created, it inherits the genesis, the ledger state, basically everything. This is good as it means everyone with the original coin gets a new coin for "free". However there is a potential replay attack if nothing is done to prevent it. The replay attack is just a matter of taking any transaction from one chain and broadcasting it to the other chain. So even if ports and low level network wire protocols are changed, unless the signatures are invalid, the transaction is valid. Now in a lot of cases the funds go to the same person for both replay and the original. however, these are two different coins so it is possible that the same address ends up crediting a different person's account. All that is required is a shared deposit address that uses some other means to determine who should be credited As soon as this becomes possible, that means all sorts of mischief can happen. One simple example is a trading exchange that uses the same address for multiple customers and using some email confirmed field to credit accounts. You can see the problem now. If you happen to send funds to such an exchange, then literally anybody can replay that transaction on the other chain, at any time. Like right after they start a deposit to the same deposit address at that exchange. The funds go to the address, but they get the credit, they sell it on the exchange and there is little chance you will recover your replayed coins. Notice that either direction is possible. So you could end up losing the lower value coin, by having the higher value coin's tx replayed, but the opposite is also possible. Quite a potential disaster, especially if we are talking about bitcoins. Now one attempt to make the replay attack not possible is to use a different version id in the block. But that fails immediate as the transactions are still all the same. OK, so lets change the version number in the transaction. This is a bit better, but the problem is that it only works in one direction. The lower version number would be accepted by the new chain. Of course an entirely new crypto signing can be used to create mutually exclusive signatures, but that involves a lot of code, maybe the size changes, and the ripple effect could be that blockexplorers and many other blockchain cognizant software just wont work. So in addition to wanting signatures to be mutually exclusive to prevent replay attack, we want to be as backward compatible as possible. Ideally fully backward compatible. Now some devs say this is just impossible. I like to do the impossible :) Here is the solution that doesnt change the blockchain at all, but yet creates mutually exclusive signatures. Signatures from one chain only work on that chain and since it is incompatible at the signature level, any transaction that has a signature will be invalid on the other chain, which prevents the replay attack. In order to fully understand the solution, the following needs to be understood: http://bitcoinfactswiki.github.io/OP_CHECKSIG/ If you take a look at that page, be careful, it has been known to explode some people's brains. It is a summary and the actual signing code needs to deal with even more details and it is quite tricky and making any code change creates risk of making something that just doesnt work. That is why I like my solution which doesnt need to change the code! The key is: SIGHASH_ALL 0x00000001 SIGHASH_NONE 0x00000002 SIGHASH_SINGLE 0x00000003 SIGHASH_ANYONECANPAY 0x00000080 These are the four SIGHASH types that are made part of the data that is signed and the lowest byte ends up in the blockchain. However, the upper three bytes affect the data that is signed, but it doesnt end up in the blockchain. So my solution is to change the above constants to: SIGHASH_ALL 0x77700001 SIGHASH_NONE 0x77700002 SIGHASH_SINGLE 0x77700003 SIGHASH_ANYONECANPAY 0x77700080 This fix is just as easy to do in JS: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/transaction.js#L17 Transaction.SIGHASH_ALL = 0x01 Transaction.SIGHASH_NONE = 0x02 Transaction.SIGHASH_SINGLE = 0x03 Transaction.SIGHASH_ANYONECANPAY = 0x80 So by changing the upper bits it changes the SHA256 hash of the tx that is signed, but all the signing logic stays the same, which means no code changes, but yet the signatures are mutually exclusive. No replay attack There is the very rare transaction that can be spent without any signatures for any of the inputs. If there is no signature, then a replay attack is possible just for these offbeat transactions. But I estimate that the percentage of transactions that dont require any signatures is very low. Another edge case are transactions that are not in the original blockchain. It is probably obvious, but any transaction that is not confirmed in the original blockchain cant make it into the spinoff chain. This means anything in the mempool wont happen in the new chain and would need to be signed again if the transaction is desired to happen on both chains. Since unconfirmed transactions with existing signatures, like nLockTime, are not confirmed, they wont be valid in the new chain. However, with an estimated 95%+ (might even be 99%+) of existing transactions retained, this is a very practical way to do a hardfork that arguably has the smallest footprint for a solution that creates mutually exclusive signatures James P.S. Still need to verify that SIGHASH_ANYONECANPAY is not used as a bitmask, if it is, then a slight modification is needed, but that is a very rare usage and might not even have signatures in the tx
author | jl777 |
---|---|
permlink | bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes |
category | bitcoin |
json_metadata | {"tags":["bitcoin","blockchain","spinoff","mathematics","attack"],"links":["http://bitcoinfactswiki.github.io/OP_CHECKSIG/"]} |
created | 2016-08-18 06:46:12 |
last_update | 2016-08-18 08:19:06 |
depth | 0 |
children | 19 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 3.776 HBD |
curator_payout_value | 0.800 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,743 |
author_reputation | 14,988,697,980,664 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 866,610 |
net_rshares | 4,248,246,306,199 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
boy | 0 | 3,088,124,298 | 100% | ||
bue-witness | 0 | 3,748,068,758 | 100% | ||
bunny | 0 | 709,555,888 | 100% | ||
bue | 0 | 52,488,576,032 | 100% | ||
mini | 0 | 1,655,369,126 | 100% | ||
moon | 0 | 213,388,298 | 100% | ||
proctologic | 0 | 11,078,922,959 | 100% | ||
healthcare | 0 | 621,134,153 | 100% | ||
wpalczynski | 0 | 11,365,709,237 | 100% | ||
tuck-fheman | 0 | 881,121,253,082 | 100% | ||
daniel.pan | 0 | 908,810,301 | 100% | ||
helen.tan | 0 | 287,692,819 | 100% | ||
yefet | 0 | 24,254,807,456 | 100% | ||
noaommerrr | 0 | 67,230,423,999 | 100% | ||
bitsignal | 0 | 5,180,854,584 | 100% | ||
addisdev | 0 | 530,353,315 | 100% | ||
eeks | 0 | 520,201,336,187 | 100% | ||
fkn | 0 | 3,057,293,645 | 10% | ||
elishagh1 | 0 | 4,014,271,018 | 10% | ||
nxtblg | 0 | 1,183,560,983 | 100% | ||
steve-walschot | 0 | 87,858,658,638 | 100% | ||
kevinwong | 0 | 365,109,284,922 | 98% | ||
murh | 0 | 1,798,985,913 | 33.01% | ||
andu | 0 | 5,702,508,267 | 100% | ||
irit | 0 | 139,105,642 | 100% | ||
billbutler | 0 | 203,033,081,978 | 100% | ||
thecryptofiend | 0 | 18,532,707,058 | 100% | ||
btotherest | 0 | 11,524,859,395 | 100% | ||
kenny-crane | 0 | 107,241,157,115 | 100% | ||
schro | 0 | 132,031,135,185 | 100% | ||
acec | 0 | 1,756,215,081 | 100% | ||
kimziv | 0 | 261,264,655,357 | 100% | ||
magnebit | 0 | 5,415,783,630 | 100% | ||
zer0sum | 0 | 13,324,836,127 | 100% | ||
r4fken | 0 | 32,800,189,539 | 100% | ||
damono | 0 | 315,379,289 | 100% | ||
furion | 0 | 6,682,485,621 | 10% | ||
owdy | 0 | 1,484,421,285 | 100% | ||
barbara2 | 0 | 72,753,402 | 10% | ||
ch0c0latechip | 0 | 80,587,095 | 10% | ||
doge4lyf | 0 | 74,579,350 | 10% | ||
renohq | 0 | 963,693,855,233 | 100% | ||
knircky | 0 | 105,657,283,574 | 100% | ||
egjoshslim | 0 | 2,460,032,289 | 100% | ||
nosebridge | 0 | 241,998,039 | 100% | ||
demotruk | 0 | 69,168,509,068 | 100% | ||
seweso | 0 | 239,470,952 | 100% | ||
btcbtcbtc20155 | 0 | 4,901,741,793 | 100% | ||
jl777 | 0 | 158,970,171,974 | 100% | ||
positive | 0 | 2,462,270,107 | 10% | ||
politicasan2 | 0 | 1,218,371,866 | 100% | ||
fatboy | 0 | 34,771,408,265 | 100% | ||
fnait | 0 | 76,718,078 | 10% | ||
keepcalmand | 0 | 75,261,463 | 10% | ||
metaflute | 0 | 661,258,765 | 100% | ||
skyefox | 0 | 63,188,280 | 100% | ||
capitalism | 0 | 13,535,268,232 | 100% | ||
gmurph | 0 | 4,153,802,262 | 100% | ||
tomeraddady | 0 | 59,668,352 | 100% | ||
serejandmyself | 0 | 34,241,399,154 | 100% | ||
djohnston | 0 | 59,027,346 | 100% | ||
onlyvoluntary | 0 | 50,729,245 | 100% | ||
runridefly | 0 | 55,608,355 | 100% | ||
trendwizard | 0 | 90,480,826 | 100% | ||
grm | 0 | 794,815,096 | 100% | ||
sile | 0 | 1,253,221,290 | 100% | ||
sammiedata | 0 | 53,785,275 | 100% | ||
singularity87 | 0 | 54,084,993 | 100% | ||
arteomo | 0 | 0 | 100% |
What do you think about Waves founder Sashas response? sasha ivanov @sasha35625 "I kinda sh*t my pants when I hear about #bitcoin spinoff forks. Please don't do it guys. you'll kill #crypto https://twitter.com/Jl777News/status/766166365300457472 TwitterToday at 10:12 AM"
author | btotherest |
---|---|
permlink | re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t102602985z |
category | bitcoin |
json_metadata | {"tags":["bitcoin","crypto"],"users":["sasha35625"],"links":["https://twitter.com/Jl777News/status/766166365300457472"]} |
created | 2016-08-18 10:26:06 |
last_update | 2016-08-18 10:26:06 |
depth | 1 |
children | 3 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 274 |
author_reputation | 3,211,087,232,972 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 868,424 |
net_rshares | 11,524,859,395 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
btotherest | 0 | 11,524,859,395 | 100% |
If all it takes to kill crypto is releasing some slightly modified software then it was never meant to survive. No money is even going into this forking project right now which means if what Sasha is saying is true (it's not) then the cost to destroy cryptocurrencies is zero. On the contrary, Ethereum has showed us that even in highly adverse circumstances a split does not seem to cause major adverse effects.
author | singularity87 |
---|---|
permlink | re-btotherest-re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t114729010z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 11:47:27 |
last_update | 2016-08-18 14:05:39 |
depth | 2 |
children | 0 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.040 HBD |
curator_payout_value | 0.004 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 413 |
author_reputation | 3,728,662,247 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 869,241 |
net_rshares | 92,843,026,089 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bitsignal | 0 | 5,079,269,200 | 100% | ||
thecryptofiend | 0 | 18,532,721,188 | 100% | ||
demotruk | 0 | 69,168,509,068 | 100% | ||
pho | 0 | 62,526,633 | 100% |
###  **[jl777 news](https://twitter.com/@Jl777News/status/766166365300457472)** tweeted @ 18 Aug 2016 - 06:54 UTC > bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes [ift.tt/2bJVaqk](https://t.co/qsNyVLnO9z) ###### *Disclaimer: I am just a bot trying to be helpful.*
author | twitterbot |
---|---|
permlink | re-re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t102602985z-20160818t102640 |
category | bitcoin |
json_metadata | "" |
created | 2016-08-18 10:26:39 |
last_update | 2016-08-18 10:26:39 |
depth | 2 |
children | 1 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 416 |
author_reputation | 2,792,128,643,772 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 868,430 |
net_rshares | 0 |
Thanks for being helpful. :D
author | nxtblg |
---|---|
permlink | re-twitterbot-re-re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t102640-20160818t190038682z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 19:00:24 |
last_update | 2016-08-18 19:00:24 |
depth | 3 |
children | 0 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 28 |
author_reputation | 14,581,363,059,419 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 875,741 |
net_rshares | 241,998,039 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
nosebridge | 0 | 241,998,039 | 100% |
I just read the whole article, hoping I was intelligent enough to participate in this conversation. Nope.
author | dajohns1420 |
---|---|
permlink | re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t074818970z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 07:48:24 |
last_update | 2016-08-18 07:48:24 |
depth | 1 |
children | 0 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 107 |
author_reputation | 16,883,351,608,843 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 867,141 |
net_rshares | 315,379,289 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
damono | 0 | 315,379,289 | 100% |
@jt777 could you contact me via my website for some consulting on a planned fork. Thanks
author | fraserb |
---|---|
permlink | re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20170424t212736725z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"],"users":["jt777"],"app":"steemit/0.1"} |
created | 2017-04-24 21:27:36 |
last_update | 2017-04-24 21:27:36 |
depth | 1 |
children | 0 |
last_payout | 2017-05-01 21:27:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 88 |
author_reputation | 251,124,624,715 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 3,104,811 |
net_rshares | 0 |
There are talks about forking bitcoin in parallel to the bitcoin core team. What are your thoughts in this?
author | knircky |
---|---|
permlink | re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t070309662z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 07:03:09 |
last_update | 2016-08-18 07:03:09 |
depth | 1 |
children | 5 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 107 |
author_reputation | 212,905,587,244,262 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 866,771 |
net_rshares | 0 |
I was asked to provide some technical advice due to my iguana experience, so am helping as I can. It is a security risk to having full bitcoin blocks and reduces the value of bitcoin. It seems that non-technical factors have delayed fixing this problem, some say it is because core team wants to create a fee market, ie where you have to pay more and more to get your tx confirmed. Regardless of the reason, it should have been fixed over a year ago! The fact that there is a serious effort now to free bitcoin development from corporate sponsorship, can only be a good thing.
author | jl777 |
---|---|
permlink | re-knircky-re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t071639737z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 07:16:39 |
last_update | 2016-08-18 07:16:39 |
depth | 2 |
children | 4 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.040 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 579 |
author_reputation | 14,988,697,980,664 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 866,879 |
net_rshares | 167,561,619,429 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tie-warutho | 0 | -2,670,200,278 | -100% | ||
jl777 | 0 | 170,178,034,432 | 100% | ||
sammiedata | 0 | 53,785,275 | 100% |
But dont you think the fork would have catastrophic results on the economical side?
author | serejandmyself |
---|---|
permlink | re-jl777-re-knircky-re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t080716078z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 08:01:30 |
last_update | 2016-08-18 08:01:30 |
depth | 3 |
children | 3 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 83 |
author_reputation | 124,654,167,625,915 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 867,266 |
net_rshares | 0 |
Thanks a lot for sharing your knowledge. If you're not careful, you'll get me into programming. :)
author | nxtblg |
---|---|
permlink | re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t190352980z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 19:03:39 |
last_update | 2016-08-18 19:03:39 |
depth | 1 |
children | 0 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 98 |
author_reputation | 14,581,363,059,419 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 875,803 |
net_rshares | 0 |
Where in the Core code does the SIGHASH `int` get truncated to 1 byte before signing?
author | pinhead26 |
---|---|
permlink | re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t221710952z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 22:17:09 |
last_update | 2016-08-18 22:17:09 |
depth | 1 |
children | 5 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 85 |
author_reputation | 3,707,077 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 878,832 |
net_rshares | 0 |
HASH(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 blockchain. it is explained in the http://bitcoinfactswiki.github.io/OP_CHECKSIG/
author | jl777 |
---|---|
permlink | re-pinhead26-re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t231059861z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"],"links":["http://bitcoinfactswiki.github.io/OP_CHECKSIG/"]} |
created | 2016-08-18 23:10:57 |
last_update | 2016-08-18 23:10:57 |
depth | 2 |
children | 4 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 252 |
author_reputation | 14,988,697,980,664 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 879,623 |
net_rshares | 0 |
Right that's what I meant sorry, 4 bytes are signed but only 1 byte goes into the serialized transaction for broadcast. So what I'm asking is, where in the Tx serialization process is the 4 bytes reduced to 1? Like literally where in the code or protocol spec?
author | pinhead26 |
---|---|
permlink | re-jl777-re-pinhead26-re-jl777-bitcoin-spinoff-fork-how-to-make-a-clean-fork-without-any-replay-attack-and-no-blockchain-visible-changes-20160818t232451363z |
category | bitcoin |
json_metadata | {"tags":["bitcoin"]} |
created | 2016-08-18 23:24:51 |
last_update | 2016-08-18 23:24:51 |
depth | 3 |
children | 3 |
last_payout | 2016-09-18 08:42:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 260 |
author_reputation | 3,707,077 |
root_title | "bitcoin spinoff fork - how to make a clean fork without any replay attack and no blockchain visible changes" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 879,806 |
net_rshares | 0 |