首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >共识和公证人

共识和公证人
EN

Stack Overflow用户
提问于 2017-08-22 11:47:06
回答 1查看 768关注 0票数 0

我一直在努力理解共识和公证人的概念,有一些问题:

  • 是否所有节点/参与者都需要进行验证协商一致,以确保事务输入、输出是有效的?它是否类似于验证比特币的输入交易?
  • 当涉及到一个国家的唯一继承者(也就是防止双重支出)时,唯一共识是必须的,而通过使用唯一性共识,公证服务是必需的?
  • (这让我感到困惑)在包含验证非验证公证人的公证服务中,验证公证员的做法是否与验证所有事务的验证共识相同(可以追溯到每个州的初始阶段以检查签名和正确性),这就是为什么称为验证公证服务的原因吗?
  • 这两个公证服务是否都会在本地存储映射,以检查拟议事务的消耗状态?如果是,我怎样才能看到地图的细节?

谢谢,干杯,

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-08-22 12:29:13

  • 不是的。只有参与给定事务的参与者,再加上事务的公证,才能验证给定的事务。这是Corda隐私优先方法的核心,在这种方法中,交易信息只在需要知道的基础上分配。
代码语言:javascript
复制
- 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.
- 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.

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45816778

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档