找到约 14 条结果

文章 Libra 源码分析:内存池mempool模块解读-2

...是向缓冲池中添加新的Tx,改则是修改已经在缓冲池中的Tx. 先说为什么会有修改,主要因素实际上只有一个就是GasPrice,对于同一个账户的同一个`Sequence_number`(就是以太坊中的Nonce)的Tx,如果存在Gas更高的,就会被替换. 对于公链有这...

文章 零时科技 || LI.FI 攻击事件分析

...51cc.jpg) # **背景介绍** 2024年7月16日,我们监控到一笔Ethereum上的攻击事件,https\://etherscan.io/tx/0xd82fe84e63b1aa52e1ce540582ee0895ba4a71ec5e7a632a3faa1aff3e763873 被攻击的协议为**LI.FI Protocol**,LI.FI Protocol是一个聚合协议。此次攻击...

文章 比特币生态开发 - UTXO 的那些坑

...就会有坑... 比特币生态今年意外爆发,我有幸也参与一些比特币生态项目。比特币这个东西,因为没有智合约,给人一种假象,以为做比特币开发就是调用一些接口和比特币开发库,但真正做进去,就会碰到各种想象不...

问题 调用成功setinfo,但是成功后会报错是什么原因呢?

[![](https://learnblockchain.cn/image/show/attachments-2019-12-SE1ldjXC5e059c1d27483.jpg)](https://learnblockchain.cn/image/show/attachments-2019-12-SE1ldjXC5e059c1d27483.jpg)[![](https://learnblockchain.cn/image/show/attachments-2019-12-B2373q835e059bfbde60b.jpg)](https://learnblockchain.cn/image/s...

问题 重新下载truffle 现在不会提示solc编译环境的问题,但是却显示输出错误,是为什么呢?

[![](https://learnblockchain.cn/image/show/attachments-2020-01-qQ5VgzCr5e12a2ef186ee.png)](https://learnblockchain.cn/image/show/attachments-2020-01-qQ5VgzCr5e12a2ef186ee.png)

问题 为什么这么写会报promise语法错误,显示监听函数未定意,明明已经成功引入一个合约实例

[![![](https://learnblockchain.cn/image/show/attachments-2020-01-dYDd0d755e15a87cce670.png)](https://learnblockchain.cn/image/show/attachments-2020-01-dYDd0d755e15a87cce670.png)[](https://learnblockchain.cn/image/show/attachments-2020-01-8Sycrxix5e15a874267c1.png)](https://learnblockchain.cn/image/s...

问题 请问为什么我部署以太币之后显示是这个

``` pragma solidity ^0.4.0; contract TestAddr { constructor() public payable { } // 获取一个账号的余额,注意把地址替换为自己的账号地址 function testBlance() public constant returns (uint) { address a = 0x5fC754A1640873b6E75d3e8763788Efb...

问题 我直接truffle unbox webpack下载的包都不部署成功,请问您知道问题出在哪儿

1_initial_migration.js ====================== Deploying 'Migrations' ---------------------- Error: *** Deployment Failed *** "Migrations" -- Returned error: invalid transaction v, r, s values. at /usr/local/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deploy...

问题 以太坊调用转账后,生成hash但是没有上链

![2E41BE71DE0C404BA7FF8EBAEA967BCD.png](https://img.learnblockchain.cn/attachments/2020/11/pjuMigVr5fb3dd96dfd72.png) ![8A493324F8254A2CA4E6C73DF335DC25.png](https://img.learnblockchain.cn/attachments/2020/11/gY5ScynF5fb3dd9709ff0.png)

用户 不必U

用户 起风

问题 eth_sendRawTransaction发起交易返回的hash 因为某些原因被顶替,我应该怎么确定这笔交易的新哈希呢?

问题 发行uniswap合约遇到问题

工厂合约 路由合约1和2 都已经部署成功 ,接入到uniswap-interface 创建pool 授权已成功 点击[`Create Pool & Supply] 控制台报错 {code: -32000, message: "gas required exceeds allowance (8000000) or always failing transaction"} 帮忙看一下 谢谢

问题 通过Metamask观察,投票给Bob已经成功,可是刷新网页也反应不出来,找到一些“错误信息”,请问需要怎样修改?

![image.png](https://img.learnblockchain.cn/attachments/2021/02/oropolK06019469e5e972.png) ![image.png](https://img.learnblockchain.cn/attachments/2021/02/2d2vV8Mi601948e50f887.png)