Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Aleš Ferlan
would a restore to an updated geth solve the issue?
Aleš Ferlan
I'm trying to import rlp file with a newer version of geth and get invalid difficulty error, is there a way to get around it?
François-René Rideau
Do you have only one node, or is there at least one node that didn't run out of space from which to recover?
Saber Fallah
Kurth Alexandre
Hi ! Running a geth node, I need to keep the states of the last 2 weeks only. I synchronize it in fast mode, then once done my understanding is that only last states are kept. Looking at the doc, it seems possible to set this value
"Geth will regenerate the desired state by replaying blocks from the closest point ina time before B where it has full state. This defaults to 128 blocks max, but you can specify more in the actual call ... "reexec":1000 .. } to the tracer."
Has anyone already tried to change this value ? I don't find examples of commands
Also, the line after in the doc it is written : "Sorry, can’t be done without replaying from genesis."
Kurth Alexandre
does it mean that I need to sync archive mode from the beginning ? Or is it compatible with fast sync
So my question was to keep the states of the last 2 weeks, but I've also another one, maybe simpler. Is it possible to begin to keep all the states of a node, starting from now. i mean, I don't need the past 5 years of states, juste need to keep states from now.
Can I fast sync, then stop the node, and launch it again in archive mode ? so that states will be kept ? Just don't want the node to restart to process and store state from the beginning
thanks :-)
Aleš Ferlan

Do you have only one node, or is there at least one node that didn't run out of space from which to recover?

nope, its actually a project we took over and there was only one node that we intend to replace with authtrail eventually

@kurthalex_twitter - You can fast sync, then restart your node with --gcmode=archive - I do it all the time
Kurth Alexandre
Thank you :-)
Hi! I have several pending transactions from the same account with low gas price. What if I'll send one more transaction with next nonce but high gas price? Can it help to mine all pending transactions queue behind last "expensive" transaction?
If it doesn't work than next question is how to include "self" transactions in mined block with geth?
Marius van der Wijden
No you need to resend the pending transactions with a higher gas price. Transactions can only be executed if all previous transaction were executed.
What do you mean with "self" transaction?
Geth automatically assembles the block for you and sets the coinbase address if you mine with it.
block lost number=1834749 hash="aaf9e1…21e72a"
Does anyone know the cause of this error ?
Bob P
So I have a fully synced geth node running right now, but I can't geth attach to the websocket. Has anyone had an issue like this/knows how to resolve it? When I first started geth I set up the ws flags: --ws --ws.addr localhost --ws.port 8546 --ws.api personal,eth,web3,admin,txpool,debug
Makes no sense to me! If anyone can shed some light on this issue that would be great and much appreciated. I can't connect to ws over web3 on my node either!
Bob P
If I stop geth to change command flags, can I restart it to sync again quickly?
@snek1_gitlab If you restart geth, it should pick up at whatever sync level it is and continue towards getting fully synced.
Provided, of course, that you don't reset the DB or anything like that!
Bob P
Ok cool, thanks
Kike de la Calle
Hello, someone have some rinkeby eth to send me? none of the faucets are working
Baron Wilhelm Stein
Is the memory json object returned by the debug_traceTransaction json-rpc call, a list whose items are 32-byte values?
Hi, Is there a way to retrieve raw transactions from a geth node?
@MariusVanDerWijden Thanks.
Let me explain. Is it possible to include own out transactions to next block will be mined on my node?
I want to save money on fees from pool payouts
Like big pools do
In another words how to include specific transaction in block?
Marius van der Wijden
Yes that is in theory possible, however the normal geth does not work that way. You need to modify the source code to make it work.
Unfortunately I can't help you with that. Also a change like this is very unlikely to make it into the upstream repo.
Hello can I please have some ether. 0x79c5fe7D568D6Eb605f99Da581621003fAAfE84e Thank you
Konstantin P.
I'm running uniswap arbitrage strategies, if anyone interested in collaboration, pm me.
0xE099550D299777e41f6028f5761a68b45A1f96aC Please, I need test ETH
Hi friends, I have a quick question here. I hope some could help me out.
I am running a local Geth full node, with "--rpcapi eth,net,web3,txpool". Running uniswap local is working excellent. Running balancer pool information it gives me errors JSON RPC. "Failure querying onchain balances" . Running a infura node in balancer and everything's works. Am I missing some arguments for my local node? Maybe wss ? Could someone post me an example? Also I want graphql enabled so I can run a local blockchain. Thanks
Hello everyone, how to use EVM Cmd test without deploy a smartcontract ?
Chris Piatt
running into an issue with a Geth node I'm running on Kubernetes. The discovery port is set to 1024 instead of 30303 as is standard and intended in this case. I'm now explicitly passing in the --port=30303 flag, but it's not resolving the issue. I'm using a persistent disk for the chaindata, so I'm thinking there's some config file where I could modify to change the discovery port back to 30303 manually there. Is this the case? And where would I find this file/setting? If not, any other suggestions for how to resolve this issue?
Jianru Lin
Hey guys, does the metrics endpoint (--metrics --pprof) work for light clients? All the metrics seem to return 0...
Ravikant sharma
Hey friends
John Krueger
Antony Luvera

Hello, would someone have a solution for this problem ?


@_Anarz_twitter logs are not saved in the DB until the block is fully formed and mined so there is no native way to access logs of pending transactions - one solution i can think of is making a modified endpoint which will be similar to eth_call but will return the full execution result (and maybe some other things) rather than just the rlp encoded return variable
Antony Luvera
@thor-ragnarok Thank you for your answer. So the logs are not saved in the db and therefore are not accessible by the API but they do exist, don't they? Insofar as the pending block is created by the node on which mining is activated, it must have "simulated" the execution of these transactions and therefore have generated logs that are located somewhere, right?
Antony Luvera
@thor-ragnarok Does something like this should work as a custom endpoint?
func (s *PublicBlockChainAPI) GetPendingLogs(ctx context.Context) ([]*types.Log, error) {
    state, _, err := s.b.StateAndHeaderByNumberOrHash(ctx, rpc.PendingBlockNumber)
    if state == nil || err != nil {
        return nil, err
    return state.Logs(), state.Error()
@unflores Yes something like this - i am not so familiar with this codebase though...