PBWS2019_PoW vs PoS recent advances in consensus algorithms

Paris Blockchain Week Summit 2019 · 1 May 2019 · 34:27

Nigel Clark of Hedera Hashgraph, Monica Quaintance of Kadena, Edward Tate of Nomadic Labs and Patrick Dai of Qtum Foundation debate proof of work and proof of stake, moderated by James Haft. Each explains their consensus design, then the panel weighs what the choice means for businesses, covering speed and finality, fairness, governance, energy use, opportunity cost, decentralization and the risk of stake concentration.

Speakers

Topics

From Paris Blockchain Week Summit 2019, hosted by Paris Blockchain Week.

Transcript

so good after good morning or good afternoon I'm sure where we are now so this panel is about proof of mistake versus proof of work we have a really interesting panel I think will be interested discussion my name is James haft co-founder of crypto Oracle and crypto Mondays and recently formed Pacific Alliance Limited which is focused on the introduction of distributed ledger technologies to fortune 500 companies and the tokenization of assets outside the United States to create liquid markets I'm gonna have everyone introduce themselves and then want to start a little bit of the technology and explanations of proof of stake and proof of work and then move into a conversation about why the differences

matter and how the applications would work with the idea of trying to focus on why this matters to people who are trying to employ the technology and you know who are actually in business could I ask quickly how many people in the room consider themselves techies okay and how many in the room to see yourselves businessmen okay all right so let's start Nigel you want to start just yourself briefly please Idera is the enterprise-grade distributed ledger with a number of key services file service

crypto and smart contracts we are driving to be stable throughout core governance process called governance Council and were driving to be fast and fair and secure fast we're talking about hundreds of thousands transaction per second with finality in in seconds my name is Monika acquaintances and I am with the project called Kadena Kadena is a hybrid blockchain we have a private blockchain and also a public proof-of-work blockchain and we also have a smart contract language that has been written specifically for botching my name is Edward Tate I work at nomadic

labs and we work on the technology my name is Patrick die I'm the founder of quantum blockchain it's a proof of stake somatic contract platform we have more than 50 applications Beauty on quantum blockchain yeah so the core of any of these platforms is their consensus engine so I thought each company would first talk about just the concept behind their consensus methodology sure so hadera is known for its as I said faster finality and we achieved that through our key consensus methodologies about gossip about gossip with virtual voting

so for example in our consensus mechanism where we have people can talk to people across the network so Bob will talk to Alice and everyone has talked to everybody and we the network achieves fair timestamping via taking a median time for when that was received and then we get virtual voting and gossip about gossip via the ability every single message contains the message itself plus a hash of the history of the last message so everybody across the network understands exactly what's going on and therefore you get immediate virtual voting and immediate finality from the network I'm a professional consensus protocol engineer and that still did not

make any sense there's a great great we won't have a fight below we won't ever there's a great white paper on hadera if you have a look at about gossip about gossip with virtual voting and it explains everything okay start from a positive perspective we represent great right sorry so Kadena has to were to blockchains under the hood that then connect to each other a private blockchain is basically a makes assumptions about being a faster tender mint and its failure condition it reverts to tender mint and then our public blockchain is Nakamoto consensus so your traditional Bitcoin my block mining but we have multiple chains that are all running in pair

that they then communicate with each other so still proof-of-work mining but with a little twist we use pure proof of steak basically we have a custom algorithm that's called Emmy and it's essentially based on tender mint and that's basically how yeah I mean I don't know how many people like really understand the details of the consensus the consensus is always the heart heart is the part for all the distributor network yeah it's an area like many many scientists are working on maybe more than 50 years yeah so basically like economy is like a simulation of the Bitcoin like a proof of worker consensus

but we replaced the the Harsha power with the amount of a coin you are holding so all the others is a kind of simulation of the Bitcoin proof work yeah but it's more an or differently like most callable in long term yeah so Monaco why don't you start with why does it matter why do I care if I'm a business person I'm trying to employ a new technology to change my business why do I care if the vendor comes to me with proof of stake or proof of work solution if you're a business person and you're looking to take your existing business and do something with the blockchain because you think the blockchain is cool don't don't bother it's not worth your

time it's just gonna be messy and you might as well just use a private blockchain because it's just like a database it's just a better database don't bother don't bother getting involved in public blockchain because it's just gonna be a huge mess and you're gonna expose yourself to potential risks but if you're interested in actually doing something transformative and connecting to liquidity markets and people that you never would have been able to connect to before and have significantly reduced fees and faster settlement times and all these things that public blockchain does promise then you should start caring about whether you have a system that's actually decentralized or whether it's just a system that ends up aggregating wealth back to the people that run the system because if you're just gonna aggravate wealth back to the same people

