One-Block Irreversibility For Hive Means Better Performance But Also Better Security For Existing dApps
hive-167922·@gadrian·
0.000 HBDOne-Block Irreversibility For Hive Means Better Performance But Also Better Security For Existing dApps
The performance upgrade [Blocktrades planned and built for Hive](https://peakd.com/hive-139531/@blocktrades/one-block-irreversibility-for-delegated-proof-of-stake-dpos) which will be included with hardfork 26 may have caught many by surprise in a positive way. From a very high-level view, what takes 45 seconds now to turn a block into an irreversible block on Hive - which is already very fast in the crypto space - will be reduced to 3 seconds or less (until the next block is produced) in most cases with One-Block Irreversibility protocol changes. Dan describes in detail how that will be achieved, as well as the similarities and the difference between block irreversibility in DPOS protocols and confirmed blocks in POW protocols. So if you want to know more, read his post I linked above. So, this is a **performance upgrade**, because blocks reach the irreversibility status much quicker and can be relied on that they won't be changed afterward through forking. A reversible block can be reversed through forking, which can happen if witnesses don't agree on the state of the blockchain at some point. Micro-forks are actually something quite common. A reversed block may not be something critical when you cast a vote or comment, because you'll do it again if it didn't work the first time. But if you spend some HIVE or HBD, you really want that transaction to go through as planned. Because let's say you pay HIVE or HBD for something. Let's say a Splinterlands pack. If the transaction is reversed while it's still not in the irreversible state, you get back your HIVE or HBD, but if the store has already given you the pack, it's their loss, because you get the product, they don't get the payment. The problem is, apparently, [most dapps don't wait for blocks to become irreversible](https://peakd.com/hive-139531/@themarkymark/re-mahdiyari-rbldt0).  I understand their owners, degrading user experience keeps people from using their interfaces. And if the risks are not high, they take them. But looks like from HF26 onwards, they don't have to take those risks either if they switch their code to waiting for a block to become irreversible, without degrading the UX. Much better will be for newer dapps, which will use HAF for development, and they won't have to deal with these background operations while taking advantage of the One-Block Irreversibility (OBI) that HAF will use. From this point of view, OBI will **improve security** in the Hive ecosystem as well. And with the recent Terra LUNA/UST events clear in our minds, many have reconsidered the security features of Hive as positive and necessary, while not so long ago they just hindered our growth (which is also true). Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@gadrian/one-block-irreversibility-for-hive-means-better-performance-but-also-better-security-for-existing-dapps)
👍 gangstalking, abh12345.ctp, erikah, b00m, spamfarmer, maxer27, anech512, ro-witness, solairitas, onepercentbetter, solairibot, alexvan, sbi3, rumors, ctpsb, jeanlucsr, elianaicgomes, bala-ctp, luckyali.ctp, johnripper, blainjones, cbridges573, flaxz, htooms, cryptominaty, khaleelkazi, organduo, asteroids, chloem, bananass, p-hive, purefood, leo.voter, leo.curator, thauerbyi, dlike, coinlogic.online, rmsadkri, w-t-fi, brainstommer, khaltok, rufans, bitrocker2020, dante31, roleerob, joannewong, gallerani, ireenchew, megavest, leofinance, leo.tokens, amongus, broadhive-org, kevinwong, bahagia-arbi, steemxp, flyingbolt, onestop, zaxan, cugel, ew-and-patterns, shortsegments, saboin.leo, vintherinvest, break-out-trader, babytarazkp, cryptololo, pouchon, travelwritemoney, acesontop, anadolu, coinmeria, centtoken, techken, ozeryilmaz, tinyhousecryptos, maylenasland, untzuntzuntz, beehivetrader, drnoobpro, uwelang, blaisegold, taskmaster4450le, dwayne16, ecoinstats, leoline, summertooth, adambarratt, rodent, oakshieldholding, lnakuma, hykss.leo, alokkumar121.leo, robmojo.leo, jocieprosza.leo, foreverhero, globalcurrencies, hive-117638, lbi-token, leoball, khan.dayyanz, jacuzzi, mrsbozz, godfather.ftw, mindtrap-leo, ykretz.leo, star.leo, alz190, ctp.sub, fengchao, penguinpablo, funnyman, alphacore, steemaction, hungrybear, aliveandsocial, mypathtofire, brando28, elyelma, rpren, jongolson, cryptoccshow, listnerds, niallon11, steemitboard, hivebuzz, beststart, casimirio, raphaelle, rcaine, flaxz.ctp, arcange, shainemata, jasonbu, liotes.voter, seckorama, achim03, pixiepost, emsenn0, liotes, liotes.fund, horstman5, kemonine, liotes.ctp, ph1102.ctptrail, cruisin, certain, hiveghost, lukeisalive, kaseldz, improbableliason, samseny, happyvoter, mybiel, liotes.leo, achim03.leo, ctpsb.leo, liotes.burn, ctpsb.stem, ph1102.bee, beetrader, forexbrokr, solymi, crypto-guides, alente, milaan, jim888, donpapy, jfang003, eirik, drax.leo, amirtheawesome1, ctptips, brofund, fatman, thefoundation, brofi, upfundme, discohedge, cmmemes, lisamgentile1961, nazom,