2021-06-26 01:44 | 出处: Nervos社区号
火花
1、引入 Roughtime 的链外时间数据到 CKB 上可能吗?
由于链上的确定性这个本质,CKB 上的智能合约(脚本)没有办法获得当下区块高度的时间戳,这或许对一些需要有当下时间作为输入内容的交易产生了一些障碍,但这并不代表没有办法。
日前,Nervos 的核心架构师 Jan 提出了一个有趣的想法,那就是直接使用互联网上既有的时间校验服务 Roughtime。Roughtime 是一个由 Cloudflare 和 Google 提供的免费、低延迟的验证时间服务,通过 Nervos 灵活地兼容各种签名算法的特性,我们可以轻易地在链上支持 Roughtime 的签名算法 EdDSA 的验证。如此一来,我们就能够通过 Roughtime 作为 Witness,去验证任何人附在 data 或者 lock args 上的时间戳。
当然,这也还是一个比较早期的 Rough idea,开发者 Xuejie 也在此讨论到了如何激励大家来参与这个实时验证。欢迎有兴趣的小伙伴到这个帖子继续讨论:
https://talk.nervos.org/t/roughtime-as-timestamp-oracle/5866
2、Chained Lock:多种签名算法的验证一次搞定
Chained Lock 是一个由 Nervos 核心开发者 Xuejie 所提出的新点子,目的是透过 exec 这个 Linux 上的函数集来串联多个 lock,用来实现在串联的 Chained Lock 中就能够验证多种不同密码学的签名。
举个例子,今天可能有些锁是以 RSA 签名算法验证,有些则是 secp 256 r1 或者 BLS。以往,我们可能需要用多个 lock 才能够完成不同签名算法的验证,现在透过 Chained Lock 能够把这些验证都集中在一次的交互中完成。这么一来,任何 DApp 的 lock 都能够与签名验证的 lock 解耦,提供更大的便利性来支援更多重的签名验证。
如果想要了解更多或者参与讨论,欢迎查看下方的链接:
https://talk.nervos.org/t/ideas-on-chained-locks/5887
CKB
Layer 2
Godwoken-polyjuice [为 Godwoken 兼容以太坊]
(#41)更新 godwoken 和 godwoken-scripts 的依赖项
https://github.com/nervosnetwork/godwoken-polyjuice/pull/41
(#39)修复:uint8_t *content 内存泄露
https://github.com/nervosnetwork/godwoken-polyjuice/pull/39
(#38)一些 bug 的修复
https://github.com/nervosnetwork/godwoken-polyjuice/pull/38
(#37)互操作性重构
https://github.com/nervosnetwork/godwoken-polyjuice/pull/37
Godwoken [CKB 上的 Rollup 框架]
(#226)更新 godwoken-scripts
https://github.com/nervosnetwork/godwoken/pull/226
(#223)支持在内置脚本和提款中收取转账费用
https://github.com/nervosnetwork/godwoken/pull/223
(#219)更新 generate-config 命令
https://github.com/nervosnetwork/godwoken/pull/219
(#224)执行测试模式
https://github.com/nervosnetwork/godwoken/pull/224
(#208)为互操作性而调整
https://github.com/nervosnetwork/godwoken/pull/208
(#221)修复 web3-indexer 日志格式
https://github.com/nervosnetwork/godwoken/pull/221
(#220)更新 web3 索引器的 gw tx 哈希值
https://github.com/nervosnetwork/godwoken/pull/220
(#212)Impl gw-tools 的子命令 setup-nodes
https://github.com/nervosnetwork/godwoken/pull/212
(#218)通过短地址添加 rpc 获取脚本哈希值
https://github.com/nervosnetwork/godwoken/pull/218
跨链
force-bridge[通用的 force bridge 组件]
(#120)修复:添加 Prometheus 指标监测器
https://github.com/nervosnetwork/force-bridge/pull/120
(#135)修正:通过 yarn 脚本恢复 ci 流
https://github.com/nervosnetwork/force-bridge/pull/135
(#126)修复(链下):在 ci 中添加 rpc 测试
https://github.com/nervosnetwork/force-bridge/pull/126
(#131)通过客户端更新部署的方式
https://github.com/nervosnetwork/force-bridge/pull/131
(#132)在 RPC 中公开 getBridgeConfig
https://github.com/nervosnetwork/force-bridge/pull/132
(#127)修复:永远重试错误,以避免处理程序崩溃
https://github.com/nervosnetwork/force-bridge/pull/127
(#130)修复:更新部署脚本和 CKB 启动高度
https://github.com/nervosnetwork/force-bridge/pull/130
(#129)文档:更新部署文档
https://github.com/nervosnetwork/force-bridge/pull/129
(#128)文档:添加部署文档
https://github.com/nervosnetwork/force-bridge/pull/128
(#124)修复:修复 cli args 解析
https://github.com/nervosnetwork/force-bridge/pull/124
(#125)文档:添加 dapp-user-guide.md
https://github.com/nervosnetwork/force-bridge/pull/125
(#123)阶段性文件的 lint
https://github.com/nervosnetwork/force-bridge/pull/123
(#122)修复:在 isBurnTx 和 parseMintTx 中验证 ownerTypeHash
您可能感兴趣的文章: