Questions tagged [go-ethereum]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Is it possible to hard fork a private network to Berlin?

I have a Proof-of-Authority private Ethereum network that has Istanbul EVM version and created by clique engine. I have multiple signer nodes that has Geth version: v1.10.1-stable-c2d2f4ed. "...
0
votes
0answers
5 views

Geth is stuck 60-100 blocks behind main net for 3 weeks, how can I solve this issue?

I've been trying to sync the Ethereum Blockchain using Geth and as a full node on my MacOS for almost 3 weeks now, however I am still stuck 60-100 blocks behind the main net, as you can see below: ...
1
vote
0answers
36 views

Transaction exited with an error 0 [pancakeswap]

I am trying to make a few transactions on binance test net using a script in solidity and truffle which is a clone of PANCAKESWAP. I was able to successfully compile and execute the script once. When ...
1
vote
1answer
11 views

Go-Ethereum (Geth) run error: flag provided but not defined: -http.port

I use official tutorial to run Ethereum private network: https://geth.ethereum.org/docs/getting-started/private-net but the command : geth --datadir="/home/user/1" -verbosity 6 --ipcdisable -...
0
votes
1answer
16 views

How to hide transactions from mempool?

I am testing out blocknative's mempool explorer (https://explorer.blocknative.com) and noticed a lot of pending transactions are actually already confirmed by the time it picks them up, which I can ...
0
votes
0answers
7 views

Exactly what data does snap sync download?

Geth 1.10 introduces snap sync, faster way of syncing the blockchain. What data does snap sync actually download? If I run a snap sync with --gcmode archive will I end up with an archive node?
0
votes
0answers
11 views

Storage space geth for private network?

Setup a private network with clique at 15 secs block creation. Started with 3 nodes. Then deployed a smart contract (ERC 721) and send two transactions. After about 2 days idling, and no transactions, ...
0
votes
0answers
4 views

Interacting with wrappers in contracts from Go

I'm currently having issues with contracts in a small project of mine. The issue is as follows: I have a Go client for a Dapp and some Smart Contracts to interact with. I planned a contract (...
0
votes
1answer
10 views

How do I change cors domain of geth metrics?

I am trying to connect the output of geth metrics of a local node to Grafana. I am initializing my node using the following geth command: geth --datadir "n1" --nodiscover --networkid "...
0
votes
0answers
16 views

geth never finishes fast sync on Linux Mint

$ geth version Geth Version: 1.10.2-stable Git Commit: 97d11b0187b4695ccf44e3b71b54155fe405a36f Git Commit Date: 20210408 Architecture: amd64 Go Version: go1.16 Operating System: linux GOPATH= GOROOT=...
0
votes
0answers
6 views

Binance Smart Chain setup [closed]

I downloaded the project from Binance Smart Chain github account and when I say make all, I get the following error.
0
votes
0answers
8 views

Where exactly is Ethereum private key?

I just generated new Ethereum account with geth account new Your new account is locked with a password. Please give a password. Do not forget this password. Password: Repeat password: Your new key ...
0
votes
0answers
14 views

Full Archive Node Compaction Performance

We're currently syncing a Full Archive Node (--gcmode archive --sync full --mainnet) and are experiencing a relatively odd behavior: As you can see, the node seems to "pause" its processing ...
1
vote
1answer
35 views

What are IBEP20 _lp and address _wbnb parameter in BnbStaking.sol [closed]

I am trying to deploy bnbstaking.sol for my own project by cloning pancakeswap-farm repository. The farm repository has other contracts of MasterChef, Souschef, CakeToken and SyrupBar. For farming all ...
0
votes
1answer
11 views

Unable to synchronize with Ropsten testnet with Geth 1.9.25

For the past two days I've been trying to synchronize with Ropsten testnet using the following command in Geth 1.9.25: ./geth --ropsten --rpc --rpcaddr="0.0.0.0" --rpcapi="eth, web3, ...
0
votes
0answers
14 views

What happen to the transaction that in the uncle block? [duplicate]

If a block realize it is an uncle block, what happen to the transaction that in the uncle block? Will the transaction in the uncle block be allocated into the transaction pool again or the sender need ...
0
votes
0answers
32 views

Trying to sync the ropsten testnet to local server using geth

