rkyv(archive)——Dusk network赞助的ZKP研究项目

1. 引言

rkyv(archive)为Dusk network赞助的第一个ZKP研究项目——致力于Zero-Knowledge Recrusion研究。

相关代码见:

Dusk network自身实现了PLONKup proof system:

借助PLONKup算法,可在减少prove time的同时提升性能。

Dusk network与 University of Barcelona 的 Javier Silva and Xavier Salleras 进行了合作。

Dusk团队主要关注的研究话题有:

  • 1-Level recursion:支持a validity proof of one single blockchain block。
  • Multi-block validation via aggregation of proof:支持verification of validity of several proofs by validating one single proof。
  • ZK-squared rollups:为1-Level recursion和unbounded recursion之间的中间层。
  • Unbounded recursion:包含chain interoperability and more efficient & secure state sharding。

2. rkyv——Zero-Copy Deserialization

rkyv为用纯Rust语言实现的zero-copy deserialization framework。

rkyv的主要特征是“zero-copy”:即the act of “deserialization” of data is as simple as casting a pointer, with serialization occurring in a way that makes its in-memory representation the same as its archived representation。

rkyv的主要意义在于:其deserialization方法可大幅减少load times 且 使用了尽可能少的memory。

rkyv与现有Rust serialization方案的性能对比可参看:

主要特征对比为:

FeaturerkyvCap’n ProtoFlatBuffers
Open type system (用户自定义类型)yesnono
Scalarsyesnoyes
Tablesno*yesyes
Schema evolutionno*yesyes
Zero-copyyesyesyes
Random-access readsyesyesyes
Validationupfront*on-demandyes
Reflectionno*yesyes
Object orderbottom-upeitherbottom-up
Schema languagederivecustomcustom
Usable as mutable stateyesnono
Padding takes space on wire?yes*optionalno
Unset fields take space on wire?yesyesno
Pointers take space on wire?yesyesyes
Cross-languagenoyesyes
Hash maps and B-treesyesnono
Shared pointersyesnono

* rkyv’s open type system allows extension types that provide these capabilities

参考资料

[1] Dusk Network to use Grants program for Zero-Knowledge research

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值