SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Kudos
A Peer-to-Peer Discussion System
Based on Social Voting
Luca Matteis
lmatteis@gmail.com
Social Voting
(online discussions)
Nothing decentralized exists for discussing online using
social voting. Central entities have control over what can
be discussed. Could alter users reputation.
Challenges for decentralized systems:
Who keeps track of user's reputation?
Where is information stored and retrieved?
distributed hash table
peers
blockchain
key
key
get(key)
put(key, val)
Incentives
‱ Similar to Bitcoin: mine and get points.
‱ Universal ïŹxed amounts make it uneconomical to
use for trading.
‱ To earn points users post content that others are
willing to upvote.
Transaction (vote):
Input —(key)—> Output
A—(a)—>B
C—(d)—>D
D—(a)—>A
B—(c)—>A
B—(b)—>A
B—(d)—>C
C—(b)—>D
A—(a)—>C
C—(d)—>C
D—(c)—>B
4 users: A, B, C, D
4 DHT keys: a, b, c, d
block #300block #299block #298
points(user A) = Outputs(A) = 3
points(key b) = key(b) = 2
A—(a)—>B
C—(d)—>D
D—(a)—>A
B—(c)—>A
B—(b)—>A
B—(d)—>C
C—(b)—>D
A—(a)—>C
C—(d)—>C
D—(c)—>B
4 users: A, B, C, D
4 DHT keys: a, b, c, d
block #300block #299block #298
Most relevant keys:
a = 3
d = 3
b = 2
c = 2
DHT
Transaction (vote):
Input —(key)—> Output
Keys in the latest block
are fresher because
they are pushed more often
to the DHTpoints(user A) = Outputs(A) = 3
points(key b) = key(b) = 2
peer
What's relevant lately?
1. get most relevant keys‹
from the blockchain
keys:
a: 30 points,
b: 45 points
distributed hash table
2. get() the keys from the DHT
3. push() the keys to keep
them alive in the DHT
peer
Publish content.
Content has a key = k and a value = "Hello World"
1. push(k, "Hello World") to the DHT
distributed hash table
2. make a transaction (vote) ‹
with k inside and soon it
will be mined in a block
Transactions
universal ïŹxed amount
Problem: same user might have several addresses
1EzwoH
 1AZyMz

50 points
They could send votes with speciïŹc key to themselves to
promote their own content
(key)
Transactions
universal ïŹxed amount
(constant)
With universal ïŹxed amounts, transactions are of an atomic value.
1EzwoH
 1AZyMz

To send 50 points, he now needs to break it into 50
transactions (with amount=1)
1E..0
1
..
1
..
1..N-1
1
.N
1 point 1 point
amount = 1
Transactions
universal ïŹxed amount
Each transaction also requires a ïŹxed fee
1EzwoH
 1AZyMz

To send someone a point (a vote) it requires 2 points from the sender:
1 for the receiver, 1 for the miners.
Sending 10 points to someone would require 10 addresses with at
least 2 points each. Creating 10 addresses with 2 points each, would
require 10 transactions of 4 points each, meaning 40 points.
1E..0
1
..
1
..
1..N-1
1
.N
2 points
(1 fee, 1 receiver)
tx amount = 1
fee amount = 1
Keep alive
Transactions in the latest blocks are republished more
frequently to the DHT to enable quicker response times.
Intuition: latest content is more frequently fetched.
higher republish ratelower republish rate
This means old content might not be present in the
DHT anymore. System only works well for latest
content: it's not meant to function as a permanent
storage system (although DHT keys will remain
permanently in the blockchain).
Groups subscription
Content can be categorized under speciïŹc groups such as:
sports, videos, politics, astronomy, etc. to enable creation of
communities (subreddits).
higher republish ratelower republish rate
Users subscribe to speciïŹc groups and their republish
rate is biased towards content they're subscribed to.
Intuition: smaller communities might die off into old
blocks, therefore subscribers can help store that
content for longer periods of time in the DHT.
Usera
subscription = soccer
DHT structure
‱ Hierarchical structure of comments to enable
discussion (replies/responses are nested).
‱ Two types of content: posts and comments.
‱ Store little information (limited amount of bytes
needed for comments/posts).
‱ Groups can be assigned to posts to categorize
content and enable creation of communities.
‱ Blockchain doesn't care about this at all (all it needs
is a reference).
Use cases
45
128
119
1890
Decentralized
reputation
Freedom of
speech
Proof of what anybody said
available in the blockchain
Relevant content
stands out

Weitere Àhnliche Inhalte

Ähnlich wie Kudos - A Peer-to-Peer Discussion System Based on Social Voting

Linked data indexing of distributed ledgers
Linked data indexing of distributed ledgersLinked data indexing of distributed ledgers
Linked data indexing of distributed ledgersJohn Domingue
 
Blockchain and Cryptocurrencies
Blockchain and CryptocurrenciesBlockchain and Cryptocurrencies
Blockchain and CryptocurrenciesnimeshQ
 
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)IT Arena
 
Blockchain Future & Investments 2018 - Women in Product
Blockchain Future & Investments 2018 - Women in Product Blockchain Future & Investments 2018 - Women in Product
Blockchain Future & Investments 2018 - Women in Product Aarthi Srinivasan
 
SocioViz : Social Network Analysis made easy
SocioViz : Social Network Analysis made easySocioViz : Social Network Analysis made easy
SocioViz : Social Network Analysis made easyAlessandro Zonin
 
HubCityDAO: Web3 Fundamentals
HubCityDAO: Web3 FundamentalsHubCityDAO: Web3 Fundamentals
HubCityDAO: Web3 FundamentalsDavid Barreto
 
web3fundamentals-220606173127-34d32a41.pdf
web3fundamentals-220606173127-34d32a41.pdfweb3fundamentals-220606173127-34d32a41.pdf
web3fundamentals-220606173127-34d32a41.pdfJaanWert
 
SRS Of Social Networking
SRS Of Social NetworkingSRS Of Social Networking
SRS Of Social Networkingmaaano786
 
Creating and cultivating community via chm - handout letter format
Creating and cultivating community via chm - handout letter formatCreating and cultivating community via chm - handout letter format
Creating and cultivating community via chm - handout letter formatEileen Palsson
 
Introduction to Blockchain and Ethereum
Introduction to Blockchain and EthereumIntroduction to Blockchain and Ethereum
Introduction to Blockchain and EthereumGeorgios Konstantopoulos
 
Bitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptxBitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptxOluseyi Akindeinde
 
Chris Adams: Landscape of DAO Tooling, Frameworks and Integration
Chris Adams: Landscape of DAO Tooling, Frameworks and IntegrationChris Adams: Landscape of DAO Tooling, Frameworks and Integration
Chris Adams: Landscape of DAO Tooling, Frameworks and IntegrationEdunomica
 
Blockchain - a formal introduction
Blockchain - a formal introductionBlockchain - a formal introduction
Blockchain - a formal introductionSander Demeester
 
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...Pandora Boxchain
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...vpnmentor
 
Tokens, Complex Systems, and Nature
Tokens, Complex Systems, and NatureTokens, Complex Systems, and Nature
Tokens, Complex Systems, and NatureTrent McConaghy
 
Blockchain and Hook model of engagement
Blockchain and Hook model of engagement Blockchain and Hook model of engagement
Blockchain and Hook model of engagement Rajeev Soni
 
Upfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckUpfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckMark Suster
 

Ähnlich wie Kudos - A Peer-to-Peer Discussion System Based on Social Voting (20)

Linked data indexing of distributed ledgers
Linked data indexing of distributed ledgersLinked data indexing of distributed ledgers
Linked data indexing of distributed ledgers
 
Blockchain and Cryptocurrencies
Blockchain and CryptocurrenciesBlockchain and Cryptocurrencies
Blockchain and Cryptocurrencies
 
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
 
Blockchain Future & Investments 2018 - Women in Product
Blockchain Future & Investments 2018 - Women in Product Blockchain Future & Investments 2018 - Women in Product
Blockchain Future & Investments 2018 - Women in Product
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
 
SocioViz : Social Network Analysis made easy
SocioViz : Social Network Analysis made easySocioViz : Social Network Analysis made easy
SocioViz : Social Network Analysis made easy
 
HubCityDAO: Web3 Fundamentals
HubCityDAO: Web3 FundamentalsHubCityDAO: Web3 Fundamentals
HubCityDAO: Web3 Fundamentals
 
web3fundamentals-220606173127-34d32a41.pdf
web3fundamentals-220606173127-34d32a41.pdfweb3fundamentals-220606173127-34d32a41.pdf
web3fundamentals-220606173127-34d32a41.pdf
 
Blockchain introduction
Blockchain introductionBlockchain introduction
Blockchain introduction
 
SRS Of Social Networking
SRS Of Social NetworkingSRS Of Social Networking
SRS Of Social Networking
 
Creating and cultivating community via chm - handout letter format
Creating and cultivating community via chm - handout letter formatCreating and cultivating community via chm - handout letter format
Creating and cultivating community via chm - handout letter format
 
Introduction to Blockchain and Ethereum
Introduction to Blockchain and EthereumIntroduction to Blockchain and Ethereum
Introduction to Blockchain and Ethereum
 
Bitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptxBitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptx
 
Chris Adams: Landscape of DAO Tooling, Frameworks and Integration
Chris Adams: Landscape of DAO Tooling, Frameworks and IntegrationChris Adams: Landscape of DAO Tooling, Frameworks and Integration
Chris Adams: Landscape of DAO Tooling, Frameworks and Integration
 
Blockchain - a formal introduction
Blockchain - a formal introductionBlockchain - a formal introduction
Blockchain - a formal introduction
 
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...
 
