找到约 13 条结果

文章 电信行业通过基于属性的加密(ABE)迈向后量子时代

...话密钥,其中 R() 是策略 X 和 Y 的布尔规则。这可以包括 AND、OR 和 NOT 运算。 ### CP-ABE 通过 CP-ABE,我们可以根据策略和一组属性生成加密密钥。在这种情况下,我们只能使用正确的属性生成正确的解密密钥。我们将实施的政策...

问题 Chainlink节点部署中,遇到ETH ChainID与Config.ChainID不吻合的问题

...cker.go:258 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1374` and also i have this information : ``` ``` [INFO] HeadTracker: Head 22528634 is lagging behind, there are 2 more heads in the queue. Your node is operating close to its maximum capacity and may start to miss jobs. ser...

文章 深入探索 Cairo 编程语言:Starknet 的基础与实践

...at you can perform time consuming operations on a machine you don't trust, and check the result very quickly on a cheaper machine. While Cairo 0 used to be directly compiled to CASM, the Cairo CPU assembly, Cairo 1 is a higher level language. It first compiles to Sierra, an intermediate representati...

问题 请教一下GnosisSafe多签钱包开发的问题

...es32 txHash; // Use scope here to limit variable lifetime and prevent `stack too deep` errors { bytes memory txHashData = encodeTransactionData( // Transaction info ...

文章 现代 DeFi: Uniswap V4

...er 12 bytes are non-zero, they will be zero-ed out // Therefore, fromId() and toId() are not inverses of each other function fromId(uint256 id) internal pure returns (Currency) { return Currency.wrap(address(uint160(id))); } ``` 这两段函数较为简单,但注释指出 `fromId()` ...

文章 ROP-9:抗审查性/FOCIL

...责其构建。 这可能会导致贿赂或敲诈勒索攻击,如“[Fun and games with inclusion lists](https://ethresear.ch/t/fun-and-games-with-inclusion-lists/16557)”中所述。 通过将构建 inclusion set 的责任分配给委员会而不是单个领导者,我们不再依赖于单个...

文章 使用 AI 和 MCP 管理你的区块链基础设施

...vers` 下): ``` { "mcpServers": { "quicknode-mcp": { "command": "npx", "args": ["-y", "@quicknode/mcp"], "env": { "QUICKNODE_API_KEY": "" } } } } ``` 3. 将 `` 替换为你的 QuickNode API 密钥。 获取你的 QuickNode API 密钥 要创建你...

文章 Sui Move 简易版扫雷

...: ```move fun init(otw: ADMIN, ctx: &mut TxContext) { // create and transfer Publisher package::claim_and_keep(otw, ctx); // create and transfer GameCap let game_cap = GameCap { id: object::new(ctx), balance: balance::zero(), publisher_address: ...

文章 Yul 入门指南

... assembly { slot := var8.slot } // hashs the key and uint256 value of slot bytes32 location = keccak256(abi.encode(key, slot)); uint256 ans; // loads storage slot of location and returns ans assembly { ans := sload(location) } ...

文章 比特币在投资组合中的影响与机遇

...\]](https://www.galaxy.com/insights/research/bitcoin-in-a-portfolio-impact-and-opportunity-2025#footnote-1-6Y9Wf4kL7ULnz5fxRc9UnE) 和数学原理[\[2\]](https://www.galaxy.com/insights/research/bitcoin-in-a-portfolio-impact-and-opportunity-2025#footnote-2-3gNq9eIoxY4WoI8a85YbML) 所支持的具有...

文章 加密货币中的代币经济学:理解代币铸造过程

...问题以及对互操作性的需求](https://decubate.com/blog/challenges-and-considerations-in-token-minting)。 这些挑战因监管要求和市场相关问题而变得更加复杂,使得铸造过程成为创新和风险管理之间的微妙平衡。 当我们更深入地研究代币铸造的...

文章 深入 Uniswap V4 源码 - CurrencyDelta 库

...culates which storage slot a delta should be stored in for a given account and currency function _computeSlot(address target, Currency currency) internal pure returns (bytes32 hashSlot) { assembly ("memory-safe") { mstore(0, and(target, 0xffffffffffffffffffffffffffffffffffffffff)) ...

文章 选择排序的零知识证明

...: ```jsx template GetMinAtIdx(n) { signal input in[n]; // compute and constrain min and idx // to be the min value in the list // and the index of the minimum value signal output min; signal output idx; // compute the minimum and its index // outside of the constraints var min...