找到约 15 条结果

文章 自动减仓、Hyperliquid 以及 6.53 亿美元的辩论

...权益 $e_T(p)$ 的扣减,并使用公平性指标比较策略(队列 vs 按比例 vs “智能”变体)。 * 在没有开放 ADL 代码的情况下,每个人都在从行为和文档中推断;这种不确定性应该是对话的一部分。 在我看来,实际上需要在论...

文章 错误处理 - OpenZeppelin 文档

...ilter.rs`) ```rust hljs // 转换为特定于域的错误 async fn filter_block(...) -> Result { let receipts = match futures::future::join_all(receipt_futures).await { Ok(receipts) => receipts, Err(e) => { return Err(FilterError::network_error( forma...

文章 UTXO 和 Account 模型对比

...账号和余额的概念只存在于钱包中。 ![](https://img.learnblockchain.cn/2020/02/01_/521303788.jpeg) **优点:** 1. 计算是在链外的,交易本身既是结果也是证明。节点只做验证即可,不需要对交易进行额外的计算,也没有额外的状态存储...

文章 solana 离线转账的例子

... 转账 1 sol。 如果a 签名好, 把签名信息和公约 ### block hash show example ```shell $ solana nonce-account $NONCE Balance: 0.1 SOL Minimum Balance Required: 0.00144768 SOL Nonce blockhash: 4NXnh5LHdEMyFZU6ogWyveaQ64xKYn38hGAKT6CJuYA5 Fee: 5000 lamports per signature ...

文章 使用Dune制作dashboard

...sive users in 2023 SELECT --truncate time to day date_trunc('day', block_time) AS time, --count distinct addresses that sent a transactions COUNT(distinct "from") AS users, --count distinct addresses that received a transaction COUNT(distinct "to") AS receiving_addresses FROM ether...

文章 go-ethereum源码剖析:你的交易是如何上链的

... = min(transaction.max_priority_fee_per_gas, transaction.max_fee_per_gas - block.base_fee_per_gas)     MaxPriorityFeePerGas *hexutil.Big `json:"maxPriorityFeePerGas"`     //需要转移的原生代币数量     Value *hexutil.Big `json:"value"`     //防止重放攻击     Nonce *hexu...

文章 AI - Stable Diffusion vs DALLE-3

![](https://img.learnblockchain.cn/2025/05/06/1WOjJUnMucBurGChBuqutig.png) ## Stable Diffusion v DALLE-3 在图像生成方面,Goodfellow 等人\[1] 定义了生成对抗网络 (GANs) 的用法。由此,我们可以使用两个神经网络 (NNs),它们可以互相帮助来改进模型。...

文章 每周以太坊进展2022/5/28

...PQjyYBqDChYw_jg/BJ2-L6Nzc)的区别 ## POS(共识层) * 信标链 [7-block 深度重组](https://twitter.com/terencechain/status/1529566839033933824): 由提议者推动升级,未升级节点和迟到的块混合而导致。**升级你的节点!** * Ropsten 信标链 Bellatrix 发布: ...

文章 以太坊代理合约分析与漏洞利用管道的概念验证

... progress ( id INTEGER PRIMARY KEY, last_processed_block INTEGER, updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ) ''') conn.commit() return conn def get_last_processed_block(cursor): cursor.execute('SELECT last_processed_block FROM progre...

文章 自定义脚本 - OpenZeppelin 文档

...guage": "Bash",\ "script_path": "./config/filters/evm_filter_block_number.sh",\ "timeout_ms": 1000\ }\ ], "triggers": ["evm_large_transfer_usdc_script"] }, "receipt": { "blockHash": "0x...", "blockNumber"...

文章 Gelato Web3 Functions vs. Chainlink Functions

...程序提供安全且去中心化的基础。 ### Gelato Web3 Functions vs Chainlink Functions 表面上,这两种服务看起来非常相似——命名、"serverless" 以及允许开发者"连接和访问链下数据"。它们有何不同?它们是否针对相同的用例?最重要的是...

文章 以太坊中GraphQL简介及使用

...充JSON-RPC。 本文将会介绍GraphQL是什么,[Geth](https://learnblockchain.cn/tags/Geth)为什么要引入GraphQL以及如何使用GraphQL三个方面对以太坊的GraphQL做一个介绍。 # 一、GraphQL是什么 GraphQL官网对GraphQL的介绍是:GraphQL 是一个用于 API ...

文章 教程:如何 Mint ANS?

![2.png](https://img.learnblockchain.cn/attachments/2023/08/03FsSSd264de268ff36ee.png) **Arweave Names Service(ANS)** 是一种基于 Arweave 的身份和社交元数据协议,它也是一种实现Arweave 地址人类可读的解决方案。类似于 ENS,但 ANS 是永久性的。用户...

文章 死磕以太坊源码分析之Ethash共识算法

...的过程如下图所示: ![image-20201213144908721](https://img.learnblockchain.cn/2021/03/01_/733580954.jpg) `Dagger`还有一个关键的地方,就是确定性。即同一个`epoch`内,每次计算出来的`seed`、缓存、`dataset`都是相同的。否则对于同一个区块,挖...

文章 L2链衍生规范

...范 **目录** - [概述](#overview) - [预先区块推导](#eager-block-derivation) - [批量提交](#batch-submission) - [排序 & 批量提交概述](#sequencing--batch-submission-overview) - [批量提交线路格式](#batch-submission-wire-format) - [Batcher 交易格式](#batcher...