Blockchain Update: Platform Independent State Files

in steem •  5 years ago  (edited)

PISFs.jpg

SMT Burnups?


The blockchain team has spent the time since our last burnup focusing on the remaining token emissions work for SMTs and Platform Independent State Files. Aside from a little more work on SMT emissions, all of that development work is now complete and is awaiting review. For that reason, there will be no more SMT Burnups!

Platform Independent State Files


There are two very good reasons for having Platform Independent State Files (PISFs). PISFs can be used to dramatically reduce downtime on exchanges while also increasing the level of decentralization in the ecosystem.

What are they?


Up until now, whether using MIRA or boost memory mapped files, the databases were “platform specific” in that they were potentially impacted by the operating system on which they were running or the machine that the database was built with, or both. PISFs are a way to migrate that database into a format that is consistent across all platforms.

Exchanges


Without a Platform Independent State File, an exchange (or any other node operator) that has to conduct a reindex (e.g in the event of a hardfork) might have to wait 24 hours or longer for that reindex to complete. During that time their Steem node will not be functional. With PISFs we can ensure that no node has to be down for more than a few hours!

Decentralization


Another benefit of PISFs is that it will become far easier for community developers to host their own independently verified version of state. If just a few people host their own versions of state, updated every 10,000 blocks (for example) then it will be easy to verify that the state files are identical with identical hashes.

This is the key to understanding how PISFs increase decentralization without decreasing security. The easier it is to independently verify that state files are consistent, the more certain we can be that the database has not been tampered with with very low computational costs.

Verifiability


This provides some insight into how we think about blockchains as a technology. We do not believe that blockchain’s superpower is “smart contracts.” Just because code is executed by a decentralized network of machines does not mean you can trust it. Whether it is code or content that is stored on a blockchain, what matters is whether that information has been independently verified.

This gets back to a core tenet of the open source software movement: eyeballs are what matter. Linus’ Law states that, “given enough eyeballs, all bugs are shallow.” Extended to the blockchain space we could say that, “given enough eyeballs, all inconsistencies are shallow.

Soft Consensus


This is why we think there is so much potential lurking in “Soft Consensus.” Soft Consensus is code that is stored on a distributed ledger like Steem, but is not executed by the network (“on-chain”). This decentralizes the code by enabling anyone to verify that it is being executed properly, without the extremely high cost of executing that code on-chain.

Steem’s superpower is that it reduces the cost of Soft Consensus to a fraction of what it would be on any other chain. This enables applications like Splinterlands to take advantage of Steem’s high speed, fee-less transactions, and vibrant community to bootstrap the best blockchain-powered trading card game in the world.

Testnet


With SMT development now done (just awaiting review which could reveal minor additional work) the next major announcement from the blockchain team will be the release of the testnet which we expect to happen in 1-2 weeks!


@steemitblog Rewards

As we disclosed in our last post, now that it is so easy to set beneficiaries on steemit.com posts, we will be accepting rewards on @steemitblog posts, but setting the beneficiary as @null. This will enable our posts to Trend in a more organic way that reflects how stakeholders feel about our announcements, without enriching us financially. This time we thought we'd try something different, so in addition to setting @null as a beneficiary, we are also setting the SteemDAO as a beneficiary! That means half of the author rewards will be burned, and half will go to the DAO to fund proposals.


Want to learn more about how Steem and SMTs will work? Check out this Deep Dive Into SMT Voting Mana by Steemit's Senior Blockchain Engineer, @vandeberg.

The Steemit Team

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

how do we verify the files ?

  ·  5 years ago (edited)

Feel free to help verify how #realsteem works.
https://steemit.com/steemleader/@mysearchisover/steemleader-abuse-stats-140790-23-638
I sent 1 Steem to booster.

Nice job guys. Are RC delegation pools coded?

Yes, literally all development work is done and only token emission review work remains. That means that RC delegation pools have been developed and reviewed.

😁😁😁😁

You can also help verify how #realsteem works. I sent 1 Steem to @booster.
Feel free to help verify how #realsteem works.
https://steemit.com/steemleader/@mysearchisover/steemleader-abuse-stats-140790-23-638

Thanks for the info @steemitblog

  ·  5 years ago (edited)

Platform independent state files should be signed by whomever is claiming they are a valid record of the blockchain state, and/or potentially signed by consensus witnesses, possibly with the valid state checksum committed to the chain itself (which process would then constitute signing by consensus witnesses to the extent the recorded commitment is validated).

