Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Blockchain Kyoto #09

newsnow
November 29, 2018

Blockchain Kyoto #09

newsnow

November 29, 2018
Tweet

More Decks by newsnow

Other Decks in Technology

Transcript

  1. プライベートチェーンとは? プライベートチェーンとは、取引を承認する権限を有したノードが一部に限定されているブロックチェーンのことです。 特定の管理者が存在し、その管理者でなければブロックチェーン上の承認やデータの記録を実行することができません。 ビットコインやイーサリアムのブロックチェーンは管理者が存在せず、不特定多数のノードがそれぞれ取引の承認や記録を行って いるため、プライベートチェーンには該当しません。 プライベートチェーンはひとつの機関や組織内において、限定的なブロックチェーンを構成するのに役立ちます。管理者があらか じめ定められているため、取引の承認プロセスも比較的厳格ではなく、取引に要する時間も速いという特徴があります。そのため、 特定の企業や組織の中で、ブロックチェーンを応用したシステムを構築する際にはプライベートチェーンが採用されることが多い です。 プライベートチェーンのメリットは、ブロックチェーンの個別のルールを独自に定めることができ、その変更も容易であるという

    点が挙げられます。企業や組織内で独自のルールを設け、適応しやすいシステムを構築するには欠かせないポイントです。 また、プライベートチェーンは秘匿性に優れているため、外部に社内の情報が漏れるといったリスクもありません。ルールをつく る際に、管理者以外の情報閲覧を制限することも可能であり、外部・内部ともにプライバシーを確保できるメリットがあります。 プライベートチェーンのもうひとつのメリットとして挙げられるのは、取引手数料の安さです。決済などを目的としてプライベー トチェーンを運用する場合、限られたノードの中で管理者が承認を行うため、取引に関わる手数料は安くなります。 一方で、プライベートチェーンを新たに導入する際にはコストが割高となるデメリットもあります。そのため、プライベート チェーンの導入は比較的大規模なシステムを企業内で構築する際に適しているといえます。 ⇒使い道ある? https://ja-info.quoinex.com/glossary/private-chain/
  2. データ分散と合意アルゴリズム PoW BFT Paxos/ Raft Backup/ Replication 障害耐性 Byzantine Fail-Recover

    Fail-Stop 障害回復 フェイルオーバー and 瞬時 検知・切替 or スイッチ 必要サーバ数 無数 3m+1 2m+1 m+1
  3. (参考)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)
  4. (参考)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)
  5. (参考)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)
  6. ブロックチェーンの特徴と従来型との違い BC RDB 分散システム ハッシュポインタで繋ぐデータ構造 (改ざん検知) 〇 〇 〇 P2Pネットワーク

    (高可用性・改ざん耐性) 〇 △ 〇 コンセンサスアルゴリズム (ビザンチン耐性) 〇 × △ トークンエコノミー (インセンティブ・ペナルティ) 〇 × ×