Questions tagged [go-ethereum]

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

How to retrieve the logs of transactions on one contract and multiple addresses

I have an application which should work as an exchange. Customers have their own Ethereum addresses on my Geth server, and they might receive ERC20 Tokens on them. I need to fetch the incoming ...
0
votes
0answers
7 views

Revalidated then Removed node

I have set up a private geth network with a bootnode and a single signer node. I start the bootnode first then the signer node. The signer node starts mining (using PoA) but in the bootnode logs it ...
0
votes
1answer
60 views

Geth light keeps showing “Looking for peers”

My Geth server in light mode was running without any issue up to yesterday. But after that, I only receive these messages continuously! INFO [04-19|12:59:22.181] Looking for peers ...
0
votes
0answers
14 views

Connect an ethereum based blockchain to owncloud

My goal is to create a permissioned blockchain. There are 2 types of users, type 1 user can only read documents, type 2 users can read as well as write documents. I have created a blockchain using ...
0
votes
0answers
17 views

Why Geth light stops working for eth_coinbase error?

I've lunched a Geth in light mode. Then, I started it using the code below: geth --syncmode light --rpc --rpcport 8545 --rpcapi personal,eth,web3,txpool But for several times, loading new headers ...
0
votes
0answers
49 views

Looking for peers in a private run blockchain using geth

I've installed geth on ubuntu 16.04 (xenial). After creating the following genesis.json file: { "config": { "chainId": 4568, "homesteadBlock": 0, "eip150Block": 0, ...
0
votes
0answers
13 views

I can't see my running nodes(they run on docker containers) on the eth netstats dashboard interface

I have a POA network of 2 nodes and a bootnode, I can't see my nodes listed on the dashboard my nodes containers are up. the API of eth-netstats app returns web3 connection failed all nodes and the ...
0
votes
0answers
14 views

How to find if transaction completed successfully?

I'm using eth_getLogs() to check transaction details. I need to know how can I confirm that each transaction is done successfully. I'm running Geth on a light mode, and using web3 to retrieve data. ...
0
votes
0answers
16 views

Error: exceeds block gas limit undefined (2)

I am using geth 1.9.12. When I try to deploy any contract (below the code), using the console, I get the error: Error: exceeds block gas limit undefined What exactly is this error? Thanks in advance. ...
0
votes
0answers
14 views

Error: exceeds block gas limit undefined

I am using geth 1.9.12. When I try to deploy any contract, using the console, I get the error: Error: exceeds block gas limit undefined What exactly is this error? Thanks in advance.
0
votes
0answers
16 views

Is there any way to get internal transfers from Geth?

I used to get internal transfers (transfers of ether done by contracts) using trace_replayTransaction Parity method, but I'm having to many problems with the node, so I want to stop using it, and I ...
0
votes
0answers
24 views

web3 filter function not working

I am trying to filter Transfer events from my local Ethereum node using web3 py. I am accessing my local ethereum node remotely using teamviewer and it was running and fully synced as well. My code is ...
0
votes
0answers
18 views

Write Secret Shared Data onto Ethereum

What would be an approach to do the following: 1) Secret Share data provided from a file 2) Publish the secret shared data onto an Ethereum instance (aleth/geth) 3) Be able to retrieve and ...
1
vote
0answers
15 views

How to check my geth current configuration?

I have a geth node. I wanted to chagne txpool.lifetime to "24h0m0s". So I made the configuration file using --txpool.lifetime="24h0m0s" That file has the configuation like below. [Eth.TxPool] ...
0
votes
0answers
20 views

Geth returns txhash of sendTransaction() but nothing is broadcasted on Ethereum blockchain

I have a strange issue with Geth. The code I've written is based on web3.php and worked well up to now. Currently, I'm testing sending ETH via sendTransaction() method. The operation finishs and I ...
2
votes
1answer
20 views

How is this account able to consistently get her/his transactions with zero gas price mined?

This account https://etherscan.io/address/0xbe7cd41e060cdb07c548d6c65f1d786e43f1c392 is able to keep sending transactions with zero gas price and they are mined. If I try to do the same, my ...
1
vote
0answers
23 views

Is it possible to sync an archive node with HDD in 2020?

Many bloggers have pointed out that it is almost impossible to sync an ethereum archive node using a HDD.But most of those blogs were published in 2018. I've seen several version updates of geth ...
0
votes
1answer
69 views