Just throwing these files around without accountability is dangerous as it leaves open the potential of everyone being too cheap or lazy to do their own verification, just copying the file and leaving the hard work to "someone else", with a malicious or accidentally incorrect state file spreading widely through mere replication. Comparing checksums doesn't help with that.

Just throwing these files around without accountability is dangerous as it leaves open the potential of everyone being too cheap or lazy to do their own verification

I think perhaps the threat model here is overblown. Releasing them with simple CS hashes is fine, IMO.

  ·  5 years ago (edited)

We've already had (and possibly still have), I believe a majority or close to it of top witnesses (and certainly at least the 1/3 required break BFT) run by a single person because of outsourcing (witness as a service). Still others rely on a packaged software (and chain data?) distribution from this same person without doing any real validation of the contents of it beyond checksum to guard against download failure. It is hard to overstate the hazards that come from people taking the easy path when given the choice.

I would not at all rule out that a majority of witnesses could (mostly with good intentions) grab an erroneous or malicious state file, copy from each other (checksums check out!) and start running consensus on top of it without ever verifying it. At that point, the erroneous or malicious state mutation either becomes consensus or will need to be rolled back, both being very damaging to the credibility of the chain. This only needs to happen once, ever, to have potentially catastrophic consequences. A example of a situation where I could particularly see this happening is under pressure to recover quickly from a chain halt.

Please help verify how #realsteem works. I sent 1 Steem to Booster.
Feel free to help verify how #realsteem works.
https://steemit.com/steemleader/@mysearchisover/steemleader-abuse-stats-140790-23-638

This is very nice

You already had me at...high speed, fee-less transactions, and vibrant community

This provides some insight into how we think about blockchains as a technology. We do not believe that blockchain’s superpower is “smart contracts.” Just because code is executed by a decentralized network of machines does not mean you can trust it. Whether it is code or content that is stored on a blockchain, what matters is whether that information has been independently verified.

