您当前的位置: 首页 > 

mutourend

暂无认证

  • 1浏览

    0关注

    661博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

ZCash light client

mutourend 发布时间:2021-11-12 15:10:55 ,浏览量:1

1. 引言

light client可在未下载整个历史区块的情况下,与区块链进行交互。

ZCash的light client又名lightweight node,需引用a trusted full node’s copy of the blockchain,该full node可fully enforces all of the rules of the blockchain。

在这里插入图片描述

相关代码实现可参看:

  • https://github.com/zcash/lightwalletd
  • https://github.com/adityapk00/zecwallet-light-cli
  • https://github.com/adityapk00/lightwalletd
2. Lightwalletd

Lightwalletd为a stateless server,用于给light client提供blockchain information。

Lightwalletd的主要工作有:

  • 1)从zcashd中拿来blockchain data;
  • 2)对这些data进行处理以减少数据量;
  • 3)将处理后的数据存储在数据库中。

支持具有不同需求的light client,不直接与zcashd交互,直接从Lightwalletd中获取相关数据。

参考资料

[1] ZCash Light Client Development

关注
打赏
1664532908
查看更多评论
立即登录/注册

微信扫码登录

0.0523s