SlideShare a Scribd company logo
Cosmos and Tendermint
Interoperability and Scalability
Interchain
B l o c kc h a i n w i t h o u t b o r d e r s
• Collectible
• Breedable
• Adorable
• 100% owned
• Not replicated,
taken away, or
destroyed
N o n - f u n g i b l e t o k e n s
E R C - 7 2 1 : U n i q u e t o k e n s
E R C - 2 0 : I d e n t i c a l t o k e n s
Interchain Protocols
(Blokchain Interoperability Alliance)
B I A
(Blokchain Interoperability Alliance)
Internet of Blockchains
.
Ethereum
Application-Specific Blockchain
1dApp = 1 Blockchain
The benefits of Application-Specific Blockchain
• Performance
• Security
• Sovereignty
• Flexibility
1. 성능(Performance)
• Networking Layer
트랜잭션 전파 역할을 짐
• Consensus Layer
검증인 노드가 다음 트랜잭
션을 처리하기 위해서 동의하도
록 함
• Application Layer
합의 된 트랜잭션을 두고 상
태(state)를 업데이트 하는
역할
2. 보안성(Security)
복잡한 가상머신(VM) 블록체인
• 버그 위험성 증대
Ex) call stack limit (DAO버그), DelegateCall (Parity 버그#1), contract
suicide (Parity 버그#2)
어플리케이션 특화 블록체인
• 어플리케이션 레이어 보안에 집중
3. 자주성(Sovereignty)
어플리케이션 특화 블록체인
• 자체적인 헌법과 거버넌스
Ex)퍼블릭 체인>>POS / 프라이빗 체인>>POA
복잡한 가상머신(VM) 블록체인
• 개별 Dapp에 문제가 생길 경우 기반 블록체인 거버넌스 동의 필
수
Ex) 이더리움 지갑 Parity 다중 서명 취약점
4. 유연성(Flexibility)
복잡한 가상머신(VM) 블록체인
• 제한적인 개발 언어
Ex)Solidity or Serpent
어플리케이션 특화 블록체인
• 폭 넓은 개발 언어와 다양한 툴
Ex)ABCI, 코스모스 SDK
Nothing-at-stake
• POS= 확률적 블록 생산
• Best strategy for POS
miners?
• POW= Hashing power
game
• 해결 방안
보증금을 통한 처벌
PBFT(Practical Byzantine Fault Tolerance)
• 배신자 노드 f / 총 노드 개수가 3f+1 이상 >>네트워크 합의 성공
• 고의로 잘못된 정보를 전달하는 비잔틴 노드가 존재할 수 있는 비동
• 기 네트워크(Asynchronous Network)일 때, 모든 노드가 성공적인 합
• 의를 이룰 수 있도록 하는 증명 방식
Ex) 4개의 노드 중
1개의 노드가 악의
적인 행동을 해도
나머지 3개의 노드
가 데이터에 대한
합의 성공
Tendermint BFT “Blockchain Engine”
• Public or Private
blockchain capable – PoS
or POA
• Instant finality
• High throughput
• Fault tolerance
• Fork accountability
• Open-Source
Scalability
• Vertical
Scalability
Tendermint Core can
process 1000 TPS with
over 100 validators on
5 different continents.
Horizontal Scalability
-Multiple parallel
chains running the
same application and
operated by a
common validator set,
making blockchains
theoretically
indefinitely scalable.
Hard Fork
Hard Fork: 2개의 체인 + 동일한 원장 + 동일한 합의 알고리즘
Hard Spoon
Hard Spoon: 2개의 체인 + 동일한 원장 + 서로 다른 합의 알고리즘
Ethermint
-Hardspoon
Omisego
Private
Chain
Cosmos Ecosystem
Peg Zone(Bridge Zone)
이더리움 텐더민트
직렬화 형식
(Serialization formats)
RLP(Recursive Length
Prefix)
Go-wire
서명 구조(Signature
Schemes)
secp256k1 ed25519
데이터 구조(Data
Structures)
Patricia Tries IAVL+tree
Peg Zone(Bridge Zone)
Ethereum
-Peg Zone(Bridge
Zone)이란?
Peg Zone(Bridge Zone)
Cosmos SDK
Cosmos SDK
• The importance of
Hub
• Interoperable(token
transfer)
• Never fork; use smart
contract in any
language
• Each governance &
constitution
Cosmos Hub & Peer Hubs
Cosmos / Tendermint Network Architecture
Staking Token: Atom
The benefit of holding Atoms
1) (Vote)
2) (Validation)
3) (Delegation)
Validator
1) 100>>>300 over the 10 years(13%)
2) Revenue: Validator>Delegator
3) Governance
4) Slashing conditions
-Double Spending
-Unavailability
-Non-voting
*Unintentional or not available
Due to regional network disruptions, power
failure, or other reasons
lose “ValidatorTimeoutPenalty” (DEFAULT
1%) of its stake.
Inflation and Commission rates
Commission Rates
• 검증인이 위임자에게 부과
• 커미션 수수료 비율은 검증
인이 책정
Ex) if 15% / delegator 85%,
validator 15%
Atom Inflation
• 블록 보상>>검증인&위임자
• 네트워크상의 아톰 스테이킹
비율에 따른 블록 보상 비율
• 목표치:2/3 스테이킹
• 인플레이션 7~20%
On-chain Governance
1. 찬성(Yea)
2. 강력히 찬성
(YeaWithForce)
3. 반대(Nay)
4. 강력히 반대
(NayWithForce)
5. 기권(Abstain)
• 과반수 이상의 찬성 또는 강력히 찬성시 제안서 통과
• 그러나 1/3+ 강력히 반대를 통해 다수의 결정을 거부 가능
• 이때 모든 사람들은 “거부권 패널티 수수료 블록
(VetoPenaltyFeeBlocks)”으로써 처벌(Slashing). 하루치 블록
의 해당하는 디폴트
• 여기에 과반수의 결정을 거부한 사람들은 추가적으로 “거부권
패널티 아톰(VetoPenaltyAtoms)”으로 처벌을 받음 (디폴트
0.1% 해당 아톰)
Internet of Blockchains
Roadmap
T H A N K Y O U
B y 전 창 석

