Share
Embed
Transcript
21 slides
-
プライベートチェーンとは? プライベートチェーンとは、取引を承認する権限を有したノードが一部に限定されているブロックチェーンのことです。 特定の管理者が存在し、その管理者でなければブロックチェーン上の承認やデータの記録を実行することができません。 ビットコインやイーサリアムのブロックチェーンは管理者が存在せず、不特定多数のノードがそれぞれ取引の承認や記録を行って いるため、プライベートチェーンには該当しません。 プライベートチェーンはひとつの機関や組織内において、限定的なブロックチェーンを構成するのに役立ちます。管理者があらか じめ定められているため、取引の承認プロセスも比較的厳格ではなく、取引に要する時間も速いという特徴があります。そのため、 特定の企業や組織の中で、ブロックチェーンを応用したシステムを構築する際にはプライベートチェーンが採用されることが多い です。 プライベートチェーンのメリットは、ブロックチェーンの個別のルールを独自に定めることができ、その変更も容易であるという
点が挙げられます。企業や組織内で独自のルールを設け、適応しやすいシステムを構築するには欠かせないポイントです。 また、プライベートチェーンは秘匿性に優れているため、外部に社内の情報が漏れるといったリスクもありません。ルールをつく る際に、管理者以外の情報閲覧を制限することも可能であり、外部・内部ともにプライバシーを確保できるメリットがあります。 プライベートチェーンのもうひとつのメリットとして挙げられるのは、取引手数料の安さです。決済などを目的としてプライベー トチェーンを運用する場合、限られたノードの中で管理者が承認を行うため、取引に関わる手数料は安くなります。 一方で、プライベートチェーンを新たに導入する際にはコストが割高となるデメリットもあります。そのため、プライベート チェーンの導入は比較的大規模なシステムを企業内で構築する際に適しているといえます。 ⇒使い道ある? https://ja-info.quoinex.com/glossary/private-chain/ -
真にパブリックなチェーンとは? だれでも • トークン(通貨)を利用でき、 • データを閲覧でき、 • ノードが建てられ、 • コードベースにコミットでき、
• ブロック生成者/承認者 になれる状態 ⇒使い道ある? -
分散システムからのブロックチェーン ちょっとビットコインに引きずられすぎ?もしくは、イデオロギーにとらわれすぎ? ビットコイン以前から、分散(Distributed)システムの文脈では「Decentralized」は 利用されていたけど、 「 マスタとスレーブの区別がないこと」くらいの意味合い。 • リーダー選挙問題 • 二人の将軍問題
• ビザンチン将軍問題 • 2フェーズコミット • Paxos/Raft • PBFT -
データ分散と合意アルゴリズム PoW BFT Paxos/ Raft Backup/ Replication 障害耐性 Byzantine Fail-Recover
Fail-Stop 障害回復 フェイルオーバー and 瞬時 検知・切替 or スイッチ 必要サーバ数 無数 3m+1 2m+1 m+1 -
(参考)Blockchain Algorithm ① There are varying ways to implement Proof-of-Stake
algorithms, but the two major tenets in Proof-of-Stake design are chain-based PoS and Byzantine Fault Tolerant- based PoS. Tendermint is a BFT-based PoS design, Casper the Friendly Ghost is a chain-based PoS design, and Casper the Friendly Finality Gadget is a hybrid of the two. The CAP Theorem in computer science returns the impossibility of providing more than 2 out of 3 guarantees in distributed data systems: availability, consistency, and partition tolerance. Chain-based PoS algorithms tend to choose availability over consistency, where having availability means that all transactions will be processed, but at the expense of a consistent state replicating across the network. BFT-based PoS algorithms, on the other hand, strictly choose consistency over availability. By Tendermint(BPoS) -
(参考)Blockchain Algorithm ② There are two general blockchain consensus systems:
those that produce unambiguous 100% finality given a defined set of validators and those which do not provide 100% finality but instead rely on high probability of finality. The first generation blockchain consensus algorithms (Proof of Work, Proof of Stake, and BitShares’ Delegated Proof of Stake) only offer high probability of finality that grows with time. In theory someone could pay enough money to mine an alternative “longer” Bitcoin blockchain that goes all the way back to genesis. More recent consensus algorithms, whether HashGraph, Casper, Tendermint, or DPOS BFT all adopt long-established principles of Paxos and related consensus algorithms. Under these models it is possible to reach unambiguous finality under all network conditions so long as more than ⅔ of participants are honest. By EOS(DPoS) -
(参考)Blockchain Algorithm ③ In a nutshell, blockchain technologies are state
machine replication protocols. Every state machine replication protocol has to satisfy two important properties: Safety : all servers in the network have the same record of transactions; Liveness : transactions of clients are submitted and documented into the log quickly. There are two fundamentally different ways to achieve state machine replication: classical-style consensus and blockchain-style consensus [18]. Classical-style consensus generally applies Paxos-like algorithms and is used in the permissioned setting where there is a priori knowledge of the consensus nodes known by the system. An example of this application would be the servers at software companies like Amazon, where their servers collectively use a classical way to replicate and store information, and the classical algorithm establishes the fundamentals to form a consensus of the ordering of their data. By IOST(PoB) -
ブロックチェーンの特徴と従来型との違い BC RDB 分散システム ハッシュポインタで繋ぐデータ構造 (改ざん検知) 〇 〇 〇 P2Pネットワーク
(高可用性・改ざん耐性) 〇 △ 〇 コンセンサスアルゴリズム (ビザンチン耐性) 〇 × △ トークンエコノミー (インセンティブ・ペナルティ) 〇 × × -
で、ブロックチェーンの何がうれしいのか? ①価値の可視化 ②独自経済圏の形成 ③データの公共化 これまでの価値観は、いわゆる強者が決めていて、無意識的に皆がそれに従っていた。 BCは些細な価値であっても、それを可視化することができるし、これまで見過ごされて きた世界に光を当てることができる。 同じ価値観、共通の目的、利害の一致するもの同士が、仲介なしに価値交換が可能。 資本や権力をもたなくても、個が集結することで大きな力を生み出せる。いわゆるスイミー 作戦。特に、デジタル化可能な芸術、音楽などの分野では世界規模も可能。
私企業によるデータ収集とは異なり、公にデータを蓄積・共有することができる。 データの売買も可能。データドリブンな社会の実現(Madana, Scoutchain, etc) -
参考 • 私たちはいつこの技術を使うべきか?国連ブロックチェーンイベント (https://alis.to/MariSaita/articles/2xABvLgBBmwB) • 我が国経済社会の 情報化・サービス化に係る基盤整備 (http://www.meti.go.jp/press/2016/04/20160428003/20160428003-1.pdf) • ブロックチェーンパターンブック
(http://www.hitachi.co.jp/rd/portal/highlight/blockchain/pb/index.html)