Update (29/06/2016): * Another crashing issue with 0.5.0 has been addressed yesterday. For the ones who want to stick with 0.5.0 consensus, please install v0.5.2 provided by @arhag: https://github.com/arhag/steem/commits/v0_5_2 * Steemit released v0.8.1 yesterday ----original post (26/06/2016)--------- Steem 0.8.0 has been released for a while. According to the [announcement](https://steemit.com/steem/@steemitblog/steem-0-8-0-released), the new release fixed an issue which will crash the earlier 0.5.0 release on July 4th (quoted below). > Fix Divide by Zero Error The existing code has a bug that will cause a divide by zero error on July 4th for anyone who does not upgrade to new code. This means that not upgrading by July 4th is not an option. This makes 0.8.0 look like a forced upgrade, although "if the majority of the witnesses upgrade" is mentioned in earlier that announcement. In my opinion, it is not the best practice. In case when a serious bug is found in 0.8.0 before the scheduled hard fork time and if have no sufficient time to make a fix (I'm not saying it will 100% happen but it's possible), the whole block chain network will have to be stopped for some time, at that time it's best if witnesses can still run on 0.5.0 consensus until a fix is released. Fortunately, there are other solutions for witnesses to be able to stay on the 0.5.0 consensus without upgrading to 0.8.0 or crashing the program. One solution is made by @arhag ([link is here](https://github.com/steemit/steem/pull/91)). In addition, there is a bug in 0.5.0 which prevents a witness_node from downgrading from a higher version to 0.5.0, so need to apply the [2nd patch](https://github.com/steemit/steem/commit/56461684c9adf9e61c1d2ba539c903d8acf0d58c). Full steps: ``` git clone https://github.com/steemit/steem.git cd steem git checkout v0.5.0 git fetch origin pull/91/head:v0_5_0-fix-77 git cherry-pick 3ab1a040dd0a43226e73a55db5934cb985e4cf5d #divid-by-0 fix git cherry-pick 56461684c9adf9e61c1d2ba539c903d8acf0d58c #version downgrading fix git submodule update --init --recursive cmake -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON . make steemd cli_wallet ``` Disclaimer: I'm not saying I'm supporting or I'm against the upgrade to consensus 0.8.0 right now. Just wanted to provide a way for better consensus decision-making.
author | abit |
---|---|
permlink | for-smoother-consensus-change-or-no-change-a-fix-for-steem-050-to-avoid-crashing-on-july-4th |
category | steem |
json_metadata | {"tags":["steem","divid-by-0","version"],"users":["arhag"],"links":["https://github.com/arhag/steem/commits/v0_5_2"]} |
created | 2016-06-26 11:00:06 |
last_update | 2016-06-29 09:25:09 |
depth | 0 |
children | 0 |
last_payout | 2016-08-13 18:30:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 809.694 HBD |
curator_payout_value | 326.146 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,343 |
author_reputation | 141,171,499,037,785 |
root_title | "For smoother consensus change or no change: a fix for Steem 0_5_0 to avoid crashing on July 4th" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 44,288 |
net_rshares | 117,260,930,184,831 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fminerten1 | 0 | 38,536,464,951 | 100% | ||
itsascam | 0 | 13,377,761,631,600 | 100% | ||
steempty | 0 | 6,371,985,435,282 | 100% | ||
smooth | 0 | 28,361,011,339,343 | 100% | ||
berniesanders | 0 | 27,874,252,712,307 | 100% | ||
steemed | 0 | 13,944,768,783,110 | 100% | ||
xeldal | 0 | 4,026,773,264,901 | 100% | ||
pharesim | 0 | 5,509,454,266,634 | 100% | ||
afew | 0 | 805,710,160 | 1% | ||
alittle | 0 | 156,019,344 | 20% | ||
justin | 0 | 738,817,466,945 | 100% | ||
abit | 0 | 4,071,059,226,180 | 100% | ||
cyrano.witness | 0 | 778,518,768,715 | 100% | ||
jabbasteem | 0 | 737,546,438,552 | 100% | ||
xeroc | 0 | 891,079,267,575 | 100% | ||
testz | 0 | 22,822,065,608 | 100% | ||
complexring | 0 | 4,230,909,310,630 | 100% | ||
arhag | 0 | 3,950,828,119,876 | 100% | ||
ajvest | 0 | 382,721,634,400 | 100% | ||
steemservices | 0 | 34,242,297,148 | 100% | ||
joseph | 0 | 721,509,373,834 | 100% | ||
aizensou | 0 | 5,851,901,710 | 100% | ||
b0y2k | 0 | 5,281,488,600 | 100% | ||
bonapartist | 0 | 104,515,697,988 | 100% | ||
tuck-fheman | 0 | 171,951,820,813 | 100% | ||
linouxis9 | 0 | 26,596,957,166 | 100% | ||
anonimau5 | 0 | 1,428,150,177 | 100% | ||
noaommerrr | 0 | 467,704,185,528 | 100% | ||
void | 0 | 15,629,954,762 | 100% | ||
acidsun | 0 | 2,752,755,315 | 100% | ||
nomoreheroes7 | 0 | 5,100,030,032 | 100% | ||
africa | 0 | 482,276,415 | 100% | ||
spaninv | 0 | 4,118,598,950 | 100% | ||
bbqbear | 0 | 2,047,225,121 | 100% | ||
avarice | 0 | 441,824,143 | 100% | ||
hossary | 0 | 20,371,037,155 | 100% | ||
kevinwong | 0 | 399,226,584 | 100% | ||
stino-san | 0 | 415,279,662 | 100% | ||
murh | 0 | 696,707,512 | 6.66% | ||
dmitry | 0 | 352,314,613 | 100% | ||
tinfoilfedora | 0 | 38,034,013 | 100% | ||
billbutler | 0 | 67,473,208,951 | 100% | ||
loveofprofit | 0 | 365,735,895 | 100% | ||
taoteh1221 | 0 | 289,814,115,183 | 100% | ||
seth-krings | 0 | 295,710,681 | 100% | ||
crok | 0 | 269,170,864 | 100% | ||
ariff-kamil | 0 | 283,681,824 | 100% | ||
daniel-schwarz | 0 | 287,452,435 | 100% | ||
jparty | 0 | 241,300,309 | 100% | ||
alaa-el-shazly | 0 | 269,431,886 | 100% | ||
jalantikus | 0 | -214,032,254 | -100% | ||
vkoreshkoff | 0 | 9,530,265 | 100% | ||
mest | 0 | 1,209,188 | 0% | ||
theflowers | 0 | 98,606,250 | 100% | ||
puffin | 0 | 0 | 100% | ||
fenya | 0 | 0 | 100% |