BUIDL SEOUL 2018 (DAY 2): Presentation from Yongdae Kim

BUIDL Seoul 2018 · November 2018 · 29:08

Yongdae Kim, professor at KAIST, gives a technical look at how to evaluate blockchains, theoretically and experimentally. Drawing on his security research, including earlier attacks on peer-to-peer networks, he asks how builders can know how secure, fault tolerant, decentralized and performant a new chain really is compared with others. In the closing questions he discusses Sybil attackers, splitting stake across accounts and why identity management sits uneasily with permissionless blockchains.

Speakers

Topics

From BUIDL Seoul 2018, hosted by Kryptoplanet.

Transcript

I know they came from placed my top will be completely technical like different from David's so are they talking about how to evaluate proteins theoretical and experimental professor crisis and usually what I do is I great things like you know taking self writing cards but also and because I've been doing I think writing papers about you know breaking these kind of things I mean I mean the international media a bit but actually before I came to Korea in 2012 actually

again doing some of the like the peer-to-peer stuff without going in 2000 between 2008 and 2012 from 10 Korea I show that you can shut down or email that talk if you know me me donkey death of using a single machine and this way they had to touch a system because of our time and you know probably I think last year I started working on the blockchain and we did a paper in its in CCS which is top security conference and we already know papers so yeah I mean blockchain is moving yeah and we had a like crypto investment

war at the end of last year and another crisis from Tampa and also all people interested in designing third generation options right and there are huge number of IPOs and many many is coming coming out and I believe most of you are designing implementing running funding blockchain or business model using budget but till know how good years compared with others I think many of the developers just develop their system without knowing into helping your system is compared to others so like there are

the questions I mean like for own individual block chains someone say or a has 10,000 GPS or these be secure she tolerates when the metro failures deserves filament or east block sizes eight mega by to through performance all there are like make up questions on set of block chains such that like the decentralized instant valuation Vitalik picture he took about radical decentralization and see where Macaulay at MIT talked about or decentralization is the hardest thing to do and there are other debates like post for these peoples there are be many

many many debates and we don't know exactly how they are from the future so for now I'm not designing any new problems but instead of developing you know Brazilian no new proposed can we actually do with Kuwait and experimental e EE or several projects that's my team so why we can do technical evolution of course they they can do like as a start-up if blockchain is going just you know be good you can do it right based on you know his experience but I think

blockchain has another opportunity because we can do technical variation of the blockchain because there is a white paper and of many paper you can do Theory analysis and you understand business model they have and also most of the boxes also sewers and also in case public blockchain actually you can join the public blockchain and you can major things but in reality actually because in only place for me is important and VC's SP believe I think that's all and there's a huge gap between the theory and practice for example the design phase support units

really great but at the end what you have in the deployment actually looks completely different and there is no way to a blockchain valuation so I give you one example what we did for HR a measurement based study and so I think it's you own robust Belarusians which is the top six coins in the world designed by respected professor at Stanford of daily menus and uses something for you know be a very reasonable and we did some measurements on stylist elements and we discovered there are about three notes in stellar neutral and if you kill

two out of three notes the Salah blockchain will be completely not working it is completely centralized system and if you kill 12 three and if you analyze it to what why it happened but if you look at the white paper or a tree it doesn't look like that it is actually becoming during the implementation and also during the different deployment they have relaxed some of requirements and that made movies just like so so using the measurement study actually you can

immobilize problems and I think people have been working on this and the second thing I want to talk about today is bleeding which is some kind of block chain emulation evaluation evaluation platform we are going to quit my students so one thing I want to say is that so there are till the research papers like double spending paper eclipse of tellers zeros and what is famous you know research paper is published in conferences I strain one thing per se is that all these papers

research papers when are only about mid point in history why why do we I think there are a few reasons first these two are only victims and all the others are kind of being developed right and the other thing is that so and then we can think oh if others could be fixed then the single urban abilities will appear in other blocks is to say another thing is that Bitcoin and you know start countries are kind of fixed so if there's a standardized you know

right so in case of culture we can use a rarity EVM two variables but the consensus algorithms or presences implementations how do we implement I mean actually if you look at those implementations they are all different then it's very difficult to know which will appear so I think not chained in C language and but there are in Filipino difficulties existing interchangeable evaluations so what's happening so so there are a lot of unpredictability