Is the blockchain compatible between Geth and OpenEthereum(Parity)?

I'm trying to set up a full node. Being a DeGoogler I instinctively avoid Go, so I defaulted to OpenEthereum. After compiling on my maching I get 'Illegal Instruction', which seems to be because of my ...
0
votes
0answers
11 views

Miners are not working when running geth command in background in linux

I am running my private blockchain using geth on my ubuntu server with following cmd then its working fine geth --datadir ~/chaindata/ --networkid 45123 --verbosity 3 --rpc --port 30304 --rpcport ...
0
votes
1answer
15 views

How to add member NOT peer node to private ethereum network

I followed this parity-poa tutorial to build a private POA ethereum network in local. I want to add member node to this network . so i run parity client with below configuration toml file: [parity] ...
0
votes
1answer
33 views

'Contract' object has no attribute 'eventFilter' web3.py

I am trying to filter Transfer events from my local ethereum node using web3 py. I have created a venv in visual studio code. My code is as follows: def decodeLogswithfilter(t1, t2, abi1, addr): ...
0
votes
1answer
101 views

Provable API for calling ETH-USD price in a contract

This contract is hosted at https://github.com/provable-things/ethereum-examples/blob/master/solidity/truffle-examples/kraken-price-ticker/contracts/KrakenPriceTicker.sol I have made the constructor ...
0
votes
0answers
7 views

how to find correct path using loadScript in geth when attaching localhost

I get a false returen when I start geth and try to load a script $geth attach http://localhost:8546 when I connect to parity client and I try to load a script loadScript("./scripts/addresses.js") ...
0
votes
2answers
15 views

What causes .deployed() to return same contract instances in each test

It took me awhile to diagnose the problem. At first I just noticed that the states of my contracts were being affected by previous tests when running truffle test I then looked in the terminal tab in ...
0
votes
0answers
34 views

Chainlink services are not supporting the privateFor transactions in Quorum/Kaleido

We are exploring Kaleido and Chainlink for one of our use cases. What we have done: We have created a network of Quorum/Raft nodes. We had setup the chainlink service for the network. We have setup ...
0
votes
1answer
36 views

Geth trace transaction int old block

I start geth without setting gcmode=archive at the beginning. But when i realized that if i want to get all the internal transactions in ethereum blockchain, geth has synced at the blockheight of ...
0
votes
0answers
13 views

get statistics by event filters or normal blockchain traversal

I want to ask what's the better approach among the following two: Filter events using address.eventFilter function or traversing the local blockchain block by block and getting events statistics. I ...
0
votes
0answers
17 views

Where can I buy some usdt in small amount for testing on mainnet

Any where to buy small amount of usdt of mainnet for testing?
2
votes
1answer
85 views

Token Swap From Ethereum Host Network To Different Blockchain

What is a good way to swap tokens from the Ethereum host network to a different network (i.e. the Tron blockchain)? Would the best way to do this be to have a smart contract where ERC20 token holders ...
1
vote
0answers
30 views

Error: gas required exceeds allowance (10209310) or always failing transaction [duplicate]

