Questions tagged [go-ethereum]

go-ethereum, also known as geth, is a Go implementation of the Ethereum protocol. Use this tag for questions about creating or writing code for a geth-based Ethereum service.

go-ethereum is the most widely used client implementation for Ethereum.

Command Line Options

Install on Mac

Install brew...

brew update
brew upgrade

Install Ethereum

brew tap ethereum/ethereum
brew install ethereum

Install on Windows

Download the latest stable binary, extract it, download the zip file, extract geth.exe from zip, open a command terminal and type:

chdir <path to extracted binary>
open geth.exe

Install on Linux

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
430 questions
2
votes
0 answers

Fatal error: runtime:out of memory during install of geth

# make geth build/env.sh go run build/ci.go install ./cmd/geth >>>/usr/lib/golang/bin/go install -ldflags -X main.gitCommit= -v github.com/ethereum/go-ethereum/dashboard # github.com/ethereum/go-ethereum/dashboard fatal error: runtime: out of…
Jerry Hu
  • 21
  • 2
2
votes
3 answers

npm install ethereum/web3.js - gives me an error

npm install ethereum/web3.js --save I get: npm ERR! code ENOGIT npm ERR! No git binary found in $PATH npm ERR! npm ERR! Failed using git. npm ERR! Please check if you have git installed and in your PATH.
mfeldman
  • 21
  • 4
2
votes
0 answers

there is no way to serialize parameters for sendRawtransaction, except ethereumjs-tx?

I am making ethereum iphone application. Currently there is no way to serialize parameters for sendRawtransaction, except ethereumjs-tx? My development environment is Swfit 4.0 / Xcode 9. I am using web3's JSON-RPC API in Alamofire.
2
votes
1 answer

Setting up web3 with Geth

I have been trying to set up my dapp, and have not found any resource that explains it thoroughly. I want to connect my application to ethereum using Geth and web3. So far, my index.js file looks like this: var Web3 = require('web3') if (typeof…
Nic Bonetto
  • 543
  • 1
  • 8
  • 20
2
votes
0 answers

Geth: "Error starting protocol stack: invalid argument"

I'm trying to set up a local Ethereum node in a Vagrant (trusty64, geth 1.7.1-stable): geth --identity "test_remote" --datadir "./geth_data_remote" --trace "./geth_data_remote/trace.txt" --dev and getting the following error: 19:00:20.199679…
Roman Dornhof
  • 169
  • 2
  • 3
  • 18
2
votes
3 answers

geth hangs right after generating DAG

I am trying to create a private blockchain with Ethereum (only with one node). I followed this tutorial: https://media.consensys.net/how-to-build-a-private-ethereum-blockchain-fbf3904f337 In the end I fired the following command:…
user3606212
  • 83
  • 2
  • 7
1
vote
0 answers

GETH gets stuck when there is a repetitive transfer, causing other transfers to remain pending

I'm creating a basic Genesis file with Puppeth. The configuration is as follows: What would you like to do? (default = stats) Show network stats Configure new genesis Track new remote server Deploy network components 2 What would you like to do?…
1
vote
0 answers

Can't start mining with geth

there is a problem with ether mining. I want to start mining via geth with the geth --mine --miner.etherbase= command, but I get a error: panic: ethash (pow) sealing not supported any more goroutine 4247…
Миша
  • 21
  • 2
1
vote
0 answers

Modifying PoA Geth Ethereum blockchain: Creating a function to send messages to the signer node/address from any node

Familiar with the codebase and the sections pertaining to node communication. Requested Assistance: Guidance on the necessary steps and considerations to successfully achieve the desired functionality. Any relevant resources or references that could…
Asad soomro
  • 11
  • 1
  • 2
1
vote
1 answer

Availability of Ethereum Snapshots for Fast Node Sync

I am setting up an Ethereum full node using Geth and looking for a way to speed up the initial sync process. I've come across discussions about using Ethereum snapshots, which are pre-synced blockchain data snapshots that can be used to bootstrap a…
kakakakakakakk
  • 467
  • 10
  • 31
1
vote
0 answers

Geth v1.9.25 stuck with transactions on txpool (private network - clique)

We have a private network (Clique) with nodes running Geth version 1.9.2. There are 3 validation nodes on the network and at least other 3 non-mining nodes. A few days earlier we tried to update to version 1.9.25. When we update the validation…
1
vote
1 answer

Event data from Smart Contract parsing issue with go-ethereum

I am unable to get the full data emitted from SC event by using types.Log channel. Is there any way so that I can have all the data from an event emitted? The event I'm trying to parse: PairCreated(address indexed,address indexed,address,uint) My…
dreygur
  • 300
  • 3
  • 12
1
vote
1 answer

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

I have installed Ganache following instructions from https://github.com/trufflesuite/ganache#documentation I am trying to fork BSC chain for which I have a node running locally which is fully synced (I want to fork this for which I have provided the…
1
vote
1 answer

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

while trying to create a private blockchain, I'm at the stage of connecting geth with genesis file .json. But after running the command: geth init here is what I got Fatal: Failed to write genesis block: database contains…
1
vote
1 answer

exec: "gcc": executable file not found in %PATH%

I'm trying to start writing code in Golang. Whenever I try to run my code or build it I get the following error. github.com/ethereum/go-ethereum/crypto/secp256k1 cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH% I'm…