共识与公证 [英] Consensus and Notaries

查看:57
本文介绍了共识与公证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图理解共识和公证的概念,但存在一些问题:

I've been trying to understand the concepts of Consensus and Notaries, there are some questions:

  • 是否所有节点/参与者都需要进行验证共识,以确保交易输入,输出有效?它在某种程度上类似于验证比特币输入交易吗?
  • 当涉及到国家的唯一后继者(也称为防止双重支出)时,必须达成唯一性共识,并且通过使用唯一性共识,就需要公证服务吗?
  • 公证服务中的
  • (这使我感到困惑),其中包含 verifying non-verifying 公证人,验证公证人的行为与 verification共识相同来验证所有交易(回到每个状态的最开始以检查签名和正确性),这就是为什么它被称为验证公证服务?
  • 两个公证服务都将本地存储地图以检查提议交易的消费状态吗?如果是,我如何查看地图的详细信息?
  • do all nodes/participants require to do the verification consensus in order to assure the transaction inputs, outputs are valid? Does it somehow resemble verifying the Bitcoin input transactions?
  • uniqueness consensus is a must when involving unique successor of a state (aka preventing double spending) and by using uniqueness consensus, notary service is involved?
  • (this one confused me) in notary services, containing verifying and non-verifying notaries, does the verifying notary do the same way as the verifying consensus to validate all transactions (going back to the very beginning of each state to check the signatures & correctness), that’s why it is called verifying notary service?
  • Do both notary services will store the map locally for checking consumed state of the proposed transactions? If yes, how can I see the details of the map?

谢谢和欢呼

推荐答案

  • 否.只有参与给定交易的参与者,加上交易的公证人,才能验证给定交易.这是Corda的隐私优先"方法的核心,该方法仅在需要了解的情况下分发交易信息.

    • No. Only the participants involved in a given transaction, plus the transaction's notary, verify a given transaction. This is core to Corda's privacy-first approach, where transaction information is only distributed on a need-to-know basis.

      • 是的,每笔交易都分配给特定的公证服务(网络上可能有多个),并且公证人确保没有重复支出.

      • Yes, each transaction is assigned to a specific notary service (there may be several on the network), and the notary ensures that there are no double-spends.

      是的.非验证公证人只是检查交易的输入是否还没有用完.验证公证人也会走遍整个链条",以确保交易有效.您可以选择对每笔交易使用非验证公证人还是验证公证人,这取决于您希望披露多少信息.

      That's correct. The non-verifying notary simply checks that the transaction's inputs haven't already been spent. The verifying notary also "walks the chain" to ensure that the transaction is valid. You have a choice between using a non-verifying and a verifying notary for each transaction, depending on how much information you wish to disclose.

      这两种类型的公证人都存储有关哪些状态已在本地使用的信息.通过检查公证人的H2数据库中的NODE_NOTARY_COMMIT_LOG,只有公证人本身可以查看此地图的详细信息.

      Both types of notaries store the information about which states have been spent locally. Only the notary itself can see the details of this map, by checking the NODE_NOTARY_COMMIT_LOG in its H2 database.

      这篇关于共识与公证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