Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Kurth Alexandre
@kurthalex_twitter
"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
@kurthalex_twitter
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
@Alko89

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

AusIV
@AusIV
@kurthalex_twitter - You can fast sync, then restart your node with --gcmode=archive - I do it all the time
Kurth Alexandre
@kurthalex_twitter
Thank you :-)
btclinux
@btclinux
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
@MariusVanDerWijden
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.
zeoio
@zeoio
block lost number=1834749 hash="aaf9e1…21e72a"
Does anyone know the cause of this error ?
Bob P
@snek1_gitlab
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
@snek1_gitlab
If I stop geth to change command flags, can I restart it to sync again quickly?
ldeffenb
@ldeffenb
@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
@snek1_gitlab
Ok cool, thanks
Kike de la Calle
@KikedelaCalle1_twitter
Hello, someone have some rinkeby eth to send me? none of the faucets are working
0xf0Ae4377bbA67801A8a8CaB2bF40777700d8350E
Baron Wilhelm Stein
@WilhelmStein
Is the memory json object returned by the debug_traceTransaction json-rpc call, a list whose items are 32-byte values?
DeepalUsyD
@DeepalUsyD
Hi, Is there a way to retrieve raw transactions from a geth node?
btclinux
@btclinux
@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
@MariusVanDerWijden
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.
Rafieza
@Rafieza
Hello can I please have some ether. 0x79c5fe7D568D6Eb605f99Da581621003fAAfE84e Thank you
Konstantin P.
@CooleRnax
I'm running uniswap arbitrage strategies, if anyone interested in collaboration, pm me.
Hooliganos
@Hooliganos
0xE099550D299777e41f6028f5761a68b45A1f96aC Please, I need test ETH
RED29
@RED29
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
pleasant-doraemon
@mingjingc
Hello everyone, how to use EVM Cmd test without deploy a smartcontract ?
Chris Piatt
@pyython
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?
r/crtn32002
@workfilemmfloe
Jianru Lin
@Jianru-Lin
hi
Roshan
@roshanr95
Hey guys, does the metrics endpoint (--metrics --pprof) work for light clients? All the metrics seem to return 0...
Ravikant sharma
@ravi99609680_twitter
Hey friends
John Krueger
@jkrueger721
hello
Antony Luvera
@_Anarz_twitter

Hello, would someone have a solution for this problem ?

https://ethereum.stackexchange.com/questions/88167/pending-transactions-logs-issue

IK
@thor-ragnarok
@_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
@_Anarz_twitter
@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
@_Anarz_twitter
@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()
}
IK
@thor-ragnarok
@unflores Yes something like this - i am not so familiar with this codebase though...
@_Anarz_twitter ^ dry pinged the wrong person -.-
Sry* - and I have fat fingers
Christian Seberino
@cseberino
Anyone know about full stack solutions to actually roll out a token? What I mean is....I know how to deploy an ERC20 smart contract...However, I think you'd agree there are tons of other parts to the execution if someone like a restaurant wants to do their own coin!? Like.....How sell the tokens in a secure manner to the public? How implement something like gift cards? What wallet to use? etc. Any advice?
Sagato
@Sagato
Hello Peepz
Sagato
@Sagato
I started a geth node on my win machine and am trying to connect via web3.js from my mac to the node on my windows machine. How do I get the connection established? AAnyone here who can help?