cost 104 ms
來自 go-ethereum 的智能合約解析問題的事件數據

[英]Event data from Smart Contract parsing issue with go-ethereum

我無法使用types.Log通道獲取從 SC 事件發出的完整數據。 有什么辦法可以讓我從發出的事件中獲取所有數據嗎? 我試圖解析的事件: 我的代碼:for { select { case err := <-sub.Err(): log.F ...

在同步之前等待足夠的合適的對等點

[英]Waiting for enough suitable peers before syncing

我在 Windows 11 上運行一個以太坊節點。我使用 Geth 作為我的執行客戶端,同時使用 Prysm 作為我的共識客戶端。 他們在過去兩天一直在同步,但 Geth 沒有向我的硬盤寫入任何數據,也沒有朝着工作的以太坊節點取得進展。 我通過下載頁面安裝了 Geth。 我使用此命令在 Prysm ...

獲取 CALL_EXCEPTION 詳細信息

[英]Get CALL_EXCEPTION details

我正在運行私有 geth 節點,我想知道是否有任何方法可以找到事務異常的根本原因。 當我發送交易時,我只能看到: 交易失敗 [參見:https://links.ethers.org/v5-errors-CALL_EXCEPTION] 當我在 hardhat.network 中運行相同的事務時,我得到 ...

嘗試運行 Ganache 時出錯(分叉 BSC 鏈)

[英]Getting error when trying to run Ganache (forking BSC chain)

我按照https://github.com/trufflesuite/ganache#documentation的說明安裝了 Ganache 我正在嘗試分叉 BSC 鏈,我有一個在本地運行的完全同步的節點(我想為此分叉,我在scripts下的 package.json 中提供了 URL)。 當嘗試 ...

為什么 GoEthereum 區塊鏈節點同步不到一天

[英]Why GoEthereum blockchain nodes sync under one day

嘿,區塊鏈愛好者們,在最新版本更新后,他們在 eth 同步方面有什么改進嗎,因為以前需要 1 周,現在只需要一天就可以下載整個區塊鏈數據。 我幾天前嘗試過,但在那里花了很多時間,但現在只用了半天。 我想了解它有什么新變化? ...

*big.int 和 *types.transaction 問題在使用 Go-ethereum 包的 solidity 智能合約交互過程中

[英]*big.int and *types.transaction issues during interaction of solidity smart contract using Go-ethereum package

我想使用基於 Golang 的 Go-ethereum 包與 solidity 簡單智能合約進行交互,它顯示了 *types.transaction 和 *big.int 的錯誤(返回這些而不是字符串和 uint),而函數是: 我的問題是如何管理它們,以便獲得與所需的值完全相同的值。 我認為這是因為 ...

有誰知道 Openethereum 的 trace_block 方法的用例?

[英]Does anyone know the use cases for the trace_block method by Openethereum?

有誰知道 Openethereum 的 trace_block 方法的用例? 這是它的鏈接: https://docs.alchemy.com/reference/trace-block 我在任何地方都找不到為此方法列出的任何用例。 即使在官方文檔中,也沒有寫出來。 ...

致命:無法寫入創世塊:數據庫包含不兼容的創世(有 d4e56740f876aef8c010b86a40d5f56745a118d0,新的 d1a12dd8ee31c1b49425a

[英]Fatal: Failed to write genesis block: database contains incompatible genesis (have d4e56740f876aef8c010b86a40d5f56745a118d0, new d1a12dd8ee31c1b49425a

在嘗試創建私有區塊鏈時,我正處於將 geth 與 genesis file.json 連接的階段。 但是運行命令后: 這是我得到的致命:無法寫入創世塊:數據庫包含不兼容的創世(有 d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1c ...

exec: "gcc": 在 %PATH% 中找不到可執行文件

[英]exec: "gcc": executable file not found in %PATH%

我正在嘗試開始使用 Golang 編寫代碼。 每當我嘗試運行我的代碼或構建它時,我都會收到以下錯誤。 github.com/ethereum/go-ethereum/crypto/secp256k1 cgo:C 未找到編譯器“gcc”:exec:“gcc”:%PATH% 中未找到可執行文件我使用 ...

在 go-ethereum 的日志文件中看到一個,它是怎么做到的? 我一直以為我們只能在linux文件中輸入字符

[英]see a 🔨 in log file of go-ethereum, how does it do that? i always thought that we can only type charactor in linux file

我使用 go-ethereum 構建了我的私有鏈,然后我在日志中看到了一個,這太神奇了,? 它是vim的新功能嗎?我在win10中使用Ubuntu 18.04.5終端到ssh進入另一台台式電腦(也是Ubuntu)。 我的 vim 版本是 9.0 INFO [09-28|08:27:29.517] m ...

Fatal: Error starting protocol stack: listen tcp 127.0.0.1:8551: bind: 通常只允許每個套接字地址使用一次

[英]Fatal: Error starting protocol stack: listen tcp 127.0.0.1:8551: bind: Only one usage of each socket address is normally permitted

我正在嘗試用一條私有鏈創建三個節點。 node1 創建成功。 但是 node2 和 node3 顯示以下錯誤。 node1 中使用的命令 node2中使用的命令 node3中的命令使用 請給一些預付款,非常感謝。 ...

Prysm 節點無法連接 Geth 節點

[英]Prysm node unable to connect Geth node

環境:操作系統:ubuntu_18_04_64 Docker:Docker 版本 19.03.2,構建 6a30dfc 容器: 配置: 1.JWT 在兩個節點上; 2.基於Prysm官方指南,geth節點8551端口映射; 3、通過nc -z -v 測試localhost:8551,連接成功; ...

不使用 ETH 轉移 ERC20 代幣

[英]Transfer ERC20 token without ETH

我想將 ERC20 代幣從一個不擁有 ETH 的錢包轉移到另一個擁有 ETH 並且可以支付 gas 費的錢包。 你知道是否可以轉移 ERC20 代幣並讓接收方錢包支付費用嗎? ...

無法從 Ethereum 類型對非靜態方法 ethGetBlockByNumber(DefaultBlockParameter, boolean) 進行 static 引用

[英]Cannot make a static reference to the non-static method ethGetBlockByNumber(DefaultBlockParameter, boolean) from the type Ethereum

我無法理解我的代碼有什么問題。 它顯示錯誤:Cannot make a static reference to the non-static method ethGetBlockByNumber(DefaultBlockParameter, boolean) from the type Ethere ...

如何獲取發件人地址 - TransactionByHash goeth

[英]how to get senders address - TransactionByHash goeth

如何使用 goeth 客戶端從 TransactionByHash function 獲取發件人/發件人地址。 我正在探索 go 以太坊客戶端,我列出了交易詳細信息,例如塊號、交易 hash、gas 價格、to(合約地址)。 但是原始交易中沒有發件人/發件人地址。 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM