找到约 14 条结果

文章 用 Rust 优雅实现图搜索核心算法:广度优先搜索 (BFS) 实战

... // 2. Start the BFS // Mark the start node as visited and enqueue it visited[start] = true; queue.push_back(start); // 3. Main loop: Continue while there are nodes in the queue while let Some(u) = queue.pop_front() { // Dequeue ...

文章 以太坊上的百万用户去中心化应用:应用特定侧链简介

...可以在 [Vitalik 的博客](http://vitalik.ca/general/2017/03/14/forks_and_markets.html) 上找到。 ![](https://img.learnblockchain.cn/2025/03/02/1-lWlTVi8VXEgNOabyENYnw.png) 分叉变体维恩图,取自 [vitalik.ca/general/2017/03/14/forks_and_markets.html](http://vitalik.ca/general/2017/03...

文章 Xatu 开源数据集

... ## 可用数据 | 数据集名称 | 模式 | 描述 | 前缀 | EthPandaOps Clickhouse|公共 Parquet 文件 | |--------------|--------|-------------|--------|---|---| | **信标 API 事件流** | [模式](./schema/beacon_api_.md) | 从信标 API 事件流派生的事件 | beacon_api_ | ✅...

文章 garaga+noir+starknet starter项目实战

...o-knowledge-proof/) * [Making Blockchain Comply with GDPR: The Challenges and Fixes](https://www.altoros.com/blog/making-blockchain-comply-with-gdpr-challenges-and-fixes/)\ [使区块链符合 GDPR:挑战和修复](https://www.altoros.com/blog/making-blockchain-comply-with-gdpr-challenges-and-...

文章 每周以太坊进展 2020/10/04

...bo Geth API,快速查询任意一个区块处的 [ETH 供应量](http://mandrigin.ru/eth-supply.html) * 最新的[核心开发者会议](https://youtu.be/v5Q5WPdN1jk?t=71)。Tim Beiko 的[备忘录](https://twitter.com/TimBeiko/status/1312021038130106370) * [交易处理的相关 EIP 简介](htt...

问题 在zksync测试网验证报错:Deployed bytecode is not equal to generated one from given source

... require(_addresses.length == _amounts.length, "Lengths of Addresses and Amounts NOT EQUAL"); IERC20 token = IERC20(_token); uint _amountSum = getSum(_amounts); require(token.allowance(msg.sender, address(this)) > _amountSum, "Need Approve ERC20 token"); ...

问题 合约不能接受BNB,请问是什么原因。

...ansferred(address indexed previousOwner, address indexed newOwner); constructor() { _setOwner(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "...

文章 Shutterized OP Stack 测试网公告与路线图

...ps%3A%2F%2Fblog.shutter.network%2Fshutterized-opstack-testnet-announcement-and-roadmap%2F) Shutter 26 位订阅者 [用于 Op Stack 的加密**内存池** - 演示展示](https://www.youtube.com/watch?v=fO6zecX_6E8) Shutter 搜索 稍后观看 分享 复制链接 信息 购物 点按取...

文章 🚀 使用 Hardhat Ignition 自动化合约部署 🚀

...发布于 [BuildBear Tutorials](https://www.buildbear.io/resources/guides-and-tutorials/Hardhat_Ignition)。 Hardhat Ignition:智能合约部署的游戏规则改变者。 **它是什么?** 这是一个声明式系统,简化了部署过程,提供端到端的部署体验,让开发人...

文章 将威胁建模作为战略开发工具 - Optimism

...能性,如果与默认的 OR 组合,则取最有可能的,如果与 AND 组合,则取最不可能的。 在下面的树中,即使二级节点是紫色的,它也与黄色节点进行了 AND 运算,因此它们的组合可能性是黄色,并且被来自三级节点的红色覆盖。...

文章 Solidity - 使用位运算节省 gas

... if ("either player has formed 3 consecutive dots") ("set the winner and end the game") ``` ## 棋盘/游戏状态的表示 现在我们对要存储的信息有了一个概念,让我们用代码来表示。请记住,设计应该考虑计算的高效: 代码将读取数据并计算...

文章 了解去中心化自治组织(DAO):其运作方式与实践——Pintu学院

... Get to Know the Decentralized Autonomous Organization (DAO), How It Works and Its Implementation](https://img.learnblockchain.cn/2025/08/18/apa-itu-dao_1.png)](https://img.learnblockchain.cn/2025/08/18/apa-itu-dao_1.png) 自 [加密货币](https://learnblockchain.cn/tags/cryptocurrency) 发明以...

文章 Liquid 生产环境中的限制条款

> _作者:Randy Naar_ > > _来源: [https://bitcoinmagazine.com/technical/before-they-were-cool-covenants-in-production-on-liquid](https://bitcoinmagazine.com/technical/before-they-were-cool-covenants-in-production-on-liquid)_ 自从比特币社区燃起关于限制条款的优化的讨论以...

文章 构建一个多链NFT分析应用

...全的 API 调用,尤其是在生产应用程序中。 ``` // Component and hook imports import React, { useState, useEffect } from 'react' import axios from 'axios' import NFTCollectionCard from './components/NFTCollectionCard' import ChainSelector from './components/ChainSelector' // Type defi...