ThoughtWorks
  • 联系我们
  • Español
  • Português
  • Deutsch
  • English
概况
  • 工匠精神和科技思维

    采用现代的软件开发方法,更快地交付价值

    智能驱动的决策机制

    利用数据资产解锁新价值来源

  • 低摩擦的运营模式

    提升组织的变革响应力

    企业级平台战略

    创建与经营战略发展同步的灵活的技术平台

  • 客户洞察和数字化产品能力

    快速设计、交付及演进优质产品和卓越体验

    合作伙伴

    利用我们可靠的合作商网络来扩大我们为客户提供的成果

概况
  • 汽车企业
  • 清洁技术,能源与公用事业
  • 金融和保险企业
  • 医疗企业
  • 媒体和出版业
  • 非盈利性组织
  • 公共服务机构
  • 零售业和电商
  • 旅游业和运输业
概况

特色

  • 技术

    深入探索企业技术与卓越工程管理

  • 商业

    及时了解数字领导者的最新业务和行业见解

  • 文化

    分享职业发展心得,以及我们对社会公正和包容性的见解

数字出版物和工具

  • 技术雷达

    对前沿技术提供意见和指引

  • 视野

    服务数字读者的出版物

  • 数字化流畅度模型

    可以将应对不确定性所需的数字能力进行优先级划分的模型

  • 解码器

    业务主管的A-Z技术指南

所有洞见

  • 文章

    助力商业的专业洞见

  • 博客

    ThoughtWorks 全球员工的洞见及观点

  • 书籍

    浏览更多我们的书籍

  • 播客

    分析商业和技术最新趋势的精彩对话

概况
  • 申请流程

    面试准备

  • 毕业生和变换职业者

    正确开启技术生涯

  • 搜索工作

    在您所在的区域寻找正在招聘的岗位

  • 保持联系

    订阅我们的月度新闻简报

概况
  • 会议与活动
  • 多元与包容
  • 新闻
  • 开源
  • 领导层
  • 社会影响力
  • Español
  • Português
  • Deutsch
  • English
ThoughtWorks菜单
  • 关闭   ✕
  • 产品及服务
  • 合作伙伴
  • 洞见
  • 加入我们
  • 关于我们
  • 联系我们
  • 返回
  • 关闭   ✕
  • 概况
  • 工匠精神和科技思维

    采用现代的软件开发方法,更快地交付价值

  • 客户洞察和数字化产品能力

    快速设计、交付及演进优质产品和卓越体验

  • 低摩擦的运营模式

    提升组织的变革响应力

  • 智能驱动的决策机制

    利用数据资产解锁新价值来源

  • 合作伙伴

    利用我们可靠的合作商网络来扩大我们为客户提供的成果

  • 企业级平台战略

    创建与经营战略发展同步的灵活的技术平台

  • 返回
  • 关闭   ✕
  • 概况
  • 汽车企业
  • 清洁技术,能源与公用事业
  • 金融和保险企业
  • 医疗企业
  • 媒体和出版业
  • 非盈利性组织
  • 公共服务机构
  • 零售业和电商
  • 旅游业和运输业
  • 返回
  • 关闭   ✕
  • 概况
  • 特色

  • 技术

    深入探索企业技术与卓越工程管理

  • 商业

    及时了解数字领导者的最新业务和行业见解

  • 文化

    分享职业发展心得,以及我们对社会公正和包容性的见解

  • 数字出版物和工具

  • 技术雷达

    对前沿技术提供意见和指引

  • 视野

    服务数字读者的出版物

  • 数字化流畅度模型

    可以将应对不确定性所需的数字能力进行优先级划分的模型

  • 解码器

    业务主管的A-Z技术指南

  • 所有洞见

  • 文章

    助力商业的专业洞见

  • 博客

    ThoughtWorks 全球员工的洞见及观点

  • 书籍

    浏览更多我们的书籍

  • 播客

    分析商业和技术最新趋势的精彩对话

  • 返回
  • 关闭   ✕
  • 概况
  • 申请流程

    面试准备

  • 毕业生和变换职业者

    正确开启技术生涯

  • 搜索工作

    在您所在的区域寻找正在招聘的岗位

  • 保持联系

    订阅我们的月度新闻简报

  • 返回
  • 关闭   ✕
  • 概况
  • 会议与活动
  • 多元与包容
  • 新闻
  • 开源
  • 领导层
  • 社会影响力
