scrobble.life
#hive

Layer 2 is not layer 2 without layer 1 security

I have seen people call Hivemind a "layer 2", and non-chalantly calling to move more of the blockchain to layer 2.

For "real" layer 2, there needs to be fraud proofs or validation proofs that verifies everything on layer 2 with the same security and consensus mechanisms of layer 1. You have to tread very carefully moving stuff outside the blockchain. Otherwise, these are just hybrid centralized solutions.

See: optimistic rollups and plasma (fraud proofs) or zk Rollups (validation proofs) on ethereum for how it works.

Where are the fraud proofs or validation proofs for Hivemind? If I'm not mistaken, it's just a centralized database expressing parts of the blockchain in a more efficient manner.

As mentioned before, I'm very disappointed by the direction HF24 has taken, and will no longer trust this network and the witnesses running it, until I'm shown the mechanisms used to secure layer 2 with layer 1 consensus.

Comments · 3

  • @imwatsi(71)· 2133d

    I've been thinking about proofs for Hivemind for a while, as I realized earlier on that there aren't any.

    Short of a periodic hash fucntion tied to a data set that changes every block, but doesn't take too much to compute, I can't think of anything right now.

    I also thought of hashing the various live objects that make up the Hivemind codebase, and have that exposed via API so people can poll randomly, or have the nodes broadcast it on chain, timestamped. I'm still reading on the inspect.getsource() function in Python, which gives results on actual live code. Still studying it so I can't say that it can work. Obviously taking a hash of code that's not live can be faked.

    It's not feasible to hash the whole DB at intervals because read speeds and calc times are long.

  • @penderis(71)· 2135d

    I am a bit confused I always thought layer 2 was the things like hive-engine the sidechains and how scotbot basically runs a sidechain for things like leofinance? Although those posts go straight to the chain, the witnesses validate and the only place that hivemind comes in is like you said the DB hivemind is just storage but now I wonder because don't many of the old chain apis now exclusively write to hivemind? Then again all nodes are required to run hivemind I assume or how do they then provide data unless thre is an interface so you may choose to kinda "swap" out the DB. Basically what I am saying is I feel hivemind or was under the impression hivemind is an upgrade to the current chain data far more integral than some layer 2 that you can do with or without...

  • @vikisecrets(80)· 2135d

    Hivemind just makes accessing the layer 1 data more efficient by storing the blockchain data in a sql database so it can be used in a Web3 application. All important validity checks are still performed in layer 1.