Does this mean you will never develop smart contract capabilities on Steem or you are trying to develop it in different approach (verifiablity of data after code execution is more important than on-chain code execution of smart contracts?

@andrarchy's new post here titled "Poll: Soft Consensus?" expands on this topic quite a lot.

@Steemitblog Since 15 days a steemcleaner downvote all my comments, no matter what I write to which theme, so I wanted to ask you if it's possible to stop this.



Hey @josua1, here is a little bit of BEER for you. Enjoy it!

You got a 25.00% upvote from @redlambo courtesy of @josua1! Make sure to use tag #redlambo to be considered for the curation post!

!BEER

you just rose a upvote from @curationhelper thanks for post promotion. For Information read my daily post

I think these accounts should be undelegated to.

https://steemd.com/@servtiom
https://steemd.com/@minchew
https://steemd.com/@vikeazim
https://steemd.com/@reamdram
https://steemd.com/@verunick

https://steemit.com/downvotes/@richardfyates/downvote-negativity-by-richard-f-yates-pj51vcjl

Although you very rarely ever upvote I think you might consider upvoting that post perhaps even at 100% to send a message.

Also I feel these accounts might actually be guilty of cyberbullying.

Do you guys have a legal team that can look into it?

I am not 100% sure if they are guilty of a crime since they could just be protesting some downvotes or something but maybe you guys can figure it out.

https://www.cybersmile.org/advice-help/category/who-to-call

Those are two cool updates, thanks for that.

On the "soft consensus" vs smart contracts argument, well, that's just dishonest. Soft consensus is nothing new or exciting. Soft consensus is nothing more than a receipt that you are owed something, it isn't in and of itself possession. The truth is that if you don't possess the asset (due to on-chain execution) you might have to sue to get what is yours, and that doesn't always go well.

If your fancy digital asset is recorded on the Steem blockchain in soft consensus but actually exists on a centralized server that one day shuts down or gets hacked, its gone. Sure, you can look back at your Purple Demon Staff of Purple Doom recorded on the blockchain, but it will be nothing more than a reminder of what you no longer possess...

Soft consensus is allowing us to do some cool things, like connecting Steem Engine data to Steem. Nevertheless, SE assets are not as secure as ERC20s on Ethereum and run the risk of not actually existing on Steem if something terrible were to happen to SE.

Saying that:

"We do not believe that blockchain’s superpower is 'smart contracts'"

Then saying:

"Steem’s superpower is that it reduces the cost of Soft Consensus to a fraction of what it would be on any other chain"

...is kind of like saying the gold of the gold-backed US dollar was not awesome, but these shiny new US dollars that are not backed by gold are awesome because you don't have the same limitations as gold-backed USD.

Look, I'm not out to be a dreary drew, but I just feel the need to point out the obvious logic error here. Its like trying to suggest to people that something less secure is better than something more secure simply because its cheaper. Of course its cheaper, you're not paying for security.

Steem does some things very well, but it doesn't do smart contractions, and soft consensus is no substitute. People are trying to make the same claims for Bitcoin, but reality is that you can never secure more things on Bitcoin than bitcoins. Sidechains can lose their peg and are responsible for their own security.

Bitcoin and Steem are application-specific blockchains, nothing wrong with that. Blockchains can be valued with limited applications. However, pretending that they can also be all-purpose blockchains like Ethereum too is just inappropriate.

"...you can never secure more things on Bitcoin than bitcoins."

Well, that's not true, although the means of inserting data into the ledger is not one specifically stated as intended in the white paper. Various DLTs are now being used as the basis for data storage and exchange, such as Tether being used by Blockchan, and keys for deadmen in... er, I'd better not say.

A small transaction is required, but the keeping of extraneous data is rapidly becoming a feature of DLTs.

Isn't soft consensus more like doing double entry bookkeeping without the difficulty of undertaking doing inventory at the same time?

Thanks!

It depends always on the use case, if the code is open source, and a server is only there to make it perform well then it is a valid use case of softconsensus. Everyone can verify it, and everyone can create their own server with valid data if they wanted to as well as own frontend.

If it is not open source it is more complicated, then the things can be verified but in the end the company can still just stop existing the and the userbase might need years to develop an alternative to run on the past data.

But in the End, smart contracts end up being open source because they are deployed on the blockchain as well. So it don't think its good to compare non-open-source consensus projects with open source smart contracts

True that if it is open source then it would be distributed. However, it is not autonomous or perpetually tangible, which I think is very important. The only way to obtain these valuable features is to create a replicating state machine for these items recorded by Steem, but that means the use of Steem becomes unnecessary.

The value of on-chain execution is that your asset is preserved by a replicating state machine and thus perpetually tangible. Ethereum caused the intangible to become tangible. Soft consensus does not do this, but rather it only serves as a back up receipt of authenticity.

I suppose soft consensus is good if you want everyone running their own servers, or design a system that rewards people for running servers, but then the cost would go up and it would be no different from on-chain costs. In this way, I could see something being built on top of IPFS. However, I still argue that smart contracts are better, because you don't have to run your own server.

Thanks for sharing your comment. :)

I think the main difference between the two models is scalability. Smart contracts very difficultly scale well. If you look at the most scalable proposals of smart contracts at the moment all of them shard the public network and execute the state machines on a reduced subset which in the end also results in reduced decentralization.

So, either you have a model which doesn't scale at all (Ethereum) or you got a model which scales decently (Algorand) but is less decentralized and easier to attack, or you got a model which scales very well (Steem - "soft consensus") but you need to run it yourself and people have to verify things externally before trusting the values.

I did some comparisons in terms of price and ease in my last paper, and executing things on Steem via soft consensus was ridiculously cheap even if you add the server renting costs together.

  ·  5 years ago (edited)

Soft consensus is nothing more than a receipt that you are owed something, it isn't in and of itself possession. The truth is that if you don't possess the asset (due to on-chain execution) you might have to sue to get what is yours, and that doesn't always go well.

This is just wrong. It is perfectly possible to create a soft consensus system that is fully autonomous and as with a fully decentralized blockchain, has no one to sue who could possibly help you in moving on-chain assets contrary to the consensus rules.

I prefer the term embedded consensus as soft consensus implies it is somehow weaker or less secure, which is not the case.