I tried syncing the ropsten ethereum testnet to my local server using the following script: nohup geth --testnet --bootnodes "enode://...
0
votes
0answers
14 views

AWS geth fast regime synchronizing

We are using Amazon Ethereum full node subscription 1 on Ubuntu server with their standard predefined configure. But, after a couple of days it`s still outputs zero for addresses balances and zero ...
1
vote
0answers
8 views

Retrieve size of Ethereum state on a local Go-Ethereum node

I have a local go-ethereum node and I would like to measure the size of its state on disk. The chain DB is under a .ethereum directory but measuring the size of this dir would also include space used ...
0
votes
1answer
14 views

Non-existent import files in pancake-swap-periphery

I'm looking for someone to give me a basic understanding and direction regarding pancakeswap forking. I cloned pancake-swap's periphery repository from github and in its contracts it imports "@...
0
votes
0answers
7 views

How can I measure block processing time on a given Ethereum client?

I'm looking for a tool or library to measure block processing time on a given Ethereum client. My scenario would be to be able to compare block processing time to State size. The goal is to understand ...
0
votes
0answers
8 views

how to monitor transactions from both eth and erc-20 tokens?

So far, I already could get event logs from contract address(erc-20) by this function: sub, err := client.SubscribeFilterLogs(context.Background(), query, logs) What I want: eth transaction logs (...
0
votes
0answers
7 views

What is the most updated genesis file for Ethereum POA private network?

I have successfully created the multinode network, but some when trying to deploy smart contracts, some of them fail. This is the config of my genesis: "config": { "chainId": 999, &...
0
votes
0answers
5 views

How to stop and restart a multinode Ethereum private network?

I am testing a multinode Ethereum private network setup with Docker, 1 bootnode, 1 node, 2 miners, netstats and 2 swarm, total 7 containers. When I stop and restart the containers, the chain stops ...
1
vote
0answers
11 views

The method eth_getBalance does not exist/is not available

I'm trying to follow the simple "Getting Started with Geth" page instructions but it is not written very well and I'm doing something wrong. This is the page I'm looking at:Getting Started ...
0
votes
0answers
8 views

Using go, how to get the correct range of blocks

I have some eth wallet addresses, and I want to monitor the transfer information of these wallet addresses on some smart contracts.I use this function: query := ethereum.FilterQuery{ ...
0
votes
1answer
30 views

There is an address that is hacked, the bot is monitoring it and payments are received regularly!

So, the bot instantly cancels these payments by sending, for example, 0.01 eth with a commission (fee) of 0.009 to another wallet, or even canceling everything through self - sending 0 to the same ...
0
votes
0answers
17 views

бот мониторит, а я не знаю, почему, это зачем [closed]

как сделать? почему зачем, вообще?
0
votes
0answers
9 views

Unable to send ether from one ethereum account to another due to “unknown account” error

I want to send 1 ether from one account to another. In order to do so, I attach geth to my self hosted local node (that is running on rinkeby) and execute the following command: > eth....
0
votes
0answers
3 views

Why is'nt my minner recieving rewards?

My minner (lolminner) is working perfectly, but in 2minners I'm not receiving almost any rewards. Apparently, I'm finding block at an incredibly low speed (at least compared to the previous week). Can ...
0
votes
0answers
21 views

Geth stucks on event requests

I have a loop that requests past events to my geth instance by batches of 5000 blocks. It always stucks after precisely 628 request and I get a timeout. Anyone knows why ? Thank you !
0
votes
0answers
7 views

Is there an API to check the real-time hashrate of specific miner pools?

I would like to check the current hashrate of a certain miner, but couldn't find any resources online.
0
votes
0answers
2 views

How to connect to Livepeer to Rinkeby network?

I want to run livepeer and for that I need it to get connected to an Ethereum network. There are two options as mentioned here: Hosted API services Self hosted Ethereum node If I want to opt for the ...
0
votes
1answer
99 views

Problem with BSC full node

I try install full node Binance Smart Chain (https://docs.binance.org/smart-chain/developer/fullnode.html). I follow all the instructions on the site. After the command geth --config ./config.toml --...
0
votes
0answers
13 views

Run geth looking for peers forever on AWS

I am new on blockchain.. sorry for asking very basic question: I am running my first geth private node on AWS using ubuntu using this command: geth --datadir ~/ethdata/ --networkid 12345 --verbosity 3 ...
0
votes
0answers
15 views

What can smart contract creator of Token on Ethereum Platform do to modify, change, upgrade or screw everybody on a DeFi platform?

Let's say an anonymous creates a Token called "baked" with Total supply of 1 million, and he keeps only 10k, and I buy the rest 990,000 He then uploads the Token on Decentralized Exchanges ...
0
votes
1answer
23 views

How to use a smart contract to deploy another smart contract in ethereum?

Since I have a testing contract with the reentrancy vulnerability, I want to reproduce it. However, only when the deployer is a reentrancy attack contract can this vulnerability be reproduced. Its ...
0
votes
1answer
32 views

Can a smart contract automatically generate tokenURI based on tokenID

Is there a way a smart contract can automatically generate tokenURI using the tokenIDs of erc721 tokens, if we dont want to use other methods. I am a newbie so need some guidance.
1
vote
1answer
90 views

Correctly compiled contract on remix returns empty ABI

I have two questions. My contract has compiled and deployed successfully both using remix and truffle. However: q1) remix returns an empty array of ABI. Also, after I hit compile the contract at the ...
4
votes
1answer
18 views

What's the meaning of “dirty” in Geth's INFO logs “Importing new chain segment…”

I am trying to understand the logs I see when I journalctl -fu my Geth service, which I restarted after it was offline for two days. This is less a troubleshooting question and more an extension to ...
1
vote
0answers
19 views

Able to Produce Blocks but Still Balance is Zero

Kindly find the following results below from my Mac Terminal: miner.start(1) --> null miner.stop() --> null eth.getBalance(eth.accounts[0]) --> 350000000000000000000 eth.syncing --> ...
1
vote
0answers
21 views

Able to Import my Account from Geth to MetaMask but No Balance Shown

I'm able to mined to my Accounts in Geth and have successfully imported to MetaMask. Problem, is in my Geth Console, I have the balance of the Mined Accounts but after imported to MetaMask, the ...
1
vote
0answers
24 views

Issue with a transaction

I am parsing the blockchain via Go and I am facing a questionable issue. Although the transactions are passing all the tests, meaning that I am getting most of the fields, there was a contract that ...
2
votes
1answer
26 views

Sending transaction directly to miner on private network?

I am trying to understand how one node can send a transaction to another node (miner or full) directly rather than waiting P2P network to distribute it? Say I have two non-miner nodes A and B and one ...
2
votes
0answers
19 views

Running a SPV wallet on Arduino/ESP32?

I want my ESP32 to make transactions and check for the details of blockchain using a secure method. Actually, I want to use make calls to the blockchain instead of relying on a single node. In my ...
1
vote
0answers
45 views

How can I solve the runtime error I'm having while trying to download the Ethereum blockchain?

I've installed core-geth successfully and started downloading the Ethereum blockchain on Ubuntu (20.04.02 LTS), to an external SSD, with the following command: sudo geth --syncmode fast --cache 256 --...
1
vote
0answers
21 views

Still Unable to Unlock Personal Account in Geth - Syntax Errors, GoError

In my MacBook Terminal -> Geth, I have successfully created my new -> personal.newAccount(0xA93d5aC3B28587DA16E4821F571ACF44B6B28176) along with its given generated password. I’m still unable ...
1
vote
1answer
20 views

Fail to deploy contract on rinkeby using truffle and metamask

Following is a snippet from my truffle-config.js file networks: { // Useful for testing. The `development` name is special - truffle uses it by default // if it's defined here and no other ...
1
vote
0answers
13 views

How to get my USDT (ERC20) balance with web3.py + geth?

I have Geth in full node on my server and I want to get my USDT balance with web3.py. Here is my Code: from web3 import Web3 from ethtoken.abi import EIP20_ABI w3 = Web3(Web3.HTTPProvider('http://127....
3
votes
0answers
15 views

Ropsten datadir size increases significantly after 1.10.1

I am not sure if it is my problem. It occupied > 160GB now. Used to < 80GB IIRC. Anyone facing similar issue?

1
2 3 4 5
109