scrobble.life
Blockchain Wizardry

Hope you never need it, but if you do, you know how

There has always been a lot going on around Hive. These days, more than ever.

So this one is a bit of everything: a tool I hope you will never need, two skills I hope you will never need either, an upgrade we needed fast, my HBD interest vote, and an answer for @polish.hive, who asked what happens when the HBD haircut kicks in.

Cyberpunk-Hive-chan-haircut.pngAI-generated illustration. No ponytails were harmed in the making of this image.

A tool I hope you will never need

Imagine your keys got stolen. Now what?

On Hive, a stolen account is not necessarily lost. If a thief changed your keys, you have 30 days to take the account back. You need two things: your old "master password" or owner key, that was still valid at some point in those 30 days, and your recovery account (usually the account that created yours or your trusted party you assigned such a role) confirming the request.

That is what this is for: https://gtg.openhive.network/recovery/

recovery-landing.pngAlways check the address. In doubt? Ask for help, but beware of impostors: people in distress are easy targets.

Three pages:

  • one for the owner of the stolen account (that could be you, if you are the victim),
  • one for the recovery trustee (that could be you, if you are a trustee for another user),
  • and a health check for after a leak or a recovery: what a thief may have left behind. Extra keys, app access, a pending change of your recovery account, a power down, savings withdrawals, recurrent transfers, changed votes and more.

The pages load nothing from anyone else, and your keys never leave your browser.

Why another tool? Because the existing ones failed when it mattered. If your account has two owner keys, a recovery built from just one of them is refused by the chain. And since HF28, the usual key change right after a recovery fails, so unless you notice, the thief keeps your active key. That's like getting your house back and leaving the thief a key to the back door.

It already worked in a real case. @crstypatata's account was stolen. With @acidyo's help (@ocd is the recovery account there), it was back on November 4th. 21 seconds later, the thief's pending change of the recovery account was cancelled too. Here is the happy ending in @crstypatata's own words.

I hope you will never need it. But if you ever do, it will serve you well.

Off topic: two more things I hope you will never need

Not about Hive, but these two can save a life:

  • Someone suddenly collapsed? Call the emergency number (or send someone to do that) and push hard and fast in the center of the chest. What is CPR (American Heart Association)
  • Someone is bleeding heavily? Press on the wound with whatever is available, call the emergency number, and keep the pressure on until help arrives. Bleeding heavily (British Red Cross)

Emergency numbers: 112 in the EU, 911 in the US and Canada, 999 in the UK. And every mobile phone is required to treat 112 and 911 as emergency numbers.

Reading takes five minutes. A first aid course is even better. And if that day ever comes, you will know how.