Tokens, Complex Systems, and Nature
Tokens, Complex Systems, and NatureTokens, Complex Systems, and Nature
Tokens, Complex Systems, and Nature
 
Blockchain and Hook model of engagement
Blockchain and Hook model of engagement Blockchain and Hook model of engagement
Blockchain and Hook model of engagement
 
Upfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckUpfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deck
 

KĂŒrzlich hochgeladen

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...gurkirankumar98700
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžDelhi Call girls
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 

KĂŒrzlich hochgeladen (20)

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 

Kudos - A Peer-to-Peer Discussion System Based on Social Voting

  • 1. Kudos A Peer-to-Peer Discussion System Based on Social Voting Luca Matteis lmatteis@gmail.com
  • 3. Nothing decentralized exists for discussing online using social voting. Central entities have control over what can be discussed. Could alter users reputation. Challenges for decentralized systems: Who keeps track of user's reputation? Where is information stored and retrieved?
  • 5. Incentives ‱ Similar to Bitcoin: mine and get points. ‱ Universal ïŹxed amounts make it uneconomical to use for trading. ‱ To earn points users post content that others are willing to upvote.
  • 6. Transaction (vote): Input —(key)—> Output A—(a)—>B C—(d)—>D D—(a)—>A B—(c)—>A B—(b)—>A B—(d)—>C C—(b)—>D A—(a)—>C C—(d)—>C D—(c)—>B 4 users: A, B, C, D 4 DHT keys: a, b, c, d block #300block #299block #298 points(user A) = Outputs(A) = 3 points(key b) = key(b) = 2
  • 7. A—(a)—>B C—(d)—>D D—(a)—>A B—(c)—>A B—(b)—>A B—(d)—>C C—(b)—>D A—(a)—>C C—(d)—>C D—(c)—>B 4 users: A, B, C, D 4 DHT keys: a, b, c, d block #300block #299block #298 Most relevant keys: a = 3 d = 3 b = 2 c = 2 DHT Transaction (vote): Input —(key)—> Output Keys in the latest block are fresher because they are pushed more often to the DHTpoints(user A) = Outputs(A) = 3 points(key b) = key(b) = 2
  • 8. peer What's relevant lately? 1. get most relevant keys‹ from the blockchain keys: a: 30 points, b: 45 points distributed hash table 2. get() the keys from the DHT 3. push() the keys to keep them alive in the DHT
  • 9. peer Publish content. Content has a key = k and a value = "Hello World" 1. push(k, "Hello World") to the DHT distributed hash table 2. make a transaction (vote) ‹ with k inside and soon it will be mined in a block
  • 10. Transactions universal ïŹxed amount Problem: same user might have several addresses 1EzwoH
 1AZyMz
 50 points They could send votes with speciïŹc key to themselves to promote their own content (key)
  • 11. Transactions universal ïŹxed amount (constant) With universal ïŹxed amounts, transactions are of an atomic value. 1EzwoH
 1AZyMz
 To send 50 points, he now needs to break it into 50 transactions (with amount=1) 1E..0 1
.. 1
.. 1..N-1 1
.N 1 point 1 point amount = 1
  • 12. Transactions universal ïŹxed amount Each transaction also requires a ïŹxed fee 1EzwoH
 1AZyMz
 To send someone a point (a vote) it requires 2 points from the sender: 1 for the receiver, 1 for the miners. Sending 10 points to someone would require 10 addresses with at least 2 points each. Creating 10 addresses with 2 points each, would require 10 transactions of 4 points each, meaning 40 points. 1E..0 1
.. 1
.. 1..N-1 1
.N 2 points (1 fee, 1 receiver) tx amount = 1 fee amount = 1
  • 13. Keep alive Transactions in the latest blocks are republished more frequently to the DHT to enable quicker response times. Intuition: latest content is more frequently fetched. higher republish ratelower republish rate This means old content might not be present in the DHT anymore. System only works well for latest content: it's not meant to function as a permanent storage system (although DHT keys will remain permanently in the blockchain).
  • 14. Groups subscription Content can be categorized under speciïŹc groups such as: sports, videos, politics, astronomy, etc. to enable creation of communities (subreddits). higher republish ratelower republish rate Users subscribe to speciïŹc groups and their republish rate is biased towards content they're subscribed to. Intuition: smaller communities might die off into old blocks, therefore subscribers can help store that content for longer periods of time in the DHT. Usera subscription = soccer
  • 15. DHT structure ‱ Hierarchical structure of comments to enable discussion (replies/responses are nested). ‱ Two types of content: posts and comments. ‱ Store little information (limited amount of bytes needed for comments/posts). ‱ Groups can be assigned to posts to categorize content and enable creation of communities. ‱ Blockchain doesn't care about this at all (all it needs is a reference).
  • 16. Use cases 45 128 119 1890 Decentralized reputation Freedom of speech Proof of what anybody said available in the blockchain Relevant content stands out