Questions tagged [geth]

Go implementation of command line tools for Ethereum blockchain

Go implementation of command line tools will allow you to connect your server to or run your application on the Ethereum blockchain

Ethereum CLI: https://www.ethereum.org/cli

Github: https://github.com/ethereum/go-ethereum/wiki/geth

237 questions
3
votes
1 answer

In Quorum, `eth.syncing` gives False even when blocks are imported

Due to overload, I lost my geth connection. When I start geth again, my old block's is gone. It again starts with 0th blocks. While doing the geth syncmode am getting false. Plz, help on these…
Muthukumar K
  • 544
  • 4
  • 13
3
votes
2 answers

Geth stuck syncing on the last 80 blocks

On Windows 10, on my command prompt, I go > geth --rinkeby Which start to sync my node with the network On another command prompt, I go > geth --rinkeby attach ipc:\\.\pipe\geth.ipc And then > eth.syncing which gives { currentBlock:…
BobbKitty729
  • 327
  • 1
  • 6
  • 13
3
votes
1 answer

Generating Enode on private ethereum blockchain?

I am currently in the process of creating a private clique proof-of-authority blockchain using geth. I currently have a problem of starting the bootnode and generating the ip (enode). I am currently receiving this: $ bootnode -nodekey…
Yanzal
  • 113
  • 1
  • 8
3
votes
1 answer

Docker on Windows: Error starting protocol stack: listen unix /root/.ethereum/geth.ipc: bind: operation not permitted

On a Windows 10 system, I am trying to run a Docker containiner running geth which listens to port 8545. This docker-compose.yml has been tested to run perfectly on both Ubuntu and Mac OS X. docker-compose version 1.21.1, build 7641a569 is being…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
3
votes
1 answer

geth --targetgaslimit not working?

My contract creation requires 5633321 gas - more than default block gas limit. I was able to deploy on Ropsten network it few times ago: https://ropsten.etherscan.io/tx/0xe90e8920018f8b633620c731c68b63f3ce11dc19f59ddb49401c9e2c9cd1f8c2. Now i want…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
3
votes
1 answer

How to `geth init` and start geth mining with Docker-compose?

I want to create private ethereum network with Docker. I've prepared genesis file so i need to geth init genesis.json and then start mining like geth --mine .... I can do it with scripts (like here:…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
2
votes
1 answer

How do I run avalanchego with a local version of coreth?

I forked coreth and added some custom functions. I want to compile and run avalanchego with this custom coreth but have been having issues. In the coreth documentation there are short instructions for running avalanchego with a local coreth here…
2
votes
0 answers

Best solution to deploy geth(go-ethereum) on kubernetes(aws eks)

I am trying to deploy geth on kubernetes.I need to have all of my pods(2 currently) to have a common volume(persistent volume) mounted to the "/data/geth/chaindata" folder.i.e each pod reads and writes chaindata from a common volume. The…
2
votes
1 answer

"transaction type not supported" When trying to deploy a simple contract using Go-Ethereum, Solidity, Go. Doesn't happen in Remix

When ever I try to deploy my smart contract to test, I receive an error indicating "transaction type not supported". Below is the source code. I'm trying to deploy my simple smart contract using abigen's Go bindings. Versions: go1.16.7 Solidity…
Kevin Jiang
  • 271
  • 3
  • 10
2
votes
2 answers

Best way to download all historic Ethereum ERC721 transfers

I'd like to download all the transfer events of tokens under a given contract address. I know etherscan provides an API endpoint for this, however it is limited to the latest 10,000 transfers (even if paginating).…
BarefootDev
  • 326
  • 3
  • 9
2
votes
0 answers

Nethereum deploy contract error: "One or more errors occurred. (invalid sender: eth_sendRawTransaction)"

I am running a private Ethereum blockchain server on my local machine. I set up the genesis file, created some nodes, and created a contract in Solidity. The aim to get a running blockchain with smart contracts on a private network. Since we develop…
KTMonadjem
  • 21
  • 1
2
votes
1 answer

Geth private network return error "invalid opcode: SELFBALANCE" when executing a simple contract

I setup a simple Geth (v1.10.2-stable-97d11b01) private network (genesis.json config below). I compiled and deployed this simple test contract (solidity version: 0.8.4+commit.c7e474f2.Emscripten.clang): // SPDX-License-Identifier: UNLICENSED; pragma…
Luke Vo
  • 17,859
  • 21
  • 105
  • 181
2
votes
0 answers

Where does geth stores SNAPSHOT data

A new sync mode called "snapshot" was implemented in geth v1.10. It requires 35+Gib space to store data. I can't find the folder where snapshot data stored. My purpose Is to redirect docker geth container folders to persistent volumes, i want to…
Bumbr
  • 161
  • 1
  • 6
2
votes
1 answer

Unable to list accounts using geth console even though accounts exist

When I run the geth command to list all accounts, it works fine: geth account list INFO [04-09|15:47:35.967] Maximum peer count ETH=50 LES=0 total=50 INFO [04-09|15:47:35.967] Smartcard socket not found, disabling err="stat…
Aviral Srivastava
  • 4,058
  • 8
  • 29
  • 81
2
votes
2 answers

How can I solve this error? "command not found: puppeth"

[eunsungahn@eunsungui-MacBookPro Blockchain % geth version Geth Version: 1.10.1-stable Git Commit: c2d2f4ed8f232bb11663a1b01a2e578aa22f24bd Git Commit Date: 20210308 Architecture: amd64 Go Version: go1.16 Operating System:…
1 2
3
15 16