More Related Content

Similar to Cosmos&tendermint (kr,en) by jeon chang suk

블록체인이 가져올 새로운 패러다임
블록체인이 가져올 새로운 패러다임블록체인이 가져올 새로운 패러다임
블록체인이 가져올 새로운 패러다임
Jae-Yun Kim
 
[Polygon] Bring the World to Ethereum 발표자료
[Polygon] Bring the World to Ethereum 발표자료[Polygon] Bring the World to Ethereum 발표자료
[Polygon] Bring the World to Ethereum 발표자료
Seung-chan Baeg
 
Dragon flow and tricircle
Dragon flow and tricircleDragon flow and tricircle
Dragon flow and tricircle
Yongyoon Shin
 
150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kim150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kim
jieun kim
 
Bitcoin 2.0(blockchain technology 2)
Bitcoin 2.0(blockchain technology 2)Bitcoin 2.0(blockchain technology 2)
Bitcoin 2.0(blockchain technology 2)
Wooseung Kim
 
3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc
3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc
3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc
NAVER D2
 
Oracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTOOracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTO
Oracle Korea
 
05 1 통신프로토콜과표준화-최근표준화협력방향
05 1 통신프로토콜과표준화-최근표준화협력방향05 1 통신프로토콜과표준화-최근표준화협력방향
05 1 통신프로토콜과표준화-최근표준화협력방향Youngsun Lee
 
[2B5]nBase-ARC Redis Cluster
[2B5]nBase-ARC Redis Cluster[2B5]nBase-ARC Redis Cluster
[2B5]nBase-ARC Redis Cluster
NAVER D2
 
세션1. block chain as a platform
세션1. block chain as a platform세션1. block chain as a platform
세션1. block chain as a platform
Jay JH Park
 
1. klaytn intro
1. klaytn intro1. klaytn intro
1. klaytn intro
전 민규
 
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
InfraEngineer
 
Next generation cloud data center technologies
Next generation cloud data center technologiesNext generation cloud data center technologies
Next generation cloud data center technologies
hybrid cloud
 
Quic을 이용한 네트워크 성능 개선
 Quic을 이용한 네트워크 성능 개선 Quic을 이용한 네트워크 성능 개선
Quic을 이용한 네트워크 성능 개선
NAVER D2
 
2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)
NAIM Networks, Inc.
 
Ethereum Basics Part 2
Ethereum Basics Part 2Ethereum Basics Part 2
Ethereum Basics Part 2
Soobok Jin
 
