找到约 11 条结果

文章 Rust 错误处理终极指南:从 panic! 到 Result 的优雅之道

...me = "vector_demo" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] [profile.release] panic = 'abort' ``` 例子:src/main.rs 文件 ```rust fn main() { // panic!("crash and burn...

文章 Solana Blink 开发

# [Actions and Blinks](https://solana.com/zh/docs/advanced/actions) [Solana Actions](https://solana.com/zh/docs/advanced/actions#actions) 是符合规范的 API,返回 Solana 区块链上的交易,供预 览、签名和在各种上下文中发送,包括二维码、按钮 + 小部件和...

文章 Blockthreat 周报 - 2025年第29周

...m/news/tornado-cash-trial-begins-with-discussions-around-motions-in-limine-and-data-custodians)** 以及 **[Tornado Cash 审判第二天:控方和辩方讲述了关于 Roman Storm 的不同故事](https://bitcoinmagazine.com/news/tornado-cash-trial-day-2-prosecution-and-defense-tell-different-stor...

文章 技术详解 | CertiK协助修复Solana大整数模幂运算中的DOS漏洞

...big_mod_exp的CU计算模型如下: ``` [1u8; len] for the base and exponent Use a prime or an RSA modulus for each bit-sizes. ``` 7.1.2:**CU计算与消耗时间预期测试结果** 由于该系统调用适用于使用RSA算法的程序,输入数据最大支持2048位(支...

文章 在以太坊侧链POA网络与xDai稳定币链进行DApp开发

...[去中心化稳定币 DAI](https://learnblockchain.cn/2019/03/19/understand_dai/), xDai Chain是DAI背后的团队MakerDAO和POA Network合作推出的一条基于稳定币的POA共识链,xDai Chain 也是POA 共识机制及TokenBridge相结合的最好的一个例子。 xDai链和POA Core一...

文章 密码学 - Multiparty Threshold ECDSA (DKLS19)

...KLS19) ### 1. 简介 2019 年,Jack Doerner, Yashvanth Kondi, Eysa Lee, and Abhi Shelat 在论文 [Threshold ECDSA from ECDSA Assumptions: The Multiparty Case](https://eprint.iacr.org/2019/523) 中提出的多方 ECDSA 门限签名方案,简称 DKLS19 协议,本文将讨论它。 注 1:还...

文章 关于比特币区块大小之争的一些思考

...他们看来,协议的更改(尤其是“[硬分叉](https://www.bitpanda.com/academy/en/lessons/how-do-hard-and-soft-forks-work/)”)应该非常罕见,并且需要协议用户的高度共识。 比特币并不是要与支付处理器竞争——已经有很多支付处理器了。相反...

文章 如何在 Stacks 区块链上创建和部署 Clarity 智能合约

...于安装的信息 [here](https://www.hiro.so/wallet-faq/how-do-i-install-and-run-the-stacks-wallet)) - STX 测试网代币(你可以在这个 [faucet](https://explorer.stacks.co/sandbox/faucet?chain=testnet) 获取一些) #### 你将要做什么 - 了解 Clarity & Clarinet - 设置一个 Clar...

文章 每周以太坊进展 2020-01-26

...t:[理解验证者的生命周期](https://www.attestant.io/posts/understanding-the-validator-lifecycle/) * Runtime Verification [形式化验证了 eth2 的保证金合约](https://runtimeverification.com/blog/end-to-end-formal-verification-of-ethereum-2-0-deposit-smart-contract/) * [eth2stats]...

文章 用 Rust 解锁 Web3:以太坊事件解析实战

...0"); } #[tokio::test] async fn test_get_logs_with_address_and_topic() { let client = EthClient::new("https://rpc.mevblocker.io").await.unwrap(); let addresses = vec![Address::from_str("0x5BD63a7ECc13b955C4F57e3F12A64c10263C14c1").unwrap()]; le...

文章 闪电网络盲化路径的工作原理

... [https://voltage.cloud/blog/lightning-network-faq/what-are-blinded-paths-and-how-do-they-work/](https://voltage.cloud/blog/lightning-network-faq/what-are-blinded-paths-and-how-do-they-work/)_ 在闪电网络中,“路径”指付款方经由一组支付通道将一笔付款发送给收款方所...