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
1
vote
0 answers

Private BSC node too low number of requests per second from remote client

I have BSC node synced and running on VPC ( the VM specs are 120G RAM and 24vCPU with nvme of 4 tera) it synced pretty fast and using geth version 1.1.2 I tested the bandwidth with tools like speed-test and i have Download: 686.96 Mbit/s and Upload:…
1
vote
1 answer

Cannot Connect to local Ethereum node (Mainnet) using Ethers in node.js with Uniswap SDK

I installed Geth in my local environment, and successfully synchronized with ETH Mainnet. The command I used to start Geth is as follows: geth --ethash.dagdir F:\Ethereum\Ethash --datadir F:\Ethereum --http --graphql --http --http.corsdomain "*"…
Bosco
  • 21
  • 3
1
vote
0 answers

will my geth fast synching for mainnet ever catch up?

I'm using AMD Ryzen 7 2700x CPU, 64Gb memory 1Tb SSD, 100Mb Internet downspeed configuration to create a Ethereum node. I'm running the geth synchmode "fast" command to build a node but it seems to never catch up ! What numbers should I be looking…
1
vote
1 answer

How to get ERC20 token name & symbol by contract address with PHP geth

I have the following situation: Transaction: https://etherscan.io/tx/0xc7ee5bf1ea144b4e9e7dad32b574990c5e1b832226a626973929246577954fdf I'm able to get the contract address in this transaction "0xf629cbd94d3791c9250152bd8dfbdf380e2a3b9c" with the…
Dapp Future
  • 165
  • 1
  • 12
1
vote
1 answer

Error: Cannot send value to non-payable function GETH

Code contract: pragma solidity <0.7.0; contract contr{ function money()public payable{ msg.sender.transfer(5 ether); } } ABI contract: [{"inputs":[],"name":"money","outputs":[],"stateMutability":"payable","type":"function"}] I call the…
green_tea
  • 11
  • 2
1
vote
0 answers

geth process is stopped because debug_traceBlockByNumber

geth version: Version: 1.9.24-stable When I send the request, the geth process stops. { "jsonrpc": "2.0", "method": "debug_traceBlockByNumber", "params": [ "0x242c60", {"tracer": "evmdisTracer"} ], "id": 1 } geth…
1
vote
1 answer

how to load json file from geth

maybe it is because I am not handy with js, but how can I load a .json file from geth console? I want this in order to avoid the clumpsy way of copy-paste each raw abi content for each one of the contracts var abi_1 = [...]; var abi_2 = [...]; ....…
1
vote
2 answers

geth --rinkeby can not find peers

I want to run a Rinkeby full node. That is my startup script for geth: geth --rinkeby \ --cache=2048 \ --http --http.port=8545 --http.addr=127.0.0.1 --http.api=eth,web3,net,personal --http.corsdomain "*" \ …
Bumblebee
  • 513
  • 2
  • 4
  • 15
1
vote
0 answers

Findenode failed using bootnode in local geth network: invalid IP in response record: loopback address from non-loopback host

I followed an "old" tutorial (from 2018) about Building a local Ethereum network with Docker and Geth which is great but "deprecated" for Geth/v1.9.17. So i tried to come up with a new version for my studies. The Dockerfile's and docker-compose.yml…
norym
  • 602
  • 2
  • 8
  • 18
1
vote
1 answer

go-ethereum ethclient - cannot get event logs data

Following this read to retrieve event logs from my contract: https://goethereumbook.org/event-read When I loop over the logs like below, I'm getting empty vlog.Data that triggers the error: abi: attempting to unmarshall an empty string while…
1
vote
3 answers

How can i find geth.ipc path to open a new prompt?

I started a new ethereum private blockchain and let it run. Now i need to interact with it while it is running. I have to open a new console and use the command attach with the path of the geth.ipc file but i can't find it. Can anyone help me…
1
vote
1 answer

Restrict parts of geth API RPC methods

I'm running an ethereum node with the geth client. I would like to be able to use the admin.peers command through RPC without allowing the use of the other commands in the admin namespace. Is there a way to go about this? If not, how can I get this…
1
vote
1 answer

Running into issues with Ubuntu geth >> Error: account unlock with HTTP access is forbidden

I am using Ubuntu 18.04-3 and when executing the command > personal.unlockAccount(web3.eth.accounts[0],null) I am getting the following error, enter image description here I tried some of the suggestions here (enter link description here) and the…
Lucas
  • 11
  • 4
1
vote
1 answer

Private Ethereum : Got error (Transaction was not mined within 750 seconds) when saving migration to chain on a private Ethereum network

I tried to migrate the contract Migrations by using Truffle migrate, it got hang and show error message as belows. Please help me if I configured anything wrong. ⠸ Saving migration to chain. { "jsonrpc": "2.0", "id": 1574154369501, …
Pakorn K
  • 111
  • 1
  • 11
1
vote
0 answers

Ethereum [Geth PoA]: How to limit queued transactions in terms of waiting time and number?

I am trying to limit queued transactions in terms of waiting time (using --txpool.lifetime ) and in terms of number (using --txpool.globalqueue) but nothing works, I am using PoA with geth, I want to limit queued transactions (transactions with high…
maroodb
  • 1,026
  • 2
  • 16
  • 28