that started your system you might as well just give your money back to JPMorgan I didn't understand that from a business side Patrick why don't you jump in you if if you explain to me why what the what the disadvantages are of proof-of-work yeah the proof of work it's a lot of a disadvantage but it's a tradition of the industry I mean it's the classic design of Bitcoin so personally I think a wooden Satoshi Nakamoto designed a Bitcoin he cannot find a better choice I mean all the other like a consensus is the far more complex is that the proof of work the proof the proof of working in theory

it's the the the the the easiest one to implement at like a Tucson date yeah and all the other be FTE or PB FTE or like other consensus there's a lot of mathematics and behind that we even have like maybe three through Turing price or for this area for computer scientist so it's a very complex that like like consensus for I think even for Satoshi Nakamoto at that time yeah so he choose the easiest one yeah but the proof of work is a kind of wasted a lot of resource the disadvantage and its view at that point yeah okay yeah but it's also very good for currency so you figure out designing

or currency I mean proof of work it is still the best choice because everyone go to the same like an opportunity cost you have to lose some money and a zine that's kind of the support of a Bitcoin so value yeah everyone lose money by mining yeah I mean I mean I mean this opportunity cost is the same for everyone yeah but for proposals of stake people do not really have the opportunity cost yeah if I'm a developer I can write like 10 songs quantum or like what like it turns on the currency like a further developer yeah no cost at all just a line of code yeah but all the proof of work coin you have to wasted the electricity use the electricity use a real resource in the real society to

mine the coin out yeah so that's a big difference rather controversially why does it matter from a business analyze it matter who cares this is technology who cares at the end of the day what we care about is it fast enough is it fair enough is it stable is it secure and even more controversially is there great governance in this are you even on a proof-of-work versus proof of stake panel wait a minute let's work out what this means but from it from a business angle what it means it like we're proof of work versa proof of stake means is it is what's the business outcomes it fast fair secure for governance etc but my HCM line of business person who's got a problem hiring people finding the best

people with the best credentials in the right place at the right time they didn't care with its proof or stake what they want to know is what is this enterprise grade is it stable is it gonna drive my business when I'm berating about my Head of Service trying to find the right service technician in the right place at the right time we don't care whether it's proof of stake averted proof of work is it stable is it secure as you got fair governs when I'm looking at my supply chain and I'm trying to think about from a supply chain executive angle from a finance angle it what's the provenance of those goods do I care about the wall between proof of stake between cadena between Ashcroft between quantum is etc I don't what I care about is can I extend my ERP my HCM my taa my core business and link

it to these new markets and drive outcomes that are meaningful using this new technology if it is fast if the proof of stake or proof of work I have a particular view that you know quite often proof of work isn't the right way to go for it doesn't have fair all doing all the time etcetera etcetera nobody's gonna love that I actually proof of stake is a better model and particularly with virtual voting from hash graph because it does give us that far that speed it does give us that fairness it does give us that stability and it does give us that governance and you do get to finality within seconds which is enterprise-grade and what the line of business really needs and at the end of the day proof a state voted proof of work is all about that I guess we can all go home

well I mean it seems like you don't care whether it's proof of work or proof of stake I for one don't even think that hash graph really works because it's based on a similar model to traditional trading systems where sure you can have your your test cases running hundreds of thousands of transactions a second when your transaction is just a ping that doesn't contain any real significant transaction data but what happens when you have a bottleneck when there's one node that contains a piece of information and everybody has to go and come back and reconcile with that particular node you get what we call a in trading land that everybody Trading Apple problem purposely built in proof of work into your into your platform and

solution because because proof of work is beautiful it is elegant it is a way that anybody anywhere in the world any grandmother in Ukraine who has a computer in her closet could potentially be the next block leader of one of the most valuable currencies in the world which is totally mind blowing and absolutely changed the paradigm in a way that you know when 1972 and Leslie Lamport came up with a Byzantine fault tolerant problem and then we came out with all these solutions like Paxos and raft and voting these all require some sort of knowledge about who you are and who's participating and the way in public blockchains you analogize that with well I'm holding a lot of this coin

so obviously I care about what happens to it so I'm not gonna screw with the network but that means that you gradually accumulate more and more and more coin so that eventually you just end up with a few handful of people that are holding all the power and holding all the network and then we're not decentralized anymore at all but proof-of-work anybody can participate anywhere in the whole world it's really magical and the whole Nakamoto consensus it's so simple and everybody who says oh we're burning away all the world's resources mining Bitcoin first of all economic pressure forces people to find the cheapest electricity they can which is electricity that's going to be burned away anyway and not ever going to be used it's like 80 something percent of all electricity in the world that's used for mining Bitcoin