博客
选择主题
查看所有话题关闭
技术 
敏捷项目管理 云 持续交付 数据科学与工程 捍卫网络自由 演进式架构 体验设计 物联网 语言、工具与框架 遗留资产现代化 Machine Learning & Artificial Intelligence 微服务 平台 安全 软件测试 技术策略 
商业 
金融服务 全球医疗 创新 零售行业 转型 
招聘 
职业心得 多元与融合 社会改变 
博客

话题

选择主题
  • 技术
    技术
  • 技术 概观
  • 敏捷项目管理
  • 云
  • 持续交付
  • 数据科学与工程
  • 捍卫网络自由
  • 演进式架构
  • 体验设计
  • 物联网
  • 语言、工具与框架
  • 遗留资产现代化
  • Machine Learning & Artificial Intelligence
  • 微服务
  • 平台
  • 安全
  • 软件测试
  • 技术策略
  • 商业
    商业
  • 商业 概观
  • 金融服务
  • 全球医疗
  • 创新
  • 零售行业
  • 转型
  • 招聘
    招聘
  • 招聘 概观
  • 职业心得
  • 多元与融合
  • 社会改变
语言、工具与框架技术策略技术

Building on Blockchain: Like soccer without a referee

Shodhan Sheth Shodhan Sheth

Published: Aug 28, 2019

I recently worked on a project with VAKT, a start-up that is backed by an energy and finance consortium, to build a commodities post-trading management platform built on the blockchain platform Quorum.

As someone who works with blockchain technologies, I am often asked “What is blockchain?”. A lot of times explaining technology topics is much easier if one removes technology from the mix. I have found it useful to draw an analogy to a game of soccer (or football as we like to call it in the UK). Although it might not be an entirely accurate analogy, it does help explain the principles and provides us with a reference in a space that is more widely understood. 

A simple description of soccer is about two teams playing opposite each other looking to score more goals than the other; refereed by an independent person on the field who validates and provides arbitration on the rules of the game, e.g. timing,  goals, fouls, etc. The players and the audience generally have an eye on the big board (which displays the score and time details of the game) and teams often change tactics, depending on the score or the time left in the game. In many ways the board is showing the current “state” of the game as multiple events unfold on the pitch. As a thought experiment, we will try to re-think soccer as if it were to live by the same principles as blockchain (“BlockSoc”). 
 

Decentralization

The core focus of blockchain is decentralization - attempting to eradicate centralization of any form - and by doing so it offers extremely high levels of availability and resiliency as a whole system. Hence, that should be our first focus whilst re-imagining soccer. 
  1. The score. One of the first centralized points that come to mind is “the scorecard on the big board” - the final score is what determines the outcome of the game. In the blockchain version of a soccer game, every player has their own scorecard, and each player’s scorecard needs to have exactly the same score.
    Soccer playboard
     
  2. The referee. Another point of centralization is the referee, who makes decisions about the rules of the game, like goals and fouls that have a profound impact on the outcome of the game. They act as a “controlling authority”. In blockchain-based systems, such decision-making power is not concentrated in one place. For blockchain soccer to live by the same principles, a decision about a goal or foul would not rest with a single person and would be validated by all players of both teams on the pitch (one could also include the audience in the validation).

    In a blockchain system, one way to think of this is that the “Referee” can be any of the players at any time. How the referee is chosen is referred to as the “consensus algorithm”, and the rules are encoded in “Smart Contracts”. Consensus algorithms have been around for a while (and can be found for example at the heart of distributed datastores), but usually operate in high trust contexts, in which all “players” are trusted to be honest. One of the core “innovations”, if you like, of blockchain systems is to develop consensus mechanisms that allow less trusted players to participate. The most proven algorithm in this respect is Proof of Work, but this is an area of active research and many other ideas are being explored (e.g. Proof of Stake, Hashgraph consensus, Proof of Authority). Some blockchain implementations also use more traditional consensus algorithms (e.g. RAFT) because they expect to operate in a context of higher trust. Others provide abstractions that allow a range of approaches, from trusted authorities through to fully decentralized protocols.
Humans don't cope well in these sorts of conflict scenarios (remember both teams want to win, and so there is little incentive for team A to agree that team B scored a goal) - it is likely that this sort of game in the real world would end up in chaos. This is one of the reasons we tend to have intermediaries like the referee. One of the core value propositions of blockchain is that it can potentially automate these kinds of rules and decisions and allow people and organizations to interact with some level of trust without requiring an intermediary. 

