HIP-42069 - Moving away from Delegated Proof of Stake

in #hivelast month (edited)

As you probably already know, Hive works on Delegated Proof of Stake (DPOS) for governance and distribution of rewards. This has worked well for years, but there are new emerging technologies that show a lot of promise. I have been working on one myself for the last 10 years.

Downsides of Delegated Proof of Stake

  • Your influence is directly tied to your stake (aka wallet)
  • Buying stake is expensive
  • Not everyone has the ability has the same amount of influence potential

Don't get me wrong, DPOS has a lot of benefits and one of the reasons Hive is one of the most secure blockchains. We can do better though.

Announcing HIP-42069: Proof of Feelings — The Future of Blockchain Consensus

I have been working on this project for a while and it's time to let people know about it and start initial testing. It is clear some users have an immense amount of feelings and I wondered why we never took advantage of it. Now we can!

Introducing a revolutionary new consensus method: Proof of Feelings.

I have found human emotions are far more predictable than code and provide a lot of benefits.

  • 420% increase in transaction validation speed
  • 69% reduction in energy consumption
  • 100% more authentic curation

How does Proof of Feelings work?

Using modern technology we are able to track micro-expressions, keyboard pressure, mouse movements, and text sentiment to calculate an emotional value for each user. This means we will need to change how witnesses validate blocks to factor in emotions which we are now calling Collective Emotional Consensus or CEC value. In preliminary testing it has shown to reduce energy consumption by 69%. Nice!


While the libraries are not ready for general release, I put together some example code to give you an idea on how it works. This code is for demo only, until our library and hardware is released, it won't compile.

import numpy as np
from hivemind import blockchain
from sentiment import EmotionEngine
import random

class ProofOfFeelings:
    def __init__(self):
        self.emotion_engine = EmotionEngine()
        self.blockchain = blockchain.get_instance()
        self.feeling_threshold = 0.7  # Minimum feelings required for consensus
    
    def analyze_keyboard_pressure(self, keystrokes):
        """Determines emotional intensity based on how hard keys are pressed"""
        # More pressure = stronger feelings
        return np.mean([stroke.pressure for stroke in keystrokes]) / 100
    
    def analyze_mouse_movements(self, movements):
        """Detects emotional state based on cursor patterns"""
        if movements.is_erratic():
            return 0.9  # Excitement or anger
        elif movements.is_smooth():
            return 0.6  # Calm and collected
        elif movements.is_hesitant():
            return 0.3  # Uncertainty
        return 0.5  # Neutral feelings
    
    def analyze_content_sentiment(self, post_content):
        """Evaluates the emotional weight of post content"""
        sentiment = self.emotion_engine.analyze(post_content)
        # Convert sentiment to feeling score between 0-1
        return abs(sentiment.polarity) * sentiment.intensity
    
    def validate_block(self, block, validator_feelings):
        """Consensus is reached when enough validators feel the block is valid"""
        avg_feeling_score = sum(validator_feelings) / len(validator_feelings)
        
        if avg_feeling_score >= self.feeling_threshold:
            # Strong feelings lead to consensus
            self.blockchain.add_block(block)
            return True, f"Block validated with feeling score: {avg_feeling_score:.2f}"
        else:
            # Not enough feelings to reach consensus
            return False, "Validators didn't feel strongly enough about this block"
    
    def get_witness_rewards(self, witness, block):
        """Rewards are now distributed based on emotional contribution"""
        base_reward = 10
        feeling_multiplier = witness.get_feeling_score() * random.uniform(0.8, 1.2)
        
        # Witnesses who feel more strongly get higher rewards
        return base_reward * feeling_multiplier

# Example implementation
pof = ProofOfFeelings()
# Connect your EmoSensor™ device to enable feeling detection

Due to the complexity of this new technology, proprietary hardware will be required. The EmoSensor™ peripheral attaches to your keyboard and mouse with extremely sensitive emotion sensors. Paired with a web cam to capture your micro-expressions, we can quickly and accurately weigh your influence based on your current emotional state.

EmoSensors will be available for purchase with HBD, Hive, and Lassecash. We are still working out the final cost and logistics to deliver it all around the world.


Sort:  

Hehe

Well done mate! I got about a third of the way through before I remembered the date.

!BBH

Loading...

Does this mean I can use my PS2 as a HIVE node since it has a hard drive bay and a genuine Sony Emotion Engine chipset?

I caught on pretty quickly, but nicely done. It's funny how I always remind myself about the date every year, but then I still almost get tricked anyway.

I caught on about the same time I was going to ask him which key on the keyboard I hit the hardest to give him a test run. It would be the "e" as it rarely works right due to the wear and tear on my board. I am just hoping it makes it a few more months before I am forced to buy a new one.

Get a mechanical one. Those are the way to go!

olujay@Firestorm MINGW64 ~ (master)
$ python pos_hf.py
bash: unable to take you seriously today

Almost got me :)

I am feel. I am very feel.

Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment STOP below

Happy Fools Day! Nice one :)

Loading...

Nice one! 😁

Loading...

Happy April 1.

Loading...

Thank you for your service.

As a non coder, I try to understand how coding works

import numpy as np

Nice try

Yup - the minute i read "Proof of Feelings", I remembered what date it was. Well done 🤣

This is a fascinating technology. Kudos to you for undertaking this research and moving to enable commercial application.

"...track micro-expressions, keyboard pressure, mouse movements, and text sentiment to calculate an emotional value for each user."

However, this seems very invasive to me. Many large corporations like Goolag, Meta, and Tesla are data hoarders, and sell this information to all sorts of other interests, including those that may have malicious intent. Have you considered how this technology impacts privacy, and if you have, what conclusions have your drawn?

Can I just sell you my emotion data, my DNA, and my facial and retinal recognition data for cold, hard cash instead?

Thanks!

Can I just sell you my emotion data

He can get that part free from me, lol.

Loading...

!LOLZ

I sent my girlfriend a 'Get Better' card.
She's not sick, or anything - I just think she can get better..

Credit: reddit
$LOLZ on behalf of bigtakosensei

(1/4)
Delegate Hive Tokens to Farm $LOLZ and earn 110% Rewards. Learn more.@themarkymark, I sent you an

Loading...

😂
How would a Hard Fork work on one of those PoFs?
Maybe it's called Divorce, not Fork.

Loading...

I’ve always been a fan of your various projects, but this one is definitely an “11” (on the This Is Spinal Tap scale).

Submit your DHF proposal asap so I can vote for it! No budget breakdown needed.

I do question some of your stats, but I won’t let that get in the way of my wholehearted support for the project.

Your EmoSensor did kinda remind me of a Dr. Who episode where robots on a remote planetary colony were programmed to maximize the positive emotions of the humans they were sent there to serve.

Everything was swell until the first funeral on the colony. The robots decided that the best way to maximize human emotional positivity was to eliminate any humans expressing emotional negativity.

I don’t think anything could go wrong with your Proof of Feelings governance protocol though.

https://en.wikipedia.org/wiki/Smile_(Doctor_Who)

Posted using tiger got me

Loading...

Remember not to be on a bad day to curate or validate blocks with this. You could end up screwing us all!

Loading...

PIZZA!

$PIZZA slices delivered:
(5/10) @danzocal tipped @themarkymark

Moon is coming

This sounds so emotional clearly broken af

Loading...