I'm newbie in ethereum and on my first lession I faced an issue that I can't solve: Hello.sol: pragma solidity ^0.6.0; contract HelloSol { uint savedValue; function setValue( uint newValue ...
0
votes
0answers
27 views

Getting HTTP/1.1 403 Forbidden when i want to get account balance

Some months ago, I was able to get the balance of my account using this code (I run the code in Unity 2018 and get the code from tutorial in github. I modified some parts of the code). This is the ...
1
vote
1answer
90 views

Insufficient fund for sending USDT token on an address with no Ether

I've an Ethereum account in Geth which has received 4 Tether (USDT). I want to send 1 of them for test to another account, but I receive this error: insufficient funds for gas * price + value I ...
0
votes
1answer
53 views

Error when deploying contract in geth with truffle ? --> Returned values aren't valid, did it run Out of Gas?

I have deployed a contract in a geth private network by using truffle. I can send transaction via my UI in html / nodejs but i am not able to do a call to retrieve informations. If I do, nothing ...
0
votes
1answer
44 views

getTransaction sometimes returns null when transaction is pending

I am looking to get real time transaction data as it is broadcasted to the ethereum network, so I have subscribed to pendingTransactions. This only returns the transaction hash though, so I have to ...
0
votes
1answer
63 views

What are the steps to send ERC-20 tokens?

I need to send USDT and other ERC-20 tokens via Geth on Ethereum. I'm using PHP and Web3.php library to work with Ethereum. So far, it worked well for everything. Now, I need to start sending tokens ...
0
votes
1answer
22 views

How to sign transactions while Geth does not provide private key?

I've lunched Geth for the first time and created some accounts on it. While creating accounts, I entered a password for each, and a key file is generated which contains encrypted private key belonging ...
0
votes
2answers
27 views

Should I use getTransactionCount() result in sendTransaction()? [duplicate]

As I read, getTransactionCount() returns the number of transactions sent from an address. Which of below items should I consider? Not to use returned nonce? Use the returned nonce number as a ...
0
votes
0answers
5 views

I cant connetc geth in docker container from other container using docker name

I have docker-composer setup: Php and Geth. I can ping from php docker container to geth cont. but I cant get response from it. If I hard code ip address of this geth container, I get response if I ...
0
votes
1answer
17 views

Can we migrate private blockchain from one aws instance to another?

Right now, I am running my private blockchain on aws ec2(t2.medium) using geth. I am just curious that later on is it possible to upgrade that aws ec2(t2.medium) instance to aws ec2(t2.large) instance?...
2
votes
1answer
22 views

How to connect local ganache node with epirus

I tried apirus to connect to local ganache node. Ganache node is running on localhost:7545. git clone https://github.com/blk-io/epirus-free.git cd epirus-free docker-compose pull NODE_ENDPOINT=http:/...
0
votes
1answer
33 views

Error: Returned error: gas required exceeds allowance (89459648255865) or always failing transaction

I am running a contract on a private network in geth, and using web3js. I have the following error when I run a transaction: web3.min.js:1 Uncaught (in promise) Error: Returned error: gas required ...
0
votes
1answer
131 views

Returned error: gas required exceeds allowance (8000000) or always failing transaction

I am running private block chain using geth, Here is my geth command : geth --datadir $ethereum_home/chaindata --networkid 45683 --verbosity 3 --rpc --port 30304 --rpcport 8545 --rpcaddr "0.0....
0
votes
1answer
12 views

My cutom RPC meta mask created account is not showing in terminal

I have installed geth and created genesis.json and run my own private eth network. I started my rpc using geth --rpc --rpcport 5200 --rpcaddr 192.168.1.99 --datadir ./private Then I connected to ...
0
votes
1answer
22 views

Withdraw ether from other miner

I'm working with blockchain ethereum private network with several miners. I already successfully send and stamp a transaction from (example) one minerA to minerB using web3 library in python language. ...
0
votes
2answers
44 views

What is the websocket URL in Ethereum on Geth?

I've lunched an Ethereum server based on Geth. Now, I need to be notified about all incoming transactions on my generated accounts. In my previous Bitcoin Core server, I had an option in its config ...
1
vote
0answers
22 views

Can chain states be processed faster or in parallel? (geth full node syncing)

I am trying to understand more about chain states. Basically Geth is capable of downloading blocks pretty fast now, but getting "known" and "pulled" states takes much longer and seems to be ...
0
votes
2answers
25 views

How to prevent someone to replace our smart contract

I'm still learning to develop dApp and currently, I conduct some testing on my dApp. I found out that someone who is part of the blockchain network (miner and node) can replace our deployed smart ...
0
votes
0answers
26 views

How to get type of a contract internal transaction? [duplicate]

I'd like to get type(create, call, ...) of a contract internal transaction, like [this page of etherscan.][1] However, I couldn't find it any responses and documents of web3js. I'm getting a contract ...
1
vote
1answer
38 views

How do I increase the amount of memory geth can use for cache?

I'm running geth on a system with 96GB of memory, soon to be bumped up to 192GB. I currently start geth with --cache 32768 but I plan to double it when my memory is upgraded. However, I've noticed ...
1
vote
1answer
37 views

What should be the limit for miner to mine a block

I am trying to run my smart contract in remix ide, below is my smart contract code: pragma solidity >=0.4.17 <0.7.0; pragma experimental ABIEncoderV2; contract Department{ struct Employee{ ...