3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)
3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)
3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)
doo rip choi
 
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
OpenStack Korea Community
 
지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기
Ted Won
 
Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)
Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)
Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)
Cloud-Barista Community
 

Similar to Cosmos&tendermint (kr,en) by jeon chang suk (20)

블록체인이 가져올 새로운 패러다임
블록체인이 가져올 새로운 패러다임블록체인이 가져올 새로운 패러다임
블록체인이 가져올 새로운 패러다임
 
[Polygon] Bring the World to Ethereum 발표자료
[Polygon] Bring the World to Ethereum 발표자료[Polygon] Bring the World to Ethereum 발표자료
[Polygon] Bring the World to Ethereum 발표자료
 
Dragon flow and tricircle
Dragon flow and tricircleDragon flow and tricircle
Dragon flow and tricircle
 
150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kim150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kim
 
Bitcoin 2.0(blockchain technology 2)
Bitcoin 2.0(blockchain technology 2)Bitcoin 2.0(blockchain technology 2)
Bitcoin 2.0(blockchain technology 2)
 
3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc
3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc
3.[d2 오픈세미나]분산시스템 개발 및 교훈 n base arc
 
Oracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTOOracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTO
 
05 1 통신프로토콜과표준화-최근표준화협력방향
05 1 통신프로토콜과표준화-최근표준화협력방향05 1 통신프로토콜과표준화-최근표준화협력방향
05 1 통신프로토콜과표준화-최근표준화협력방향
 
[2B5]nBase-ARC Redis Cluster
[2B5]nBase-ARC Redis Cluster[2B5]nBase-ARC Redis Cluster
[2B5]nBase-ARC Redis Cluster
 
세션1. block chain as a platform
세션1. block chain as a platform세션1. block chain as a platform
세션1. block chain as a platform
 
1. klaytn intro
1. klaytn intro1. klaytn intro
1. klaytn intro
 
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
 
Next generation cloud data center technologies
Next generation cloud data center technologiesNext generation cloud data center technologies
Next generation cloud data center technologies
 
Quic을 이용한 네트워크 성능 개선
 Quic을 이용한 네트워크 성능 개선 Quic을 이용한 네트워크 성능 개선
Quic을 이용한 네트워크 성능 개선
 
2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)
 
Ethereum Basics Part 2
Ethereum Basics Part 2Ethereum Basics Part 2
Ethereum Basics Part 2
 
3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)
3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)
3.고객을 연결하는 블록체인 (4차산업혁명: 고객과의 소통 신기술의 진화)
 
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
 
지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기
 
Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)
Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)
Cloud-Barista 제5차 오픈 컨퍼런스 : 멀티클라우드 가상 네트워크 (CB-Larva)
 

