Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Haseeboy
@SyedhaseebSaeed_twitter
hi there I'm facing a issue when making request to geth node
curl: (7) Failed to connect to 39.53.117.254 port 8545: Connection refused
I'm getting this error please help. Thanks in advance
frank
@jiyilanzhou
how can i get kovan eth
Ian Dorion
@Madeindreams
Yeah frank How?
been trying to get some for a week now
Sebastian Jylanki
@sjlnk
I ran into this running 1.9.21: ethereum/go-ethereum#22676
Now I upgraded to the latest version (1.10.3). Can I sync the chain from where I left off or do I need to restart syncing from scratch?
I'm getting Resuming state snapshot generation and Aborting state snapshot generation messages.
I also get Imported new chain segment messages.
eth_syncing JSON RPC call returns None, meaning not syncing. However, the state is all messed up, unusable.
3 replies
Dimitri Saingre
@Prygan
Hi all, I have a question about Ethereum data storage: are both transactions and state stored in the same database (in .ethereum/geth/chaindata folder ?)? Can I measure space taken by state data only (without counting space taken by transactions nor storage)?
tota999
@tota999
0x4Ad0c9BDbC98A8f936e76a901E61F354B71cEF0C
Eth-Gitter-Bridge
@Eth-Gitter-Bridge

<Ori Pomerantz> I need help. How do I calculate logsHash? I know it is keccak256(rlp(<list of log entries>)), but how do I get the format for log entries? These code fragments seem relevant, but I don't know how to interpret them:

LogsHash:    rlpHash(statedb.Logs()),

Is how it gets logsHashes.

func (s *StateDB) Logs() []*types.Log {
 var logs []*types.Log
 for _, lgs := range s.logs {
  logs = append(logs, lgs...)
 }
 return logs
}

I assume this creates a list of logs

return types.Log{
  Address:     common.HexToAddress("0x0"),
  Topics:      topics,
  Data:        hexutil.MustDecode(hexData),
  BlockNumber: uint64(26),
  TxHash:      txHash,
  TxIndex:     111,
  BlockHash:   common.BytesToHash([]byte{1, 2, 3, 4, 5}),
  Index:       7,
  Removed:     false,
 }

I know that the log entries have Address, Topics, and Data, but I tried all six permutations and didn't get correct results.

func rlpHash(x interface{}) (h common.Hash) {
 hw := sha3.NewLegacyKeccak256()
 rlp.Encode(hw, x)
 hw.Sum(h[:0])
 return h
}

I assume this just calculates keccak256(rlp(h))

Nam Trần Thanh
@nam05062000_gitlab
Hello guys, need someone who can give me some advices about the topic of a project. I don't have any idea.
zillerium
@zillerium
I used to use ethereum from 2016 - 2018. I am thinking of returning. I heard it all changed a lot. After 2018 I worked mostly with Hyperledger Fabric. Are there are good resources for getting up to speed with Ethereum in 2021?
1 reply
Igor
@ikgo
hi, running geth full node ver. 1.10.2-stable
stack with peerCount: 16
add peers manually, no success. peerCount remains 16
please help to fix the problem
Kamin Prommas
@owen.kamin_gitlab

So er... I'm using Geth ver 1.9.20 in my local network, with PoA clique, and it doesn't seem like the flag --gasprice actually set the minimum gas price.
For example if I set --miner.gasprice to 1, when I send a transaction with 0 gas it still goes through (Using metamask).
Is there any reason or configuration somewhere else that might interfere with this? That I may have missed?

gas limit in genesis //seems unlikely (currently set it to 80000000)
geth version?
the 0x0000000000 signer bug?
or the clique itself
Seriously have no idea what could cause this problem, any help would be appreciated...