hydropower within 20 miles of a hydro dam that otherwise never would have been used so it's not like we're actually burning away any resources mining Bitcoin instead you get this amazing stable technology that you basically get for resources we wouldn't abused anyway yeah I think the proof of work it's will compare me the proof of stake the proof of a proof of work have some like advantages the first ones you relates more fairness like everyone go to the same opportunity to participate the the mining from the very beginning so it's more sometimes it's more fairness when you're compared to a lot of proof of stake a coin the stakeholder like a controller increased control the

economy model yeah and that's the second advantage is kind of it's more like at this sometimes it's more decentralization because like like Monica said it like everyone can assess or network and have the possibility to book the ledger for the whole world even you are using a personal computer you can book at the ledger for everyone's transaction so I think that's a two biggest advantage but the the disadvantage is I think there is one reason it's like earlier we didn't choose proof of work is we are struggling to figure out like because everyone know for the proof for the proof of work if you are not the biggest that you are algorithm like I say to 8 to 256 well like like easier harsh or

like an EQ hush they developed on their own a gram so if you are not at the biggest in your own like aia gram you are facing a lot of like ten jurors the attack vector the 51 attack it's very easy to make that happen like even for Bitcoin like a Satoshi vision or you you fight you seem classic if you want to attack the network it's only coaster maybe $27 you can reverse the whole auction so that's a biggest like a disadvantage so otherwise you need a to develop we were all like algorithm you needed working worker visa a single company you need a like do a lot of work so you have you need to be the biggest thing in the in

your algorithms e you are safe otherwise I think you are in danger people didn't attack their autonomy is like they do not have the ability to attack if someone want to attack like I assume classic it's very very easy maybe 20s on the dollar you have a longer chin that oh the karna blockchain yeah Patrick Edward so your your platform is moving towards tender min so you must be having issues previously that you want to resolve or improve right so what were the issues that you were facing in the real world that fort that made you look for a new solution and what and what what's what are you improving by moving to tenement well it's more that tezo's provides a way to evolve so basically developers can propose new

code on the network and people so the the token holders can vote for these new proposed changes and incorporate them so the idea of moving to tender min is simply that it's it's a proven model it has papers that actually come with security proofs where as what we've defined in the Emmy protocol hasn't got so many proofs right now so we're proposing it more to to kind of increase the safety essentially so impact looking for security speed integrity you know is there an impact there from the different

yeah so you can participate in proof of stake just as much as you can participate in proof of work so this idea that it's kind of closed it's really dependent on how it's implemented so don't you have to have like 10,000 pesos or something in order to be participating in the process sure but you have to pay for a machine to participate in mining so you still have to pay for something opportunity cost but they're like $500 or $1,000 for a machine to participate in mining sure but then you know the price of Tesla we can we can change the amount you know the size of the role so the amount that someone has to invest initially and that's that's based on what the community decides if the community decides that it should be ten thousand

us to be a staking node in the network then that's the community is never going to decide that because the community is made up of people that hold tezo's and people that hold Tasos don't want other people to be able to come in and vote on things they're gonna always make that number bigger numbers to shutout people that aren't actually because if you look at the current proposal for example it reduces the cost of entry so it's not actually I guess people are nicer than I guess that I would think so in about five minutes I'm gonna open up to questions cuz I think this probably is an audience that has questions so how do your platforms handle change cuz I'm assuming that we're at a point in in the

development of the technology where we don't really know what the final answers are we don't know proof-of-work for his mistake you know this question of forking and and and governance and so who owns the platform and how to Trent how do changes come through your platform yeah so hadera is well known for having a global governance council I mean one of the key things that we did when we set up the network was make sure that it was not just enterprise grade from speed and stability stability is really important but having a governance council with a set of committees that start to determine you know what your what the policies are around krypter what the policies are around how we're going to hack it manage assets securitization and things like that so

we have a governance council its managers change through the governance council it consists of up to 39 global industry leaders on an up to up to six year there's no changes and our goal frankly because enterprises change the whole time is to use this governance council and in order to be able to drive stability and drive change so this council is say that they all agree on doing a thing then how does that actually change hash graph is there somebody writes some code and then pushes it out and everybody just accepts it do you have to accept it is it just forced on you without does not have a seat at the council our the technology

company that underpins hash cough has one seat of the council how do I join the council how do you join the council if you are an industry leader then you can join so not anybody can join the count not anybody can join the council I'm still not clear on how the code changes based upon what like 39 suits somewhere around the world say okay so we need the the public ledger needs to go in this direction because that's what we think it should go and then from there then we will change wait who's we does this mean that somebody controls yeah we control yeah absolutely so we