I guess (though I haven't really studied them in detail) we have some half-baked soft consensus-ish systems on Steem that are semi-centralized or even fully centralized and this leaves the impression of soft consensus being far less capable than it actually is.

You can have at least 2 types of 2nd layer platforms built on top of steem:

  • A subchain (that can be a smart contract platform) that has it's own peer to peer consensus rules that only includes operations that are considered irreversable on steem. Such a chain would be slower by nature but the advantage is that any bugs or forks would not have any negative effects on the the main chain.

  • A second layer where everyone that uses it agrees that if an operation follows certain rules it is considered valid but...there is no peer to peer consensus mechanism built in. Steemnonsters is an example of this type of solution.

The later is not much different than a private transaction conducted between two parties. It's no different than paying someone for a product or service using steem (or any other crypto) but if they don't deliver I have no way of enforcing it on chain (although with steem you could use the escrow function to delay payment until the product or service is delivered).

You could even build some very fancy apps using a combination of escrow, multisig and the hierarchical nature of the key structure of steem along with the secondary interpretation of data that "soft" consensus brings.

  ·  5 years ago (edited)

Pretty much agree with everything you said. It is a helpful clarification.

You could even build some very fancy apps using a combination of escrow, multisig and the hierarchical nature of the key structure of steem along with the secondary interpretation of data that "soft" consensus brings.

Yes and indeed it may indeed be possible to prove this is entirely as powerful as any native smart contracts (for example, with appropriate bonds and penalties to require that participants take the actions which the 2nd layer has determined should be taken).

However, I still argue that allowing simple smart contracts is preferable because that is what many developers want. Give them alternatives with cost, etc. advantages (carrot), not a lecture from the #80 chain on how their whole approach is wrong (stick) and they should abandon everything they think they know about decentralized applications because we (supposedly) know better.

Thanks for getting back on the track.
Things should go better now.
Just don't deprecate the reward pool, eh?
That would be tragic.
3HaJVw3AYyXBBQkN3tCkhE2EjPPNPEEY7rZsT4k8E4aPBLjjU4T3hN4b4jQMDrkJW4bFBpk6VQNnCRnZqK2byi3ouxMgBvEX2LdjoTU.png

@steemitblog,
Interesting, while thousands of negative minds discuss about where STEEM is heading to, I see progress of dev things than ever before! I wish you might think about tag #newsteem with this post as well!
$trdo

Cheers~

Congratulations @theguruasia, you are successfuly trended the post that shared by @steemitblog!
@steemitblog got 7.55643600 TRDO & @theguruasia got 5.03762400 TRDO!

"Call TRDO, Your Comment Worth Something!"

To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site

  ·  5 years ago (edited)

I don't think there is a better time to be on Steemit other than right now! So many exciting things happening!!

Im not very happy with the comment about Smart Contracts.
The soft consensus argument is bs so it makes me wonder if there is deeper meaning in what youre saying.

I like that after quite some waiting time, the Steem development seems to be back on track and aiming some great features. Beside SMT that we have all been waiting for years I like to see that Platform Independent State File will come to life soon. This will be a great boost for developers, platformed and any app working on Steem.

All SMT work is near completion, awesome! Does this include full SMTs or SMT lite? Phrased another way, is the work complete for the second Burnup line that was predicted to be complete around Oct 20th or so?

Also, will the testnet condenser also feature the new communities interface? Or will that come later?

I will wait for the comments... Good job

Posted using Partiko Android

So, steem not having smart contracts is a feature, not a “bug”? Good PR haha

Posted using Partiko iOS

It creally mentioned that!!! Absolutely right

With SMT development now done (just awaiting review which could reveal minor additional work) the next major announcement from the blockchain team will be the release of the testnet which we expect to happen in 1-2 weeks!

Awesome!

I was waiting for that, thanks! :-)
I'm on my way for vacation, but I'll definitely make use of it :-)

You rock! 😎👍

nice

Sounds great !!

If it weren't for "steem power" steem would have hit $0.00 by now. I predict Steem will be less than $0.05 by December.

Posted using Partiko Android

Your dystopic vision is coming true. Big whales downvoting little minnows into oblivion so that the Steem elite can maintain power and control of the blockchain. The power is so drastically unbalanced in favor of the "rich" elite that's all we see in Trending. I would have powered down completely and left by now except that the HF stopped all power downs (how fucking convenient) and now I must wait ANOTHER 13 weeks before I can take my $50 and go. My original investment? Over $5,000. You people really suck.

Posted using Partiko Android

I'm not here to defend steemit inc and I have some issues as well like the new 20 steem rule and I guess time will tell what happens however you worded your message like whales are going after small fish when from what I've seen they are going after people who they think are abusing the platform, including big fish like haejin for example who has been milking this platform for a LONG time and he's one of the biggest fish on here and was recently basically shut down and prevented from continuing that kind of behavior.