1 reply
Noah
@noahsilverman
Question for the devs: In state_transition.go, the function TransitionDb(). The return value is a slice of bytes. What exactly does that represent? Is there any map for the format of the contents?
Dror Bletter
@voodoodror
hi i'm running latest stable version, my geth crashes every once in a while because of out of memory
that's my cmdline - ExecStart=/usr/local/bin/geth --nousb --http --http.addr 0.0.0.0 --http.port 8545 --http.api personal,eth,net,web3 --datadir /storage --cache 10000
root@ip-172-31-0-212:~# free -mh
total used free shared buff/cache available
Mem: 15G 14G 154M 175M 1.0G 696M
Swap: 0B 0B 0B
eyooooo
@eyooooo
are we allowed to complain about BSC Geth in here?
Petrovichev Sergey
@petrovi4ev
Hello, after the Berlin update, the ether node was re-synced, and frozen transactions were found. I don’t know for what reason, but they had the wrong nonce, so these transactions were canceled. But after the cancellation procedure (we used the trick with sending 0 ether), they hang in the waiting status for quite a long time, for more than an hour. Should I be worried or should I wait?
2 replies
Bret Carpenter
@bretcarpenter
Hello
Ali Gordon
@Ali_Gordon79_twitter
Hey everyone, I'm a bit lost and looking for some advice on purchases coin not showing in my trust wallet... any advice on what to do? I'm very new to this...
Karl Anthony B. Baluyot
@kabaluyot
Hello. I've been maintaining a geth private-ethereum network. What is the best way to separate the production and staging environment? Right now our staging and production are using the same contract address and smart contract ... Thank yo u
cseongeun
@cseongeun

hi all, i need help.

I have the mainnet node
It is running with the following geth execution command.
(geth v1.10.2)

 ./geth \
--rpc \
--rpcaddr "0.0.0.0" \
--rpc.allow-unprotected-txs \
--rpcport 8000 \
--datadir "/ethereum-data" \
--maxpeers 50 \
--cache=4096 \
--rpcapi "eth,web3,debug" \
--txpool.accountslots 500 \
--txpool.globalslots 50000 \
--txpool.locals "0xabc...,0xdef..."

If multiple attempts are made to propagate a transaction using rpc calls to the node, sometimes the transaction disappears.

In this case, my solution is to turn off the node and run it again. If run it again, the lost transaction will be propagated again.

Could you please tell me a solution to this problem?

1 reply
Italo Casas
@italoacasas
Hi everyone, when building go-ethereum I seeing this error
github.com/karalabe/usb
# gopkg.in/olebedev/go-duktape.v3
In file included from _cgo_export.c:4:
debugger.go:23:13: warning: unused function '_duk_debugger_attach' [-Wunused-function]
# github.com/karalabe/usb
vendor/github.com/karalabe/usb/hid_enabled.go:22:10: fatal error: './hidapi/hidapi/hidapi.h' file not found
#include "./hidapi/hidapi/hidapi.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I'm new in the codebase, trying to see if someone is familiar with this error
Valentin Secades Mendez
@vsecades
Hi guys. Need a bit of help with this:
Error: The following arguments were not expected: http://127.0.0.1:8545 -p
The above when trying to mine
Dani Gorbaciov
@danigorbaciov
super
Valentin Secades Mendez
@vsecades
All right, figured myself out.
Adam Saparudin
@adamsaparudin
anyone know why elapsed time download latest block take long time? more than 10seconds
FomoApe
@FomoApe

Hi

New to geth and Eth in general I was wondering if someone could give me some pointers on how I can use Geth to track specific transactions in the mempool. At the moment I'm thinking the place I need to go to is the txpool Namespace, but that returns a firehose of data which is not what I'm looking for

Bret Carpenter
@bretcarpenter
Hello
Perplexed?
@1Airam14_twitter
0x9c532d971a02e80856520e83c1bcf8830abef446 a thief hacker operi into MyEtherWallet and NetMask together ! Warn!
fastd
@fastd:matrix.org
[m]
Would anyone know how to simulate a smart contract call before calling it? I am only interested in if it fails or not.
I've been looking at backends.SimulatedBackend, but I am not quite sure
小Q
@xiaoqge
https://etherscan.io/address/0x26eab902725342208bc79c5bfa2c5fe795f7aed6 Hello everyone, why does this address only transfer out but not transfer in? Where does the ether for this account come from?
1 reply
fastd
@fastd:matrix.org
[m]
小Q
@xiaoqge
@fastd:matrix.org Sorry I sent the wrong address, what I want to say is this address
image.png
Why only transfer out and not transfer in
小Q
@xiaoqge
Can someone help me? thank you very much
小Q
@xiaoqge
image.png