Cosmos&tendermint (kr,en) by jeon chang suk

  • 2. Interchain B l o c kc h a i n w i t h o u t b o r d e r s
  • 3. • Collectible • Breedable • Adorable • 100% owned • Not replicated, taken away, or destroyed N o n - f u n g i b l e t o k e n s
  • 4. E R C - 7 2 1 : U n i q u e t o k e n s E R C - 2 0 : I d e n t i c a l t o k e n s
  • 5. Interchain Protocols (Blokchain Interoperability Alliance) B I A (Blokchain Interoperability Alliance)
  • 7. .
  • 8.
  • 11. The benefits of Application-Specific Blockchain • Performance • Security • Sovereignty • Flexibility
  • 12. 1. 성능(Performance) • Networking Layer 트랜잭션 전파 역할을 짐 • Consensus Layer 검증인 노드가 다음 트랜잭 션을 처리하기 위해서 동의하도 록 함 • Application Layer 합의 된 트랜잭션을 두고 상 태(state)를 업데이트 하는 역할
  • 13. 2. 보안성(Security) 복잡한 가상머신(VM) 블록체인 • 버그 위험성 증대 Ex) call stack limit (DAO버그), DelegateCall (Parity 버그#1), contract suicide (Parity 버그#2) 어플리케이션 특화 블록체인 • 어플리케이션 레이어 보안에 집중
  • 14. 3. 자주성(Sovereignty) 어플리케이션 특화 블록체인 • 자체적인 헌법과 거버넌스 Ex)퍼블릭 체인>>POS / 프라이빗 체인>>POA 복잡한 가상머신(VM) 블록체인 • 개별 Dapp에 문제가 생길 경우 기반 블록체인 거버넌스 동의 필 수 Ex) 이더리움 지갑 Parity 다중 서명 취약점
  • 15. 4. 유연성(Flexibility) 복잡한 가상머신(VM) 블록체인 • 제한적인 개발 언어 Ex)Solidity or Serpent 어플리케이션 특화 블록체인 • 폭 넓은 개발 언어와 다양한 툴 Ex)ABCI, 코스모스 SDK
  • 16. Nothing-at-stake • POS= 확률적 블록 생산 • Best strategy for POS miners? • POW= Hashing power game • 해결 방안 보증금을 통한 처벌
  • 17. PBFT(Practical Byzantine Fault Tolerance) • 배신자 노드 f / 총 노드 개수가 3f+1 이상 >>네트워크 합의 성공 • 고의로 잘못된 정보를 전달하는 비잔틴 노드가 존재할 수 있는 비동 • 기 네트워크(Asynchronous Network)일 때, 모든 노드가 성공적인 합 • 의를 이룰 수 있도록 하는 증명 방식 Ex) 4개의 노드 중 1개의 노드가 악의 적인 행동을 해도 나머지 3개의 노드 가 데이터에 대한 합의 성공
  • 18. Tendermint BFT “Blockchain Engine” • Public or Private blockchain capable – PoS or POA • Instant finality • High throughput • Fault tolerance • Fork accountability • Open-Source
  • 19. Scalability • Vertical Scalability Tendermint Core can process 1000 TPS with over 100 validators on 5 different continents.
  • 20. Horizontal Scalability -Multiple parallel chains running the same application and operated by a common validator set, making blockchains theoretically indefinitely scalable.
  • 21. Hard Fork Hard Fork: 2개의 체인 + 동일한 원장 + 동일한 합의 알고리즘
  • 22. Hard Spoon Hard Spoon: 2개의 체인 + 동일한 원장 + 서로 다른 합의 알고리즘
  • 24. Peg Zone(Bridge Zone) 이더리움 텐더민트 직렬화 형식 (Serialization formats) RLP(Recursive Length Prefix) Go-wire 서명 구조(Signature Schemes) secp256k1 ed25519 데이터 구조(Data Structures) Patricia Tries IAVL+tree
  • 28. • The importance of Hub • Interoperable(token transfer) • Never fork; use smart contract in any language • Each governance & constitution Cosmos Hub & Peer Hubs
  • 29. Cosmos / Tendermint Network Architecture
  • 30. Staking Token: Atom The benefit of holding Atoms 1) (Vote) 2) (Validation) 3) (Delegation) Validator 1) 100>>>300 over the 10 years(13%) 2) Revenue: Validator>Delegator 3) Governance 4) Slashing conditions -Double Spending -Unavailability -Non-voting *Unintentional or not available Due to regional network disruptions, power failure, or other reasons lose “ValidatorTimeoutPenalty” (DEFAULT 1%) of its stake.
  • 31. Inflation and Commission rates Commission Rates • 검증인이 위임자에게 부과 • 커미션 수수료 비율은 검증 인이 책정 Ex) if 15% / delegator 85%, validator 15% Atom Inflation • 블록 보상>>검증인&위임자 • 네트워크상의 아톰 스테이킹 비율에 따른 블록 보상 비율 • 목표치:2/3 스테이킹 • 인플레이션 7~20%
  • 32. On-chain Governance 1. 찬성(Yea) 2. 강력히 찬성 (YeaWithForce) 3. 반대(Nay) 4. 강력히 반대 (NayWithForce) 5. 기권(Abstain) • 과반수 이상의 찬성 또는 강력히 찬성시 제안서 통과 • 그러나 1/3+ 강력히 반대를 통해 다수의 결정을 거부 가능 • 이때 모든 사람들은 “거부권 패널티 수수료 블록 (VetoPenaltyFeeBlocks)”으로써 처벌(Slashing). 하루치 블록 의 해당하는 디폴트 • 여기에 과반수의 결정을 거부한 사람들은 추가적으로 “거부권 패널티 아톰(VetoPenaltyAtoms)”으로 처벌을 받음 (디폴트 0.1% 해당 아톰)
  • 35. T H A N K Y O U B y 전 창 석

Editor's Notes

  1. .