are we own the code owns the code but it is open review these so everybody can view all of the code so I know that the thing that had Arab people focus on had Ares hanger second this is not publicly available code but actually if you're gonna have a real stable Network here and I get I completely understand the whole need for having available code if you have a stable Network that's really gonna get deployed the governance at at the enterprise level that's really gonna link to the back-end systems do you really think organizations want to have code that's gonna be forking all over the place it's gonna be introducing security loopholes they're not so unapologetically we have turned around

and said actually in order to truth achieve true enterprise-grade stability there has to be a level of governance here to drive adoption and the reality is DLT does not sit on its own history is not going to change anything if you look at mobility look at AI all of those starters great bits of technology standing on their own what happens now you link the core to the edge you link the ERP the HCM the e a.m. to the edge the the new technologies I come from Oracle emerging tech part of the global leadership around industry and I can tell you what we did there is we linked emerging tech including blockchain with hyper ledger fabric to the backend and the reason we did that was because all deal T does not stand on

its own you will link all of these systems together so you're not a public bar chain we're probably know you're not a public blockchain because public people can't make any suggestions on how to change your code you're just a company that made a product and you say maybe you'll be nice and listen to people if you like the things that they're telling you but you control all of the current made a public box shame for the enterprise that's what we go to the enterprise very public you can say those words but you're not using them the way that we mean the words public blockchain means anybody in the world can change for the enterprise look at enterprises enterprises don't turn around and say look everybody can change my code of

course not because they're not public enterprises need enterprises start to get joined up they start to consciously uncouple then and start to use consciously uncouple and start to move out to the world and become more more decentralized they still got to be governance in this thing it can't be a free-for-all you cannot have enterprise grade systems that can split all over the place it's just not gonna work we'd be stuck in place that's the only thing that I think is worse than having a single company masquerading as a public

blockchain but actually controlling all the code is trying to have people put their governance protocol on to their blockchain the only thing that I think is worse than hash graph is Tazo synthesis regard we are now so we are now we allowed token holders to be part of the voting for new amendments so to upgrade the code essentially so everybody can participate in the governance process and this prevents the arbitrary forks from happening right so that's the whole point people that are working on tails are obviously very nice people but I'm not a very nice person and so I like to play the game where I assume that everybody's like me so if I were the people holding Tasos I would accumulate as much Tasos as I can and

then change the governance of the protocol in order to shut everybody else out so that I could have all the money and because that's the kind of person that I am and I assume the rest of the world functions like that I think that governance should be completely decoupled as much as possible from a network so that you have a system where governance really should just be politics people have to talk to each other people have work with each other and miners having them act in the middle as an intermediary between token holders and users of a network they actually have an incentive to just make everybody get along I think that's the best way just completely split governance away from a public network shapers say more than I disagree yeah so so fokin to me it's

kind of we assimilated the big the Bitcoin governance but we do want to like avoid the likely you know the hard fork of Bitcoin Bitcoin cash becomes @osha version person I think it's kind of a seedy because you know people are like like a fighting for 1 megabyte to 2 megabyte block size yeah it's it's not make sense technically it's kind of a culture reason well I guess sometimes you can say it's more like a religion reason people believe was @osha people believe a technology people believe will be coined like a gold yeah so so for quantum we want to avoid this kind of small debate in the community so at the beginning we deployed some smart

contract to manage the parameters of the over the small change over the blockchain like the block size like the gas price the gas limit some like a small parameter you do not you do not really need a hard fork you can just use a smart contract that you updated a parameter to the whole network yeah but the folder for the big update like we wanted to implement a new virtual machine the x86 what we want to implement as some like a confidential asset feature we do need as a hard fork like a big coin were like a you see yeah but also the the quantum coin holder they come they can vote for the change because the somatic contract is the public if right now everyone wanted quantum block size to become like from 2

megabyte to 10 megabyte they can vote it directly if the voting is like more than 51% of the network of you upgrade like automatically so we design is either small parameter and also for the big change we do need a hard fork because we want the quantum become a public a blockchain your voting really country that interchange yeah we do not have kind of a centralized governance for the whole block for the whole blockchain yeah just I was just gonna say about that that this idea that you can accumulate as much tests as possible in order to then evolve the governance in in a nefarious direction I mean that has a huge cost in practice you have to you

