Questions tagged [geth-debugging]
The geth-debugging tag has no usage guidance.
19
questions
3
votes
1
answer
1k
views
geth v1.8 unable to download the last 65 blocks for the mainnet
Currently running geth 1.8 on Ubuntu 17.10 on an SSD. Anytime I start geth, it will always sync until it hits the last 65 blocks where it just hangs and looks like it stays stuck at downloading the ...
4
votes
1
answer
6k
views
Weird error 'The method eth_accounts does not exist/is not available'
I am trying to use truffle to migrate with the following command
truffle migrate --network ropsten
and I face the following error
The method eth_accounts does not exist/is not available
I tried to ...
5
votes
2
answers
4k
views
Why is Geth ignoring --nodiscover?
I'm firing up a test network like so:
geth --networkid=43766 --datadir ~/.ethereum/authchaintestnet/ --unlock b40474571297fd05ac82fd2994f45c977f3ca77a --password ~/.ethereum/authchaintestnet/...
18
votes
6
answers
14k
views
How to retrieve revert() reason for past transactions?
I run a geth/parity node for broadcasting user's transactions to Ethereum blockchain. Some of contract functions provide reasons for revert (see example below):
contract Example {
function test (...
17
votes
2
answers
7k
views
Geth State heal in process explanation
I had a synced geth node (syncmode default = snap).
After restarting the machine geth starts to sync again. Ten hours are passed but still syncing.
In the log file i see a lot of State heal in process....
11
votes
1
answer
10k
views
What is `--gcmode=archive` in geth
I have been running a geth node, mostly to see event logs fired by my contracts. I ran the node with syncmode=fast and finally the node is synced. I can successfully read the logs.
Now, I read here ...
6
votes
3
answers
3k
views
Trying to understand the difference between trace_call and debug_traceCall methods
can someone help me understand the difference between trace_call and debug_traceCall? From what I've read, trace_call is to see the opcodes executed and the gas used for a transaction. debug_traceCall ...
4
votes
1
answer
402
views
Error starting protocol stack
I am doing a tutorial and I get the following message.
Fatal: Error starting protocol stack: listen udp :30334: bind: Only
one usage of each socket address (protocol/network address/port) is
...
3
votes
1
answer
1k
views
Where is the function that rewards the miner address for mining the block?
I have recently been digging into go-ethereum and have 'plugged' my own consensus mechanism which requires a node to solve a simple equation (2+2) etc to seal a block.
However, even after letting it ...
3
votes
0
answers
2k
views
Understanding geth trie node pruning
My understanding of Geth's trie pruning is based off this geth v1.8 release blog post: https://blog.ethereum.org/2018/02/14/geth-1-8-iceberg%C2%B9/
Trie pruning is enabled on all --syncmode ...
3
votes
1
answer
2k
views
Why my geth fast node suddenly stopped running?
Fatal: Error starting protocol stack: gap (#3) in the chain between ancients and leveldb
when I run geth node for ropsten by :
geth --testnet --syncmode "fast" --cache=512 --rpc --ws --shh console
...
2
votes
0
answers
341
views
Add new field 'message' for sending text message to specific address
I have created a private net following https://omarmetwally.blog/2017/07/25/how-to-create-a-private-ethereum-network/ holding 4 peers. I run Ethereum Block Explorer ( https://github.com/etherparty/...
2
votes
0
answers
3k
views
Geth state heal in progress - will it terminate?
This question is somewhat related to this one, but unfortunately I don't have enough reputation to post my thoughts there.
I have been tracking my state heal progress for some time now, and I have a ...
2
votes
1
answer
888
views
Waiting for a contract to be mined
I added the following code for implementing a wait logic after deploying the contract and before calling the functions from the contract. This is same as mentioned in some other posts in Stackexchange....
1
vote
0
answers
450
views
Geth monitor graphics character encoding
I have a local network in which I start each node with both the --metrics flag and the debug api enabled. So I can attach a console and retrieve the metrics by running, for instance
geth attach --...
1
vote
1
answer
855
views
Geth keeps changing coinbase / miner account and stops working. (POA Network)
I have set up a Geth POA network of 2 nodes on different cloud instances. Network was running good for 2 months but now suddenly it's getting connections from unknown peers and mining stops working.
...
1
vote
3
answers
3k
views
MetaMask cannot send transaction on local network
I'm running Geth in dev mode locally, like this:
geth --ipcpath test-chain-directory/geth.ipc --datadir test-chain-directory --dev --rpc --rpccorsdomain "*" console
I can send a transaction from the ...
1
vote
0
answers
395
views
How to configure Geth for accepting future transactions without full sync?
I need to monitor a future (also known as pending or unconfirmed) transactions.
First of all, let's start with the source code. In the core/tx_pool.go let's configure logging a little. Replace
log....
0
votes
1
answer
532
views
Ropsten Network - geth console does'nt give updated blocknumber
I have used the command :
geth --testnet --syncmode "fast" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain "*" --bootnodes "enode://...