[Music] [Music] so and we try to reduce the gap between the theory and employ methods and what I

mean there are three reasons we are actually for developers we will repeat in stivity book on development with efficient and effective and maybe robust mr. tester for venture capitalists or exchanges they can actuate concrete in terms of technical value evaluation to be possible using such kind of evaluation most of the last point is for students I mean I don't know how many students here are about she know that the students actually have built any of the you know considers I wouldn't before they

actually stopped working the protein companies right do we have I mean if you take a pre-existing class then probably there is room like skeletons by conductions but there is nothing like that for watching so what we do is some kind of emulation platform on top of singapore's so it came 1/1000 own in a single post and there is a very famous internet simulator or even a girl for Cheryl which is a paper I thought wisely and Cheryl was originally developed for for innovation

and shadow has shown that you can actually embed natural information among those penalty and the actual behaviors of the Tor network versus Cheryl is actually very very similar and you can actually plug in Bitcoin those things pretty well and this we are doing some kind of natural leather and virtualization that you can actually implement the system I mean I can get into detail so it has some kind of hierarchical structure this is typically [Music]

generated because this is a generator right so we have a channel simulator at the bottom where they actually we can simplify the sockets threads in photography in this way we can we are so imagine this you know single post and audio network i/o is replaced with memory i/o and you can run 1,000 you know bit point on on a single ghost and you can actually replace some of your gossip algorithm with something else and

you can have different pbht or pure wmq as all those things could be implemented in singles okay so this and we can see sterile and in addition to the manual traffic generator we can also be also implementing menu naturally in general that can cause mental mental conditions and all those things and so we are letting implemented on a ciggy machine memory and we and it can scale up to one thousand and two hundred

ninety seconds and I'll show you live demo using our yeah so this is actually single mode starts so right now we are running with the five hundred and weight on our side under those are performing to the peer networks and so the actual block generation Chinese for seconds instead of ten minutes here and because

it's for second is generating achievement ports right and the time of the right is actual real time and time on the left is actually for children so every four seconds the blocks are being generated and it's falling folks sometimes it's running now this is a trick different from the simulation this is actually Bitcoin client you can run on Amazon SSS separately but you can also run run this on a single machine ever in the laptop

computer you can embed of arbitrary networking events and actually think about all these different versions you can go I mean to to do actual system testing and I give too big too many of their true identity to many of the developers many of the watching developers they want some kind of test environment and yeah and if you use Cheryl actually you can actually implement killer Chrysostom pretty well so one of the difficulty when you're awesome

for a bit of Japanese so many of the blockchain assumes I mean the politicians the singles we sample in case a bit point every node has a different storage separate you know Buffy DVD right and if it is running on a single machine then all these possibilities will be tricky becomes crazy the storage is going to increase imprisonment right and the mining is also complicated should should we do caches or we can replace it to something else and right so there are I mean if you already have a good running I mean

blockchain channel file please some time actually actually try to make it better in the sense that you know right now we need some kind of notification at the source code level but our actually long term mode is without a tremor in the source code if you can hijack messages in the forum and then we can work with any of the violence so that that's actually our own and we want to do performance optimization right now is it running into pretty fast 1,000 Bitcoin double a treat doesn't take that much time for recruiting words you can run it in three seconds so that's very fast you

can do it in early but if you want to scale up to 20,000 or something like that we need some kind of horizontal scaling and we want to build in a warm options and students I mean six time for them to I think it's pretty good already so I don't know if it is clear but I mean who developers I think you can actually do basic testing destination encoding for and how robust visited assignments and

also I think PCs and you know that you can do some technology the radiation and you can do it's just testing this P we are talking about many different directions and for students actually they can have this really system or blockchain development experience in a single box that states huge amount of money instead of running many many Amazon actually you can do most of your work she was under okay so the last piece of

technology is more like a macroscale question so this is actually very famous question can we do instant valuation in decentralization information is obtained at the same time this is actually very famous question because super become a seller isn't cheap other honey speed to do and this may be charitable you know we need some kind of radical decentralization because all these proteins are becoming centralized so what we mean by isn't colliding so we

