Share
Embed
Transcript
106 slides
-
2 Quick Introduction ໊લɿลଠ େֶɿܚጯٛक़େֶܦࡁֶ෦3 ৬ྺɿChronicled SoftBank Internship (6Χ݄ʣ NPO.ETIC
Internship (3Χ݄ʣ ϩγΞΠϯλʔϯγοϓʢ1.5Χ݄ʣ ΠϯυӦۀ׆ಈ (1.5Χ݄ʣ ࠷ۙɿTwitterͱMediumʹྗΛೖΕ͍ͯ·͢ɻ Twitter (@souta__watanabe) ɹɹɹ ̍൪ڵຯ͋ΔͷϒϩοΫνΣʔϯ͕ ɹɹɹ ࣾձʹͨΒ͢ΠϯύΫτΛϚΫϩతʹ ɹɹɹ ݟΔ͜ͱͰ͢ɻ -
5 Contents 1 ατγɾφΧϞτͱͦΕ͔Β Blockchainͱͦͷࢥ 2 Ͳ͏ಈ͍͍ͯΔͷ͔ʁ BlockchainͷΈ 3 ੈؒͷظͱͷဃ
Blockchainͷ 4 ৭ʑͳBlockchain Ϗδωεతͳࢹ 5 ࠷ޙʹ ݸਓతͳࢥͱ࣮ݱ͍ͨࣾ͠ձ P7 P54 P21 P81 P92 -
8 “The technology most likely to change the next decade
of business is not the social web, big data, the cloud, robotics, or even artificial intelligence. It’s the blockchain, the technology behind digital currencies like Bitcoin.” )BSWBSE#VTJOFTT3FWJFX%PO5BQTDPU “The progress of mankind is marked by the rise of new technologies and the human ingenuity they unlock. In distributed ledger technology, we may be witnessing one of those potential explosions of creative potential that catalyse exceptional levels of innovation. The technology could prove to have the capacity to deliver a new kind of trust to a wide range of services. As we have seen open data revolutionise the citizen’s relationship with the state, so may the visibility in these technologies reform our financial markets, supply chains, consumer and business-to-business services, and publicly-held registers.” ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ"SFQPSUCZUIF6,(PWFSONFOU$IJFG4DJFOUJGJD"EWJTFS Blockchainͷظ -
13 Genesis Blockͷҙຯ https://blockchain.info/ 04ffff001d0104455468652054696d65732030332f4a616e2f323030392043 68616e63656c6c6f72206f6e206272696e6b206f66207365636f6e6420626 1696c6f757420666f722062616e6b73 (σίʔυࡁΈ) �� EThe
Times 03/Jan/2009 Chancellor on brink of second bailout for banks “Chancellor on brink of second bailout for banks” ࡒେਉ2ͷۜߦٹࡁ͔ʁ ͱ͍͏จࣈ͕ຒΊࠐ·Ε͍ͯΔɻ -
14 27 transaction 24 block 20 transactions 17 nodes 17
attacker 16 chain 15 blocks 14 network 14 honest 14 Hash 13 Block 11 proof-of-work 10 probability 9 timestamp 9 system 9 Owner 9 CPU 8 trusted 8 only 8 next 7 proof 7 majority 7 coins 7 chain, 7 Prev 7 Nonce 7 Merkle 6 working 6 work6 6 value 6 time 6 sender 6 number 6 node 6 make 6 long 6 double 6 block, 6 Nodes 6 Key 6.trust # Word 47 times transaction(s) 30 times block(,) 28times honest + trust(ed) 23 times chain(,) 23 times node(,) 5IJTQBQFSJTBCPVUlUSVTUzBOElUSBOTBDUJPOz 14 ϓϩάϥϛϯάݴޠPythonΛ༻͍จΛੳ͠·ͨ͠ɻੳͷ݁Ռɺจதʹʮtrustʯͱʮtransactionʯ͕ଟ༻͞Ε͍ͯΔͱ͍͏݁ՌΛಘ·ͨ͠ɻ # Word ατγɾφΧϞτͷจੳ -
16 Bitoin͕ղ͖͔͍ͨͬͨʢԾઆʣ A peer to peer version of electronic cash
would allow online payments to be sent directly from one party to another without going through a financial institution. ࣗͷ͓ۚΛ୭ʹࢭΊΒΕΔ͜ͱແࣗ͘ͷ͖ͳλΠϛϯάͰ ૹۚ͢ΔʹͲ͏͢ΕΑ͍͔ʁ -
19 ᶃվ͟Μ͕ۃΊͯࠔͰ͋Δɻ ᶄ࣮࣭θϩɾμϯλΠϜͳγεςϜɻ ᶅ҆ՁʹߏஙՄೳɻ ᶃʹؔͯ͠ͳͥվ͟Μ͕ࠔ͔ͱ͍͏ͱ2ͭͷಛ͕͋Δɻ ̍ͭʮࢄతʯͳཧγεςϜ͔ͩΒɻ ͜ͷΑ͏ͳγεςϜΛҰൠతʹP2Pͱ͍͏ɻʢPeer to Peer) ैདྷɺ͓ۚͷऔҾۜߦͳͲͷୈ̏ऀػ͕ؔհ͢Δ͜ͱʹ
Αͬͯ৴པੑΛ୲อ͖͕ͯͨ͠ɺ ϒϩοΫνΣʔϯͰશͯͷ ཤྺΛօͰڞ༗͢Δ͜ͱʹΑͬͯ৴པੑΛ୲อ͍ͯ͠Δɻ ͜ΕʹΑͬͯୈ̏ऀػ͕ؔඞཁͳ͘ͳΔͱҰൠతʹݴΘΕ͍ͯΔɻ ̎ͭʮ֤औҾཤྺॱ൪ʹϒϩοΫʹऩೲ͞Ε͍֤ͯͯϒϩο Ϋ͕લͷϒϩοΫͱͭͳ͕͍ͬͯΔͨΊʹվ͟Μ͕ࠔʯ ྫ͑ɺσʔλ͕อ͞Ε͍ͯΔ̍ͭͷϒϩοΫͷσʔλΛվ͟Μ ͢ΔͱɺνΣʔϯͰܨ͕͍ͬͯΔલɺޙΖͷσʔλͱͷ߹ੑ͕औΕ ͳ͘ͳΔͷͰվ͟ΜΛͨ͠Βॠ࣌ʹݟ͔ͭΔɻ ϒϩοΫνΣʔϯͷಛ ֵ৽ੑ ܦࡁ׆ಈͷج൫औҾͩͬͨɻྺ࢙తʹ͍··ͰऔҾ૬खͷ৴པੑ ͷ୲อͷҝʹඇৗʹଟ͘ͷίετ͕͔͔͖ͬͯͨɻ ৴པੑ୲อͷΈͷྫ ɾ͚֨ɺձܭࠪ ɹɾެূਓ ɹɾొه ɹɾதԝۜߦ ͔͠͠ɺϒϩοΫνΣʔϯΛར༻͢Δ͜ͱͰࢀՃऀಉ͕࢜ ૬ޓʹڠྗɾࢹ͢ΔγεςϜ͕ΓཱͭͷͰ ࣾձγεςϜΛҡ࣋͢ΔҝʹଟେͳίετΛͬͯ ߏங͖ͯͨ͠தԝूݖతͳୈ3ऀػ͕ؔෆཁʹͳΔɻ ϒϩοΫνΣʔϯͱʁ -
20 3छྨͷϒϩοΫνΣʔϯ ύϒϦοΫ ίϯιʔγΞϜ ϓϥΠϕʔτ ϚΠχϯάϊʔυ ੍ݶͳ͠ ੍ݶՄೳ ੍ݶՄೳ ϒϩοΫνΣʔϯӾཡ
Φʔϓϯ ੍ݶՄೳ ੍ݶՄೳ ϒϩοΫੜ PoWPoSͳͲͷқ ͷߴ͍Έ͕ඞཁ ҙʢϒϩοΫੜओମ Λݶఆͤ͞Δ߹͕ଟ ͍ʣ ҙ ϚΠχϯάใु ඞਢ ҙ ҙ Ϣʔεέʔε Bitcoin, EthereumͳͲ αϓϥΠνΣʔϯͳͲ اۀσʔλཧͳͲ ͜ͷ3ͭͷ͚ํʹॾઆ͋ΔͷͰɺҙ͕ඞཁɻ -
26 Former block’s hash value Former block’s hash value Former
block’s hash value Nonce Nonce Nonce Transaction Transaction Transaction Transaction Transaction Transaction Transaction Transaction Transaction Transaction Transaction Transaction • A block is including transactions in a certain period of time. • A block is including the former block’s hash value. Therefore, it looks like a chain structure. • The hash is recomputed for each value until a hash containing the required number of zero bits is found. (set by “the difficulty”) The Structure of Blocks -
27 ϒϩοΫͷߏ લͷϒϩοΫͷϋογϡ ϊϯε TX ݫີʹΈΔͱͬͱ৭ʑೖ͍ͬͯΔɻ τϥϯβΫγϣϯͷϚʔΫϧͷϧʔτϋογϡ λΠϜελϯϓ λʔήοτ TX
TX TX TX TX TX TX TX TX TX TX TX TX TX TX TX TX TX -
31 ϒϩοΫͷߏ Former block’s hash value Nonce Transaction Transaction Transaction
Transaction 1MόΠτͷϒϩοΫʹ4000݅ఔͷ औҾΛ࣮ݱͰ͖Δɻ ϒϩοΫͷੜใु͕12.5BTCʢ1200ສԁʣ ͱ͢Δͱɺ1݅͋ͨΓͷऔҾʹ3,000ԁ ͔͔͍ͬͯΔ͜ͱʹͳΔɻ ʢߴ͍Ͱ͢ΑͶwʁʣ ແ͔Βੜ͡Δ௨՟ൃߦӹͰิర͍ͯ͠Δɻ -
33 Former block’s hash value Former block’s hash value Nonce
Nonce Transaction Transaction Transaction Transaction Transaction Transaction Transaction Transaction νΣʔϯͷͭͳ͗ํ SHA256ͱ͍͏ϋογϡؔΛ༻͍͍ͯΔɻ ลଠ 010100001001010010010110………… 256ܻͷ0 or 1 SHA256 ลଠ 010100001001010010010110………. 256ܻͷ0 or 1 1111010100100100100111000………. 256ܻͷ0 or 1 ಉ͡ ☓ ෆՄٯ ࣮ࡍʹμϒϧϋογϡ ͕ΘΕΔɻ -
34 ☓ ☓ ˎReference : Nonce 34 • The nonce
in a Bitcoin is a 32bit (4byte). • In terms of Bitcoin, the difficulty of finding “nonce” is set. It is about 10 minutes. Hash Hash Hash Nonce : A Nance : C Nance : B Other data : bbbbbbbbbbbb Other data : bbbbbbbbbbbb Other data : bbbbbbbbbbbb 21333508fdw9cujsighwehɾɾɾ 000000000000000012ec2h93ɾɾ 0000012dwvf344brthhh64ɾɾɾ 10 min -
35 ϋογϡ 35 01010100101011110111010000010111111………… 0 or 1ͷ256ܻ 16ਐ๏ͷ64ܻ (͜ΕϒϩοΫ#1000000ͷϋογϡ) 000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506
͜ͷ0ͷΛ “difficulty” ͱݴ͏ɻ ײతʹ͔Δ͕ɺઌ಄͔Β࿈ଓ͢Δ0ͷ͕ଟ͘ͳΕͳΔ΄Ͳ ݅Λຬͨ͢Λݟ͚ͭΔͷ͕͘͠ͳΔɻ ฏۉ10Ͱݟ͔ͭΔΑ͏ʹࣗಈௐ͞ΕΔɻͳͷͰɺϚΠχϯάύϫʔ ͕େ͖͘ͳΕͳΔ΄Ͳdifficultyߴ͘ͳΔɻ #1000000ͷϒϩοΫɻ0͕11ݸɻ #100ͷϒϩοΫɻ0͕8ݸɻ #500000ͷϒϩοΫɻ0͕18ݸɻ ࣌ଟ0͕9 or 10ݸҎ্Ͱ͋ΕΦοέΠɻ -
36 ʲ+αʳϋογϡΛ୳ٻͯ͠ΈΔ 36 1. িಥੑ X Y H(X) = H(Y)
୭ɹX != Y ͔ͭ H(X) = H(Y)ͱͳΔΑ͏ͳ XͱYͷΈ߹ΘͤΛݟ͚ͭΔ͜ͱ͕Ͱ͖ͳ͍ɻ ͜͜ͰॏཁͳͷɺXͱYͷΈ߹Θ͕ͤʮଘࡏ͠ͳ͍ʯ Ͱͳ͘ɺʮ୭ݟ͚ͭΔ͜ͱ͕Ͱ͖ͳ͍ʯͱ͍ͯ͠Δ Possible Inputs Possible outputs Πϯϓοτ૯ྔ͕Ξτϓοτ૯ྔΑΓେ͖͍ ͨΊিಥଘࡏ͢Δɻ -
39 ిࢠॺ໊ͷϓϩηε ૹ৴ऀ ड৴ऀ ࢀߟɿϒϩοΫνΣʔϯͷΈͱཧ ᶃΩʔϖΞͷ࡞ ૹ৴ऀͷൿີ伴 ૹ৴ऀͷެ։伴 ૹ৴ऀͷެ։伴 ᶄެ։伴ͷૹ
ᶅిࢠॺ໊ͷ࡞ ిࢠσʔλʢݪຊʣ ిࢠॺ໊ ݪຊ→ిࢠॺ໊ૹ৴ऀͷ ൿີ伴Λݩʹ࡞͞ΕΔɻ ᶆిࢠσʔλͱిࢠॺ໊ͷૹ ిࢠσʔλʢݪຊʣ ిࢠॺ໊ ᶇిࢠॺ໊ͷ෮߸Խ ిࢠσʔλʢ෮߸݁Ռʣ ᶈൺֱ ϒϩοΫνΣʔϯͰ֤τϥϯβΫγϣϯʹ1ͭͣͭిࢠॺ໊ͱެ։伴͕༩͞Ε͍ͯΔɻ -
41 ʲ+αʳൿີ伴ͱެ։伴 Source : mastering bitcoin ൿີ伴ɺ16ਐ๏ͷ64ܻͱͳ͍ͬͯΔɻ16ͷ64Ͱ2ͷ256ͱಉ͡ɻ 2ͷ256ͬͯͲΕ͘Β͍ʁ →2ͷ256 ≒
10ͷ77 ≒ 10ͷ80 ≒ ؍ଌՄೳͳӉͷݪࢠͷ ͱΓ్͋͑ͣํͳ͘େ͖͍Ͱ͢ স -
44 ৭ʑͳίϯηϯαεΞϧΰϦζϜ PoW (Proof of Work) PoS (Proof of Stake)
PoI (Proof of Importance) PBFT ατγφΧϞτʹΑΓߟҊ͞ΕΔɻ ϏοτίΠϯϒϩοΫνΣʔϯͰ࠾༻͞Ε͍ͯΔɻ ϚΠχϯάʹΑΔܭࢉྔʹΑΔূ໌͕͞Ε͍ͯΔɻ 51%ɺϑΝΠͳΓςΟʔɺੑೳݶքɺ ϒϩοΫͷ༰ྔͳͲͷΛ๊͍͑ͯΔɻ ΠʔαϦΞϜϒϩοΫνΣʔϯʹಋೖ༧ఆ ʢ2018/02/13ݱࡏʣɻ௨՟ͷอ༗ྔʹΑͬͯϒϩο Ϋ࡞ऀͷ༏ઌ͕ҟͳΔɻݫີʹ͍͏ͱɺอ༗௨ ՟ྔʹैͬͯϋογϡͷܭࢉқ͕มΘΔɻ PoWΑΓిྗফඅ͕গͳ͘ͳΔͷ͕ྑ͍ॴɻ HyperLedger FablicͰ࠾༻͞Ε͍ͯΔɻϑΝΠφϦ ςΟʔͷෆ࣮֬ੑΛղফ͍ͯ͠ΔɻࢀՃऀͷҰਓ͕ ࣗΛؚΉશࢀՃऀʹཁٻΛૹΓɺͦͷཁٻͷղ ݁Ռ͔ΒଟܾʹΑͬͯϒϩοΫΛ֬ఆͤ͞Δɻ ίϯιʔγΞϜ͚ɻϊʔυ͕εέʔϧ͠ͳ͍ɻ NEMͰ࠾༻͞Ε͍ͯΔɻ௨՟อ༗ྔ͚ͩͰͳ͘ औҾྔͱऔҾͨ͠ਓ౿·͑ͯใु͕༩͑ΒΕΔ ΈɻωϜͷωοτϫʔΫΛ͏ਓʹݖݶ͕ ༩͑ΒΕΔΈɻ -
45 PoW (Workflow Systemᶃ) Participants : A, B, C, D,
E, F, G Miners : α, β, γ, δ, ε A B C D E F α β γ ε δ Blockchain -
46 PoW (Workflow Systemᶄ) A send 10BTC to C, C
send 5BTC to F, E send 8BTC to D A→C, C→F, E→ D A B C D E F α β γ ε δ -
47 PoW (Workflow Systemᶅ) A B C D E F
α β γ ε δ The transactions are broadcasted to participants and miners at the same time. Transactions like A→C, C→F, E→D are also the same. -
48 PoW (Workflow Systemᶆ) A B C D E F
α β γ ε δ The miners which received transactions confirm signatures and start to find Nance. -
49 PoW (Workflow Systemᶇ) A B C D E F
α β γ ε δ The one who finds Nonce will make a new block and broadcast it to all participants and miners. -
50 PoW (Workflow Systemᶈ) A B C D E F
α β γ ε δ Miners which received the block confirm it and add it to own blocks. -
51 τϥϯβΫγϣϯͷΈ Source : mastering bitcoin Alice͕Bobʹ0.0150BTCૹۚ͢ΔࡍʹɺTo Bob : 0.0150ɺTo
Alice : 0.0845BTC Λૹ͍ۚͯ͠ΔɻAlice to AliceϒϩοΫνΣʔϯ্ʹهࡌ͞ΕΔɻ ΞυϨε͕Ұॹ -
55 ݱ࣌Ͱͷ Blockchainͷ ͱղܾࡦ 1 ϑΝΠφϦςΟʔ ࣮࣌ؒੑ 2 ZK-SNARKS͋Δ͚Ͳ ൿಗੑ
3 Segwit ͱ Segwit2X εέʔϥϏϦςΟʔ 4 ͦͷଞ 5 ΤΫϦϓε߈ܸͱ͔γϏϧ߈ܸͱ͔ ΠϯηϯςΟϒઃܭɾΨόφϯε -
56 ࣮࣌ؒੑ 1. ΫϥΠΞϯτɾαʔόʔܕͷγεςϜͷ༻ʹɺҰ੪ʹಉ͡ใΛ ڞ༗͢Δ͜ͱ͕Ͱ͖ͳ͍ɻP2PωοτϫʔΫ্Ͱϝοηʔδͷૹ৴ Λ܁Γฦ͚ͩ͢Ͱɺใ͕શϊʔυʹߦ͖Δ·Ͱʹ͕࣌ؒ ֻ͔ͬͯ͠·͏ɻ 2. ϑΝΠφϦςΟʔཱ͕֬͠ͳ͍ɻʢPoSͳͲͰվળ͕ݟΒΕΔɻʣ ͨͩ͠ɺͦΕΛߟྀͯ͠ϏδωεϞσϧΛߟ͑Δ͜ͱ༗ޮɻ
ϦΞϧλΠϜੑΛͱΊΒΕΔྖҬͰ·ͩԠ༻͕͍͠ɻ A→B A→BͷऔҾԿΛͬͯྃͨ͠ʢ͏෴Δ͜ͱͳ͍ʣͱ͍͑Δͷ͔ʁ 6ݸϒϩοΫ͕ଓ͚վ͟Μʢ΄΅ʣෆՄೳͱݴΘΕ͍ͯΔ͕ͦΕ·Ͱʹ60·ͨͳ͚Ε͍͚ͳ͍ʁ -
57 ˎReference : Finality Invalid Invalid • The majority decision
is represented by the longest chain, which has the greatest proof-of-work effort invested in it. • Nodes always consider the longest chain to be the correct one and will keep working on extending it. Satoshi Nakamoto (2008) -
58 ʲ+αʳϑΝΠφϦςΟʔΛਂ۷ͬͯΈΔ ϑΝΠφϦςΟʔཱ͕֬͠ͳ͍͜ͱͷ߈ܸͱ https://blog.ethereum.org/2016/05/09/on-settlement-finality/ Ethereumͷ։ൃऀ Vitalikͷ ʮύϒϦοΫͳϒϩοΫνΣʔϯͰઃܭཧ্ ͋͘·Ͱཱ֬తʹ͔͠ϑΝΠφϦςΟʔ͕ಘΒΕ ͳ͍ͷͰ̍̌̌ˋͷϑΝΠφϦςΟಘΒΕͳ͍ɻ ۚ༥ػ͕ܾؔࡁͳͲͷ༻్ʹར༻͢Δ͜ͱ
৴པͷ؍ͰΉ͔͍ͣ͠ʯ ͦͦɺશͯͷϑΝΠφϦςΟʔཱ֬త ͳͷͰ͋ΔɻEthereumͰCasperͰ51%ͷ ͖͍͠66%ʹ͍͋͛ͯΔɻ -
59 ൿಗੑ 2छྨͷൿಗੑ 1. ʮΞΧϯτʯͱʮݸਓʯ͕ʢ͋͑ͯʣඥ͍͍ͯͳ͍͜ͱʹΑͬͯى͜Δɻ MoneroͳͲҋऔҾʹΘΕΔ͜ͱ͕͓͓͍Β͍͠ɻΠΪϦεͷݚڀػؔʹΑΔͱ ϏοτίΠϯͷҋऔҾશମͷ0.61%ʹ͔͠ຬͨͳ͍ɻ “According to the study,
the total percentage of identified “dirty bitcoins” going into conversion services was relatively small. Only 0.61 percent of the money entering conversion services during the four years analyzed were verifiably from illicit sources, with the highest proportion (1.07 percent) seen in 2013. 2. Aͱ͍͏ΞΧϯτ͔ΒBͱ͍͏ΞΧϯτʹ͍͘Βૹ͍ۚͯ͠Δ͔͕͔ͬͯ ͠·͏ͱ͍͏ɻͦΕࣗମʹͳ͍͕ɺૹֹۚΛΒΕͨ͘ͳ͍Ϣʔβʔ ͍ΔɻʢZK-SNARKsͳͲͷղܾࡦ͋Δɻʣ Source : https://coincenter.org/link/a-new-study-finds-less-than-1-of-bitcoin-transactions-to-exchanges-are-illicit?utm_ content=bufferad122&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer -
64 εέʔϥϏϦςΟʔղܾࡦ Alice Bob ϒϩοΫνΣʔϯ औҾͷ֬ఆʹ͕͔͔࣌ؒΔͱ͍͏ͱ͍͏͕ղܾ͢Δ͕ɺσϙδοτΛ࡞ΔͷΊΜͲ͍͘͞ɻ 2ऀؒͰ։͘ͷ͕ϚΠΫϩϖΠϝϯτνϟωϧ͕ͩɺෳͷϚΠΫϩϖΠϝϯτνϟωϧΛ·͍ͨͰ ҙͷ2ऀؒͷߴ͔ͭఆֹͷࢧ͍Λ࣮ݱ͢Δͷ͕Lightning Networkɻ ϚΠΫϩϖΠϝϯτνϟωϧͱϥΠτχϯάωοτϫʔΫ
σϙδοτ 1BTC A to B 1BTC B to A 0.01BTC to A 0.99BTC νϟωϧΫϩʔζ ϚΠφʔࢧ͍ -
66 εέʔϥϏϦςΟʔղܾࡦ ΦϑνΣʔϯͷղܾࡦɺLightning NetworkRaiden NetworkͳͲͰఏڙ͞Ε͍ͯΔɻ ΦϑνΣʔϯͱͳʹ͔ʁ ຊདྷϒϩοΫνΣʔϯ্ͷऔҾΛϒϩοΫνΣʔϯ֎Ͱߦ͏͜ͱɻ 2ͭͷύλʔϯ Մೳੑ 1.
औҾॴ͕ఏڙ͢ΔΦϑνΣʔϯɻ͋͘·ͰϓϥοτϑΥʔϜʹ ґଘ͍ͯ͠Δɻ 2. Lightning NetworkRaiden NetworkɻΦϯνΣʔϯ্͔Β νϟωϧΛ։͖ɺͦͷνϟωϧͰૹड৴Λߦ͏ɻ ΦϯνΣʔϯͰͷඵؒ7τϥϯβΫγϣϯͷ ʢΠʔαϦΞϜ13औҾʣΛΦϑνΣʔϯΛհ͢Δ ͜ͱͰτϥϯβΫγϣϯੑೳΛܶతʹ্ͤ͞Δɻ Lightning NetworkͱRaiden Network Lightning NetworkϏοτίΠϯϒϩοΫνΣʔϯͰɺ Raiden NetworkΠʔαϦΞϜϒϩοΫνΣʔϯͰ ࣮͞Εʢ͍ͯʣΔɻ -
67 4. ΠϯηϯςΟϒઃܭɾΨόφϯε ˎ Reference :51% Attack 67 @Berkeley Blockchain
Usually, a Miner joins a pool which is a team of other miners and cooperates to mine. Miner’s share • Currently, there are no pools which get more than 50%. • Miners are mainly from China and the other countries which the electronic bills are so low. -
72 BitcoinҎ֎ͷϒϩοΫνΣʔϯج൫ ໊শ ։ൃݩ ༰ Bitcoin Core Bitcoin Foundation ϏοτίΠϯͷϦϑΝϨϯε࣮ɻ
Ethereum Ethereum Foundation DappsͷߏஙϓϥοτϑΥʔϜɻSolidityͰίϯτϥΫτ Λهࡌ͢Δɻ HyperLedger Fablic HyperLedger Project Linux FoundationओಋɻύϑΥʔϚϯε৴པੑͷ্ ͷҝʹಠࣗͷίϯηϯαεΞϧΰϦζϜϝϯόγοϓ ཧΛߦ͏ɻ Corda R3 CEV R3ओಋͷۚ༥ػ͚ؔͷࢄܕாɻ Chain Open Standard 1 Chain.inc ࣌ؒͰऔҾΛྃͤ͞ΔΞϧΰϦζϜͳͲΤϯλʔϓ ϥΠζ͚ɻ mijin ςοΫϏϡʔϩ ϓϥΠϕʔτܕϒϩοΫνΣʔϯͰτϥϯβΫγϣϯॲ ཧͷߴԽΛ࣮ݱɻࢀՃऀڐՄ੍ͰPoSΛ࠾༻ɻ Orb1 Orb ϑΝΠφϦςΟʔʹڧΈɻதԝूݖͱࢄܕΛ༥߹ͤ͞ ͍ͯΔɻ Eris Eris Industries Ethreum͔ΒੜɻύʔϛογϣϯܕͷϒϩοΫνΣʔ ϯΛࢤɻ -
Bitcoinͱͷҧ͍ 75 ΠʔαϦΞϜʹExternally Owned AccountʢEOAʣͱίϯτϥΫτΞΧϯτ͕͋Δɻ ΞΧϯτɺGasɺEVMʢEthereum Virtual Machineʣɺstatuesͱ͍͏֓೦͕༗Δɻ ΞΧϯτ Gas
EVM Status ΠʔαϦΞϜͷτϥϯβΫγϣϯΛ࣮ߦ͢ΔͨΊͷखྉɻ ΠʔαϦΞϜωοτϫʔΫ্Ͱಈ͘ԾϚγϯɻEVM্ͰsolidityΛEVM༻ͷόΠτίʔυʹ ͯ͠τϥϯβΫγϣϯΛ࣮ߦ͍ͯ͠Δɻ τϥϯβΫγϣϯ͕ى͖Δલɺ࢝·Γͷঢ়ଶʢgenesis state)Ͱ͋Γɺ৽ͨͳτϥϯβΫγϣϯͷੜ͝ͱʹঢ়ଶ1ɺঢ়ଶ2ɺɺɺͱมԽ͍ͯ͘͠ͷͰ͢ -
76 ΞΧϯτ ΠʔαϦΞϜʹExternally Owned AccountʢEOAʣͱίϯτϥΫτΞΧϯτ͕͋Δɻ EOA Externally Owned AccountϢʔβʔͷൿີ伴ʹ Αͬͯཧ͞ΕͨΞΧϯτɻ
ϢʔβʔEOAΛ௨ͯ͠ΠʔαϦΞϜ ωοτϫʔΫͱ௨৴Λߦ͏ɻίʔυ࣋ͨͳ͍ɻ ίϯτϥΫτΞΧϯτ ίϯτϥΫτΞΧϯτίʔυΛ࣋ͭɻίϯτϥΫτ ΞΧϯτϢʔβʔ͕࣋ͭ͜ͱͰ͖ͣɺΠʔαϦΞϜ ্Ͱཧ͞ΕΔɻ EOAൿີ伴Λͬͯॺ໊Λ͢Δ͜ͱͰɺτϥϯβΫγϣϯΛ࡞͢Δ͜ͱ͕Ͱ͖ΔɻEOA͔ΒEOAɺEOA͔Β ίϯτϥΫτʹτϥϯβΫγϣϯΛ࡞Δ͜ͱ͕Ͱ͖ΔɻEOA͔ΒEOAͷτϥϯβΫγϣϯૹۚͳͲϏοτίΠϯ ͱಉ༷ɻEOA͔ΒίϯτϥΫτΞΧϯτͷτϥϯβΫγϣϯίϯτϥΫτ͕͍ͬͯΔίʔυΛ࣮ߦ͢Δɻ ʢʣίϯτϥΫτΞΧϯτࣗମτϥϯβΫγϣϯΛ࡞Δ͜ͱ͕Ͱ͖ͳ͍ɻͨͩ͠ɺEOA͔Βͷࢦࣔ࣍ୈͰ ίϯτϥΫτΞΧϯτ͔ΒίϯτϥΫτΞΧϯτʹτϥϯβΫγϣϯΛੜ͢Δ͜ͱ͕Ͱ͖Δɻ -
78 ICO ICOͷΈࣗମ͖Ͱ͕͢ɺ ੈͷதʹग़͍ͯΔICOͷ΄ͱΜ Ͳݏ͍Ͱ͢ɻ τʔΧφΠζ͢Δඞཁͷͳ͍ձ ࣾ·ͰICO͍ͯ͠Δݱঢ়݈શ Ͱͳ͍Ͱ͢ɻ ϒϩοΫνΣʔϯΛΑ͔ͬ͘ ͍ͯͳ͍ਓ΄ͲICOɺICOݴͬ
͍ͯΔؾ͕͠·͢ɻ ͔͠͠ɺҰํͰελʔτΞοϓ ͷࢿۚௐୡखஈΛ৽͘͠Γ։ ͍ͨͷࣄ࣮Ͱ͢ɻ -
79 ZK-SNARKs ZK-SNARKsΠʔαϦΞϜϒϩοΫνΣʔϯͷ ϓϥΠόγʔͷʹؔ͢Δղܾࡦ ZK-SNARKsͱͳʹ͔ʁ Ͳ͏͍͏࣌ʹ͑Δͷ͔ʁ εϚʔτίϯτϥΫτ্ͷݸਓใ اۀൿີΛϒϩοΫνΣʔϯ্ͷެ։͢Δ͚Ͳ ൿಗԽ͍ͨ࣌͠ ChronicledͷMediLedgerʢҩྍܥʣϓϩδΣΫτ
ͰɺෳͷༀձࣾͷαϓϥΠνΣʔϯΛ ϒϩοΫνΣʔϯͰཧ͢Δ࣌ʹɺ ڝ߹ʹରͯ͠ༀͷ༰ΛൿಗԽ͍ͨ͠ͷͰ ͜ͷٕज़Λ͍ͬͯΔɻ Կ͕Ͱ͖ΔΑ͏ʹͳΔͷ͔ʁ ҰൠతͳτϥϯβΫγϣϯͰɺA͔ΒBʹ10BTCͱ͍͏ Α͏ͳτϥϯβΫγϣϯͷ༰Λୈࡾऀ͕֬ೝ͢Δ͜ͱ͕ Ͱ͖ΔɻZK-SNARKsΛ͏ͱɺૹ৴ऀɺड৴ऀɺૹֹۚۚ ΛൿಗԽ͢Δ͜ͱ͕Ͱ͖Δ͕ɺτϥϯβΫγϣϯʹෆਖ਼͕ ͳ͍͜ͱୈࡾऀ͕֬ೝͰ͖Δɻ Zero Knowledge – Succinct Non-interactive ARgument of Knowledge ৄࡉ͜ͷهࣄ͕Φεεϝ https://zoom-blc.com/what-is-ethereum-zk-snark -
80 ZK-SNARKs ͳΜ͔ڭ͑ͯΒͬͨSNARKsͷྺ࢙ The first construction of a zero knowledge
succinct argument dates back to a paper of Joe Kilian from 1992. After that, a paper of Silvio Micali in 1994 showed how to make the proof non-interactive via cryptographic hash functions. While Micali did not study zero knowledge in his paper, the community views his construction, in hindsight, as the first "zk-SNARK”. However modern constructions of zk-SNARKs did not arise until 20 years later. In a paper with co-authors and I in 2012, we coined the term "SNARK" and "zk-SNARK" and showed various alternative constructions to the classical constructions (our motivations mostly had to do with the cryptographic assumptions inherent to constructing SNARKs). Research on SNARKs since 2012 has boomed, with works studying either theoretical aspects (existence, asymptotics) or practical ones (efficient implementations, reducing high-level program representations to low-level representations "understood" by these proof systems). If I had two name two landmark papers that are direct precursors of most of today's practical SNARKs would be a paper with co-authors and I in 2013 that built a system for proving executions of arbitrary programs, and a paper of other colleagues that introduced many useful techniques still used today. But that was 4 years ago, and since then much has happened and zk-SNARK history is still being written, as every year we see new approaches and techniques that improve both our theoretical and practical understanding of them. -
82 Market Cap As of mid December 2016… The market
cap of all cryptocurrencies totaled $15B As of mid December 2017… The market cap of all cryptocurrencies totaled $500B An increase of 3200%. Source : CB Insights -
91 ϒϩοΫνΣʔϯͬͯඞཁͳΜ͚ͩͬʁ σʔλϕʔεඞཁ͔ʁ ϒϩοΫ νΣʔϯ ͡Όͳ͘ ͯྑ͘ͳ ͍ʁ Y N
ෳͷεςʔΫϗϧ μʔ͕ؔΘΔ͔ʁ Y ͦΕΒͷεςʔΫϗϧμʔ৴པ Ͱ͖Δ͔ʁ Y ͦΕΒΛ౷߹͢Δ͜ͱͰ͖Δ ͔ʁ Y N N N ୈࡾऀΛ৴པͰ͖Δ͔ʁ Y N ϒϩοΫνΣʔϯΛ ಋೖ͢Δίετͱޮ ༻ׂʹ͋͏͔ʁ N Y ϒϩοΫ νΣʔϯ ͓͏ ͔ʂ ͕ࣗϒϩοΫ νΣʔϯ্ͷهΛ ॻ͍ͨΓಡΜͩΓΛ ͢Δඞཁੑ͋Δ ͔ʁ ࢀߟɿDistributed.comɹBlockcahin Capital LLC Y N ίϯηϯαεෳ ͷϓϨʔϠʹΑͬͯ ܾఆ͞ΕΔʁ Y N ޮΑΓɺվ͟Μ ੑΞΫηαϏϦ ςΟʔͷํ͕େࣄʁ N ίϯιʔγ ΞϜ ϒϩοΫ νΣʔϯʂ ϓϥΠϕʔ τ ϒϩοΫ νΣʔϯʂ ύϒϦοΫ ϒϩοΫ νΣʔϯʂ Y -
97 97 1760ʙ1830 1865ʙ1900 1990ʙ2000 ᶃGPT=Steam Engine ᶄGPT=Internal Combustion Engine
ᶅGPT=Internet GPT(General Purpose Technologyʣ )JTUPSZPG5FDIOPMPHJFT 2029 2045 ᶆGPT=AI 1st industrial revolution 2nd industrial revolution 3rd industrial revolution 4th Industrial revolution 2045 Singularity ᶇBlockchain Here ੈքͷσʔλྔ1Ͱ1.4ഒͣͭ૿͍͑ͯΔɻ͜Ε2Ͱ΄΅2ഒʹͳΔͱ͍͏͜ͱɻ AIͷ̍൪ಘҙͳͷΠϯϓοτͷ࠷దԽɻσʔλ͕ੈͷதʹेʹ͋ͬͨΒ ͬͱ࠷దԽ͞ΕͨࣾձͳΜͩΖ͏͔ʁ ࢄԽ͔ͭࣗతͳࣾձʹͳΔͱࢥ͏ɻ ͦͯͦ͠ΕɺϒϩοΫνΣʔϯͷ࠷ಘҙͱ͢Δͱ͜ΖͰͳ͍ͩΖ͏͔ʁ -
101 ʲ+αʳDecentralizationͱWeb3 Currently, companies like Google, Facebook, and Amazon dominate
the internet. They offer many free and cheap services because they are able to collect valuable data on their users, and find ways to monetize that data. As users of the modern internet, one is never too sure where their demographic and personal data is being used. Through the implementation of decentralization, also called Web3, data doesn’t have to be stored in centralized systems. Data can be verified independently and content creators are valued by the quality of their work.