在公证节点中查询数据并在普通节点中查询事务 [英] Query Data In Notary Node and Query Transaction in Normal Node

查看:191
本文介绍了在公证节点中查询数据并在普通节点中查询事务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对查询数据有疑问:

有什么方法可以查询公证节点存储的所有数据以及如何在Corda中查询其他节点中的交易? / p>

Is there any way to query all data stored by Notary Node and how to query transactions in other Node in Corda?

推荐答案

在Corda中,每个节点都有自己的数据库支持。该数据库仅存储该节点知道的事务。

In Corda, each node is backed by its own database. This database only stores transactions that the node is aware of.

出于隐私原因,一个节点无法查询其他节点的数据库。相反,您必须编写一个流程,使另一个节点为您查询其数据库并发送回结果。但是,另一个节点将控制共享的数据(如果有)。

For privacy reasons, a node cannot query other nodes' databases. Instead, you'd have to write a flow that makes the other node query its database for you and send back the results. However, the other node would have control over what data is shared, if any.

这篇关于在公证节点中查询数据并在普通节点中查询事务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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