want to have the number of flavors as long as possible right and we want to have somewhat evil resource power so we want to have to turn even power distribution you may have why why do we want to have them it's because when you look at with and for mining pools like a few mining pools have even huge computational power and is very very centralized people already there are papers showing the Bitcoin and very easily very centralized because with those power distribution is not me so then community design isn't

valuations system that can reach though actually this kind of ideal distance holidays and let's give Mia finding some of the requirements to make such discipline radiation possible like notes with any resource power shoot on some problem any resource right now indeed for example someone without any business power will on nothing I mean with very small business power nothing because of them they will join they are joining the - right and also it is not should not be more profitable to delegate the resource

to others then the kids there you play one ruled by themselves you if you stop delegating then you might have problems and also the second requirement is that it is not more profitable for one player to run watchful wars then the case that the player runs in some cases actually for a spreading government in case of prison in case of ears suppose someone is really rich for someone is really rich then he should be actually splitting his power to many

different gnomes right then he can actually take all those 21 knots and it is actually more profitable and the resistant wager between each universe converges in probability to one is the last question that we want some kind of plea well darkest world to maintain with decentralization you should that be warned or could be maybe two or three some reasonable numbers is it possible so these are the four requirements become and if he actually satisfies these four

requirements we probably can reach full decentralization now the question is is there any incentive mechanism of permission is blockchain satisfying these four conditions have you seen or I was talking to Jay cheekbone yesterday and we are actually we I mean my student has analyzed top hundred fifty furnaces and out of ten hundred about sixty eight are either QW or pure as or difference

and out of 68 there was no point they satisfy all those four conditions so the black circle is the satisfy the conditions but actually many of them are nothing's most of the actually pure W or Chile's actually attention to in condition floor and in case of people's I mean they are only partially satisfied so let's go back to my college question because I mean people have become can you say anything about isn't it in because I already has

did not have many safety mechanisms and we because it serves innocent people indistinct and we actually true we true that it is impossible to design such incentive systems so meaning that actually the permission is booked change this into hydration and the decentralization is a dilemma that if you try to incentivize users your network will become centralized as it is for being the most of the other options unfortunately we don't have the people

ready to put on Romania well probably I think sometime around twenty to one month we are going to post about our mathematical truth and what all those measurements study about thousand red points and of course I mean there could be errors in that truth and we will get some opinions from the experts first and after every expert states it's fine then we'll be putting two people and then we can check so let's so so King what we true is that if

you try to incentivize commissioners blockchains then your blockchain will become centralized like so this is my so I still think you know theoretical and experimental evaluation is important and because many of the block chains are permission I mean the public options so you can join the public network and you can actually measure properties such as natural boring robustness caliber lives and we know we have blocks producers all

this information is abalone the thing is that we are not filtering between each other and also we are developed in played for emulation and evaluating platform for blockchain and also for education and also I talked about recent variation in decentralized and dilemma and probably the people will be out pretty soon and there are we've been doing other words like you know Tikku mining which is so pickle money paper is asking right so between the bit point victory cash actually some binder is for moving between these two right

because when there is a difficulty when when difficulty becomes easy people were moving between these two so people but our question was if people move between these two continuously automatically by looking at the value of the point then what's going to happen so our answer is actually become cash is $50 if 10% of if the ratio is okay so let's you can look at the paper later yeah and so that's it thank you very much for your changes and if you have

questions I can see just one quick question I think's really great talk I was curious what's your personal take away from the dilemma do you think it's more likely that projects will give up in semanas Asian to call decentralisation or vice versa in whatsover case yeah so actually move decisively actually what we show is their illness you can charge more to the civil attacker so if you split your mean so for those people who split their account they should pay more if you can import such mechanisms then

probably we have some book or in the other way actually we say it is it possible in the permissionless blockchain because if there is actually trusted identity management so if there is some kind of provably that discipline just belongs to one account or if someone makes it that much power comes then you can actually detect Otis's from your medicine then yeah maybe but if you have identity management and we completed it made when that's not any more information less approaching right so somehow we need to increase the first of the severe attacker and I don't see all right thank you very much and if you

have more questions I can to you I'll say thank you [Applause]