I don't necessarily disagree with bidbots myself, but from my understanding some of the whales are going after bidbot users(And others they see as abusing the system), not small users. Bidbot users(And abusers). Big difference there.

I've actually seen a lot of positive stuff happening since the recent Hardfork and I had made a post when that happened suggesting it might have been the "Worst Hardfork ever". I'm somewhat behind the scenes and friends with some of the bigger names on this platform including some of the bigger critics and I haven't seen this much positivity in a long time.

I never invested anything and have earned around 5k steem without paying a single penny. My father however has invested a similar amount that you did and that is concerning to me. At this point I don't know what's going to happen, you might be right but I kind of have a feeling the value is going to start going back up now that so many people aren't abusing the system as much anymore and leeching value from it.

I'm not here to give any advice and I suggest you follow your heart, however it would be a shame if you spent 5k and then cashed out for 50 dollars and then things went back up. I'm personally going to wait at least until SMTs come out and see what happens before I try to do anything and I think this is going to be a long game, not a short one. It may be years before we see a major change, but I DO tend to think steemit is going to be around for years to come and that it's not going to die soon.

Who knows what will happen, I guess time will tell. Sorry to hear you're so jaded about things and I don't blame you. Though I do still think things might turn around even if it takes a while. And I mean if you lost $4,950 or more in value, what's another $50? I think you'll prolly be kicking yourself if steem does end up going back up.

Anyways... Peace and good luck to you.

Well, in all fairness, if you spent $5000 and a few years later the platform still has only a little over 11,000 users that are minnow and above you might be pretty unhappy about that.

As @artopium points out, the whales are keeping each other rewarded or rewarding in very small circles most of the time. If they were really spreading their votes around it would likely not be just 11,000+ in minnow and above. But the disparity due to small vote circles is keeping Steem small, while in the short-term being profitable to whales. That is a legitimate issue for someone to complain about.

I never said there wasn't anything to complain or be unhappy about.
The things you mentioned are concerns.
Though I have seen some data that suggests the amount of centralization of whales is diminishing and that smaller users are becoming bigger users.
Also since the recent HF I've personally noticed on my page and others a lot more whale votes going around to smaller users as well.
Time will tell what happens, though I'm seeing a lot of positive signs.

Thank you, but is there a translation for the laymen out here, like this simple content-creator?

Saya mengalami kesulitan dalam hal durasi waktu yang cukup lama untuk mengupload
Video dan publis video di dtube. Dan juga
Saat saya hendak membuat foto profil.
Mengapa saya membutuhkan waktu yang
lama.Mohon bantuanya.

Thanks for the post.

I am very happy to have this update.

Can we also please have an update of the Steemit wallet?

I am still having issues with certain accounts steemwallet not revealling the private keys in their text boxes when you click reveal, it just opens another login window. Please fix @steemitblog thank you and Steem on!

Thanks friends @steemblog for this great update, it is good to know the new tools and processes that make every day our platform functions better.

Thanks for the info @smitmitblog.
Brother i'm new here how do i strengthen my profile hey can i get any advice from you if you give me some time from your valuable time maybe i will be very good

Still wondering if cryptocurrency has a great deal!

Dear @steemitblog , @vandeberg : I recently reached 7000 followers after being here on Steemit for over 3 and 1/2 years, and suddenly my follower count dropped to 6107!? What happened there can some one please check it out, I left a message yesterday when it happened but no one is responding back, its hard enough to get ahead on here with our posts paying out pennies and if we dare use bots to get noticed we get flagged down for it, and then this happens. You can at least let me know what happened, it would be much appreciated!! 😬😳

Were waiting for

  ·  5 years ago Reveal Comment

How is anyone going to legally care about bullying on the internet, unless there is defamation or copyright/trademark infringment or fraud, no one is going to care.

Even if there was any of the above issues, this is the decentralized cryptoverse where anonymity is king, the internet made it easy enough to be anyone you wanted to be, add crypto and we're like ninjas in the trees.

Some downvote harassment is not going to warrant anyone's time to put out a warrant...

Come on man, your threats aren't fooling anyone.

There's ways. Some people do care.

I don't think the cryptoverse is as isolated as people think. Most exchanges require government photo ID so they can track your account and every single trade and transfer that you make.

They could potentially bring out the #executioner ;) lol

I think some people are beginning to take my #threats seriously which perhaps they should.