Hey guys! How you doing? Hope you're doing well.
So, some days ago I shared an idea I've been working on for Hive, Scoped Authorities and Compressed Batch Transfers.
And well, I have some news.
I FINALLY SUBMITTED THE MERGE REQUEST!
Yes, actual C++ code, not just me writing a proposal and hoping someone else does the job.
For those who didn't read my previous post, let me explain it quickly.
The first feature, Scoped Authorities, basically allows you to give an application permission to transfer your HIVE or HBD without giving it full control over your account.
You can set spending limits, expiration dates, restrict recipients and revoke permissions whenever you want.
And the interesting part? THE BLOCKCHAIN ENFORCES THOSE RULES.
Not your backend, not some random server that promises to behave.
The second feature is Compressed Batch Transfers, which allows multiple accounts to send funds to multiple recipients in one operation, reducing transaction size and RC consumption.
Pretty cool, right?
SO, WHAT HAPPENED?
Well, after writing the implementation, running tests, fixing some interesting compilation errors and arguing with my terminal a few times, I finally got the GitLab pipeline to pass.
GREEN PIPELINE, GUYS!
And if you work with C++, you probably know that seeing everything green after dealing with compiler errors is a beautiful experience.
The implementation is now available in the official Hive repository as a Draft Merge Request.
Here's the link:
https://gitlab.syncad.com/hive/hive/-/merge_requests/2154
Now I'm looking forward to having another Hive core developer take a look at it and tell me what they think.
Maybe they'll like it, maybe they'll find something I completely missed, or maybe they'll tell me to rewrite half of it.
Hopefully not the last one, but hey, that's how development works.
Just to clarify, this is still an experimental HF30 implementation. I'm not proposing to activate anything on mainnet tomorrow morning.
I want to see what the other core developers and witnesses think about the architecture, security and whether these features could actually be useful for Hive.
I believe they could open up some interesting possibilities for wallets, payment applications and services built on top of Hive.
But that's precisely why I want other people to review the code.
So, if you're a Hive developer, witness, or just someone who enjoys reading C++ for some strange reason, take a look!
I'd really appreciate your feedback.
And if everything goes well, maybe we'll eventually have Scoped Authorities on Hive.
If not, well, at least I learned a lot and made my compiler suffer a little.
Thanks for reading, guys!
Now I can finally go eat some pancakes. 🥞