Tamper Resistance

Beyond decentralization, another interesting aspect of blockchain systems is how they record data (or transactions). In soccer, once a goal has been agreed, we want to make it very hard for anyone to change the result, perhaps to try and add an extra goal for their team that was not actually scored. We call this “Tamper Resistance” but often people will talk about “Immutability” or “Permanence” to mean roughly the same thing. There are three contributing elements that together provide Tamper Resistance. 
 
  1. Firstly, blockchain systems do not offer “update” or “delete” operations - they operate as append-only data stores. In the blockchain version of soccer, when a player scores a goal, they notify all the other players so that everyone can update their cards. As previously mentioned, the “decision” as to whether or not this was a valid goal would be decided by the smart contracts and decentralized consensus, and the result of that decision notified to all the players. Each player will now have a validated list of all the goals and so can derive the current scores by adding up all the goals for each team.  

    Chalk board
  2. Secondly, each append operation is cryptographically signed (the equivalent of the author adding a wax seal to each write) - that way we know that it was not tampered with. The wax seal also allows the possibility to know to whom the seal belongs, but it is not always a characteristic of blockchain systems. In bitcoin for example, each person can generate a random wax seal whenever they want (called an “address”), so while you can tell between which addresses bitcoins are transferred, there is no information in the blockchain about who owns which addresses (seals). This is known as “psuedononymity”. Other blockchain systems use stronger ties between the wax seals and their owners. In our game of soccer we might want to know exactly which players are submitting the goals because it is a fairly closed system, so we might choose to associate the wax seal to the player.
     
  3. Finally, every write operation is linked to the previous write by being recorded into “blocks” of transactions that are cryptographically linked together (that's where the name comes from - chain of blocks). As a result, even if you were able to somehow change a particular transaction,  the link to the next block would be broken. This provides a verifiable integrity across the entire history of all the transactions on the blockchain. In blockchain systems like bitcoin all of this takes some time and so in our game of soccer we might choose a different mechanism that will allow the results to be recorded faster, but the end goal is the same: to have a set of data about the game whose integrity is easy for us to verify.
Together these three elements make it extremely difficult to tamper with data on the blockchain. 

The combination of tamper resistance and digital signatures provides the foundation for some level of Non-Repudiation, i.e. it is possible for someone to use the blockchain as evidence that something happened, and to varying degrees (depending on the implementation) who was involved.  
 

Embedded & Decentralized execution logic (aka Smart Contracts)

Another aspect of blockchain systems is the ability to encode the rules of the game such that we can program the blockchain for any sport, not just soccer. In the blockchain world, the rules about what makes a valid goal are encoded in “Smart Contracts” that are executed by the players in order to make decisions about whether a goal is accepted. By embedding the logic with the data in the system, the logic used for each transaction can be verified and is also Tamper Resistant making for a highly transparent, verifiable system which can aid trust between those making use of it.
 

Summary 

In summary, we have looked at three of the key characteristics of blockchains (Decentralization, Tamper Resistance, and Embedded, Decentralized execution logic), through the lens of our soccer game. As with any analogy we need to be careful how literally to take it but I have found that for some people the idea has unlocked the concepts for them, particularly around decentralization. If you are interested, there is much more to explore. Most of my learnings rebuilding on blockchain are based on working on the VAKT platform - you can learn more about our journey in this paper, which I co-wrote with VAKT’s CTO, Adam Vile, and my colleague, Jim Barritt, who I thank for his help in writing this piece. 

For further details, watch this talk from XConf EU 2019


 

Contact Us

We'd love to help you on your digital journey.

Get in touch
相关博客
金融服务

Blockchain in Practice: Tamper-Proof Read Receipts

Justin Ramos
了解更多
金融服务

DLT: Re-imagining industry value chains

Clay Ratliff
Erin Kyle
Prashant Gandhi
了解更多
技术策略

Procurement through Open Development Challenges

Erin Kyle
了解更多
  • 产品及服务
  • 合作伙伴
  • 洞见
  • 加入我们
  • 关于我们
  • 联系我们

WeChat

×
QR code to ThoughtWorks China WeChat subscription account

媒体与第三方机构垂询 | 政策声明 | Modern Slavery statement ThoughtWorks| 辅助功能 | © 2021 ThoughtWorks, Inc.