know it's the equivalent of doing a 51% attack on the network or something so you'd have to spend you know the whole point is you'd have to spend too much to be able to do that for it to be feasible I don't mean like one person I mean like the oligarchy of the top like 50 days those people they just don't want anybody else to be able to say things once you get up there you're like the little people don't matter anymore I mean so far we haven't seen any proposals to shut out everybody that's a common problem for all the proof of stake blockchains yeah no matter it's a Depot store pbft oh the big stakeholder they can't show the network but it's a similar as a Bitcoin like you know the few mining poles they can't decide like to start at the network yeah so because

we I remember clearly clearly was a Bitcoin hardfocus happening some of the mining policy in China you know they they do not produces up the blocks they spam the whole network yeah they to matter verify the block they they verify the empty block so no one can package their transaction yeah so because it's a permission last blockchain everyone can can be Evo in the network yeah so that that's a that's a huge problem for the for the promotion last blockchain but that's also the beautiful part everyone have the SS yeah any questions and a loud voice there's no mics so if the government imposes a tax on

any crypto then they would be able to like in the US where you have to pay to hold certain Kryptos whether it's tears or something else it's the same same thing I think so I have strong thoughts on this that oh sorry so his question was if a government decides that they want to force people to pay tax on every transfer of crypto for example of tezo's is that feasible can that be done with these public park genes and so our my position is that if you're a proof-of-work then the people that are transmitting money are miners and minors are not money transmitters because

they're anonymous and there's no record of who you are actually as a miner and freek has a probabilistic block settlement you can never actually say this was the block where I transmitted the money as opposed to in a staking system you have to know who you are because you have to have a certain amount of your currency actually staked and you have to go through some sort of compliance process and when you actually have a finality voting based settlement system you can point to the block and say this is the block in which person X that has 15% stake signified this transaction which means that then that's a transaction that you can actually go back and track the records this is also why staking has potential problems with money transmitter licensing for US

securities laws whereas mining doesn't have those problems I think it's a great question the SEC I mean looking at this almost on a daily basis the SEC is seems to be coming out with new new rulings literally daily on this so we want to make sure that you know for the network that you don't get classed as a security etc in which case that would be an issue you make a fair point any other questions just stand up and yell welcome house all the good qualities wait a

minute um surely you agree with the fact that there's a massive oligopoly when it comes to minors in Bitcoin I mean you just can't be blind to that right sure I just think that mining miners their interests lie in between the intersection of people that are token holders and people that are network users and miners have an incentive to play nice and make everybody happy because if the token price goes up too much and then it becomes impossible to transact on the network then no one will use it and nobody uses it and then my interest gets sad because there are no more blocks for them to generate but if the token price crashes then miners are sad because they've spent all this money

on hardware in order to try to create their mining rigs and so you have this like perfect storm balance where the people that are actually actively maintaining the network are also the people that have the best incentive to try to make the network actually function and be balanced then you centralize it around the people who got the economic power to mine and you've got the cheapest energy in order to do so you've got a distributed system that he's eventually becoming centralized and those were the most economic power but anybody can decide that they want to spin up a mining rig and go find some cheap power there's lots of cheap power if you can have a system where you can get two consensus from a laptop or something Regan personally I think you know the whole industry do not really have any standard or any definition and

what see the centralization what see the decentralization like how can you like like compare the decentralization level of a Bitcoin and a serum and the visitor maybe use well like with quantum more like a Telus other boxing yeah how can you like really give gives a more score maybe Bitcoin decentralization is the score like a 100 anodyne what's the others yeah I think that's that's a me see party in the whole industry people for all the like average users they do not really understand what's the meaning of the decentralisation is that means like everyone can validate as a blockchain it's a public approach in or is it way that means like who can't show the

blockchain yeah so I think if we do not really have the standard for what definition for the decentralization in the whole industry yeah but I was very well said thank you a quick question about the energy consumption of proof-of-work don't you really think that it's not a big problem because maybe this is just the cost for internet of assets compared to what payments and transaction cost today has anybody done the comparison how much one Europe payment using a credit card cost in energy compared to equivalent in Bitcoin or proof-of-work this is a good point it's very hard to measure and there have

not been a lot of good research studies done on really where the power to drive Bitcoin comes from there are a lot of like fake news articles out there about Bitcoin consuming the small European countries worth of electricity but we really haven't had any good academic studies and meanwhile you compare it to something like ACH or Swift or these systems where people but you know banks all the time send money to the wrong place and then they have to go back and open an audit trail and figure out where the money went and then call it back and send it where it was supposed to go there's a huge amount of inefficiency in the traditional banking system and I think everybody up here on the stage is here because we think that the traditional banking system sort of sucks

I want to thank everyone on the panel really interesting I think we know where everybody stands on the issues here which is an accomplishment and thank you guys for listening we appreciate it yeah thank you yeah

Related talks