hyperledger - 如何在 Hyperledger Sawtooth 中进行私密交易?

标签 hyperledger hyperledger-sawtooth

有没有办法在 SawTooth 中进行私密交易?

我知道 HyperLedger Fabric 有“ channel ”并且 Quorum 有私有(private)交易,所以寻找类似的东西但没有看到它:

https://sawtooth.hyperledger.org/docs/core/releases/latest/architecture.html

当然,理论上可以实现加密/解密过程,但是跟踪起来很麻烦(如果它是加密或解密的有效负载)

最佳答案

由于 Sawtooth 已获得许可,因此可以设置具有不同角色和访问权限的用户。这将允许您创建特定身份私有(private)的交易。

您可以configure验证器仅接受来自本地配置文件中列出的身份的交易。或者,使用身份命名空间来设置允许的身份,当从客户端接收交易或验证 block 时,将检查这些身份。

请参阅identity transaction family有关 Sawtooth 如何管理身份和权限的更多详细信息:

The identity system described here is an extensible role and policy based system for defining permissions in a way which can be utilized by other pieces of the architecture. This includes the existing permissioning components for transactor key and validator key, but in the future may also be used by transaction family implementations.

The identity namespace:

  1. Encompasses ways to identify participants based on public keys
  2. Stores a set of permit and deny rules called “policies”
  3. Stores the roles that those policies apply to

关于hyperledger - 如何在 Hyperledger Sawtooth 中进行私密交易?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48887018/

相关文章:

python - 锯齿波交易错误 : "Tried to set unauthorized address"

android - java.net.SocketTimeoutException : failed to connect to/172. 18.0.1(端口8008)来自/192.168.2.5(端口46198)10000ms后

javascript - 状态哈希根问题(即)验证器未添加 block

docker - 为什么将/var/hyperledger/production安装到主机卷上会导致错误?

ubuntu - docker 的 Hyperledger 安装问题

hyperledger - 你如何生成 pool_transactions_genesis 和 domain_transactions_genesis?

ubuntu - 当我使用 "sawtooth"命令时,出现错误

ssl - 为 Hyperledger Fabric couchdb 启用 SSL

python-3.x - Ubuntu 18.04 LTS 上的 Hyperledger Sawtooth 安装问题