Sometimes we have to act fast (and it's great we did)

Not long ago, 1.28.8 brought security upgrades. Then came 1.28.9's release candidate with a hotfix that the top 20 witnesses had to run right away. All of them did: much faster than last time, and hopefully much slower than next time.

Thank you!

Everyone else: don't panic, we have you covered.

Acting fast is easier than it sounds. A node can replay the whole chain from scratch in less than 12 hours, and from a snapshot it's back in sync in less than 12 minutes. Simply doable by a competent operator on an old machine.

The haircut: a feature, not a bug

Just recently @polish.hive asked:

I would really appreciate it if @gtg or @engrave could shed some light on what's about to happen, explain how the system is likely to respond, and perhaps offer some advice on how we should prepare for what lies ahead for Hive.

Good questions. I'm a witness, not your financial advisor, so I can't give you advice about your money. But I can explain the mechanics.

What is about to happen?

First, what will NOT happen: converting HBD into HIVE will not be blocked. Not at 30%, not at any other level.

What already stopped in early February, when the debt ratio went above 20%, is new HBD: you can't convert HIVE into HBD, and the HBD part of author rewards is paid in HIVE.

The haircut depends on the HIVE price the chain uses: the median of the witnesses' price feeds over the last 3.5 days. Right now it's $0.034, and the haircut line is at $0.0339. If the price goes below the line, the rule turns on. Blocks keep coming, balances stay where they are, savings interest keeps being paid.

hbd-haircut-2026.pngThe price the chain uses vs the haircut line, this year. Data straight from the blockchain, via HAF.

How will the system respond?

Not "likely". It's code, so we know exactly.

The rule keeps HBD (not counting the treasury's) at no more than 30% of the combined value of HIVE and HBD. While it's on, one HBD converts into a fixed amount of HIVE, about 29.5 today, instead of one dollar's worth. So you get less than a dollar's worth of HIVE: exactly as much less as the price is below the line, so 10% below means about 90 cents.

But HBD does not suddenly drop to zero: one HBD converts into the same amount of HIVE whatever the HIVE price does, so it can only reach zero together with HIVE.

The rule turns off by itself when the price is back above the line. And the line moves, too: $0.050 in January, $0.0339 today.

Why such a rule? It's not a disaster, it's a failsafe that prevents one. Without it, a big HBD holder could use a sharp drop in the HIVE price to convert into a huge amount of HIVE and, as the comment in the code puts it, take over the blockchain. With it, there's no potential for disaster.

It's not new, either: 10 times between 2018 and 2021, 6 before The Fork and 4 on Hive, all under the old 10% rule (30% since HF26). Every single one ended.

hbd-haircut-history.pngEvery time the haircut rule was on. Data straight from the blockchain, via HAF.

If you want the full mechanics, @arcange explained them really well.

My HBD interest vote: 8%

I lowered my vote for the HBD interest rate to 8%. Simply, I think 10% is too high given the current state of things. And interest is new HBD that keeps coming no matter how high the debt ratio is: neither the 20% rule nor the haircut stops it (about 49 thousand HBD in the last 30 days).

The chain pays 10% now: the median of the 21 scheduled witnesses.

Trivia

- Exactly eight years ago today, on November 22nd, 2018, the haircut rule kicked in for the first time ever. Before The Fork, under the 10% rule.

The opposite of trivia

Witnesses don't run Hive. Voters do. We are just servants.

Your governance votes expire after a year without voting activity. Please check yours, and vote.

Comments · 21

  • @jocieprosza(69)· 1d

    My HBD interest vote: 8%

    According to @dalz reports, majority of additional inflation comes from DHF not out HBD interests - decreasing the interest rate on HBD in savings will improve things only a little. Especially as the HBD in DHF is not counted in debt ratio.

    I strongly believe that you guys need to take responsibility and remove additional Hive out of the system (preferably by using up a significant piece of DHF funds).

  • @rosahermosa(65)· 1d

    It’s great to have this information shared in the thread; it’s very useful. I also learned that we shouldn’t sit someone up if they’ve fainted—it’s better to leave them on the ground and elevate their legs while waiting for help to arrive.

  • @vikisecrets(80)· 1d

    Fix inflation, fix hive. I would like to propose lowering the HBD debt ceiling substantially again (from 30% to 1-2%) and to stop paying interest on HBD as well, to decrease the inflation of HIVE, which is more than 18% right now and not sustainable in my opinion. Lowering the debt ceiling would reduce the amount of HBD->HIVE created, and substantially lower the risk from an algo stablecoin. It's a radical move, but would help bring down inflation in the long term. Right now it's very hard to invest and market Hive given the high inflation rate, DHF/DAO fund and proposal payouts. The DAO fund in HBD already exceeding the whole MarketCap of Hive, which is not healthy. Even worse than the original Steemit ninja mine share.

  • @mayt(76)· 1d

    So it's important to have a recovery trustee... How can you do this one?

  • @lee1938(68)· 1d

    .

  • @phage93(69)· 1d

    Thanks again for the help the other day!

  • Super helpful post! Having a local key safe account recovery tool and clear context on the HBD haircut rule makes things much easier to understand Also a good reminder to check governance votes!

  • @sanjeevm(79)· 2d

    Your governance votes expire after a year without voting activity.

    I was not aware of this.

  • @thekittygirl(75)· 2d

    THANK YOU for the new recovery tool and the information in this post! ✌️

    MUCH RESPECT to you & Acidyo for debugging the problem with Cristy's account! I had no clue one could have TWO Owner Keys. How is that even possible...?!?!? And is it by design that it is possible...? 😯

    "What already stopped in early February, when the debt ratio went above 20%, is new HBD: you can't convert HIVE into HBD..."

    The wallet in PEAKD still has a "convert" option on the menu beside the quantity of HIVE; what happens if one uses it? Does a "conversion" not actually take place? 🤔

  • @cositav(74)· 2d

    Grateful for this excellent information, my friend; it’s pure gold for those of us who aren’t very familiar with how things work here on Hive—thank you!

  • @worthmind(55)· 2d

    Twenty one seconds. That detail stayed with me, the thief trying to change the recovery account again. First aid is new to me too, I never took a course.

  • @intishar(77)· 2d

    I knew about it but I learned more about it today. I also hope not to face the situation.

  • @fjworld(65)· 2d

    Thank you very much for this valuable information.

    Much appreciated.

    !PIMP !ALIVE !GYPH

  • @hivebuzz(74)· 2d

    Congratulations @gtg! Your post has been a top performer on the Hive blockchain and you have been rewarded with this rare badge

    Post with the highest payout of the day.

    You can view your badges on your board and compare yourself to others in the Ranking If you no longer want to receive notifications, reply to this comment with the word STOP

  • I love to hear about happy endings and yes having a recovery account is a must have. Thank you for highlighting this.

  • @cryptocoinkb(70)· 2d

    The “thief keeps a key to the back door” line makes the HF28 recovery failure feel much clearer than the technical explanation.

  • @crstypatata(71)· 2d

    I am so, so grateful to you and Acidyo for helping me recover my account. I hope others are able to recover theirs too, since scammers and hackers haven't stopped coming up with convincing-sounding messages—often including links designed to hack accounts—which they then post in the comments section. Is there any way to get rid of them?

  • @bozz(83)· 2d

    Thanks for the update. I think 5% is a more realistic value. I think the only concern is what happens if that one big account pulls all their HBD when the interest rate doesn't become attractive anymore. I work in a school district, so CPR and stop the bleed kits are all over the place. Plus we get trained every year. Bloodborne pathogens and all...

  • @steevc(81)· 2d

    We're seeing a lot of scammy comments using hacked accounts. Unfortunately some will fall for this, so I hope they can recover their accounts. They need to make sure the recovery account is someone active.

    I'm gradually converting my HBD. I want HP that can increase my vote.

  • @jacobtothe(77)· 2d

    I may have to shift my votes around again. I think I un-voted you as witness since you were the highest-ranking 10%+, and others had dropped to 8% or even 6%. Keep the rates low, and my vote returns as soon as I return to my PC. No wallet transactions on mobile.

  • @hivebuzz(74)· 2d

    Congratulations @gtg! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

    You received more than 695000 HP as payout for your posts, comments and curation.
    Your next payout target is 700000 HP.
    The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD

    You can view your badges on your board and compare yourself to others in the Ranking If you no longer want to receive notifications, reply to this comment with the word STOP