Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info

Hi Guys, I got a simple question

The Transaction object in go ethereum doesn't seem to have a from address so where do I get it from?

Also what function of Transaction struct I need to call to get input? is transaction.Data()
It appears to be encoded with other data in the input.
what function i need to call to decode?
how do I use abi to decode input or is there any other easier way?
Actually I just need the from just like JSON RPC API . somehow, with ethclient in golang not sure how to achieve
tried this already
msg, err := transaction.AsMessage(types.NewEIP155Signer(transaction.ChainId()), nil)
I get this
2021/07/05 05:20:40 transaction type not supported
so is there any easy way to get from?

i have a question on pendingTransactions API
This line on the geth code


Why is this API only display the pending transactions of the accounts local to the node? Whats the reasoning behind this?

@BlockXXebu I am not an ethereum expert however I believe pending transactions are always local to a node because of gossip protocol and decentralized nature. other words, there isn't a way to get a global snapshot of all ethereum nodes running all over the world
when a transaction hits a particular node, it will broadcast to its peers (I think in ethereum case it is about 8 or 11 other peers) and those peers will broadcast to their peers and so on..so pending transaction at any give time is going to be different across nodes
what is the difference between txpool vs pending transaction returned by ethclient.TransactionByHash?

thanks for the answer @kant777
my question now is, how did etherscan did it to display pending transactions? I believe eth_pendingTransactions is no longer usable as it is also removed in the RPC API definition here

I assume they use subscribe, filter or websockets right?

@BlockXXebu I stumbled upon the same link yesterday. And looks like it is not documented in that link see here https://geth.ethereum.org/docs/rpc/pubsub
Hi guys, I've setup a Geth node for the first time and it's working fine
but I'm really confused about one thing to do with my node
The txpool is filled with transactions from 2 different addresses
as in the txpool queue and txpool pending are mainly full with transactions from just 2 addresses, which seems odd to me
is there a way to limit the number of pending/queued transactions a single address can have?
Tengfei Niu
Hey guys, I don't know if it's the right place to ask, what's the limit of calldata' size?
How to disable logging of WARN: Served eth_call ...?
I guess its rpc/handler.go, tried --vmodule=api=0,rpc=0 - no luck
mrb friends i am in a very difficult situation i am in a very difficult situation i have food at home if you can help god be with you please if i am not in a difficult situation i would not want it e erc20 my address is 0x94bd8969538368cef1b45b370324b69e73168c2b
That's terrible. I saw a couple of guys offering 2 ETH for anyone who sends 1 ETH to their address. Yeah, check them out. lol.

That's terrible. I saw a couple of guys offering 2 ETH for anyone who sends 1 ETH to their address. Yeah, check them out. lol.

thank you


Hi all! Running a Geth PoA (Clique) node - private chain on AWS.

upon reboot have lost last 6 weeks worth of blocks (about 1.5m blocks) - my understanding this is due to our blocks being lightweight enough to be stored in cache, it seems current workaround people use is to gracefully restart nodes on daily basis to make sure they dump state from RAM to HD

anyway, on the same node after reboot keeps repeating "😱 block lost" messages

Google hasn't rendered anything useful. Has anyone stumbled upon same issue?

0x3845c67DcB97ec8B45304457cB39d34aE7E915F7 can i get s0ome test eth ? anyone ? PLEASEEEEE
Let's explore ways we might be able to help each other grow
Mindaugas Rolius
Hello, my node on ropsten testnet is crashing when trying to sync, is there any ways to fix without resyncing?
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1c0 pc=0xb2200f]
goroutine 2304 [running]:
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).findAncestorBinarySearch(0xc002636700, 0xc001ddfc70, 0x1, 0xa2d955, 0x9f9671, 0x9f9671, 0x0, 0x156ebe0)
github.com/ethereum/go-ethereum/eth/downloader/downloader.go:966 +0x58f
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).findAncestor(0xc002636700, 0xc001ddfc70, 0xc0038b26c0, 0xc0038b2b40, 0x0, 0x0)
github.com/ethereum/go-ethereum/eth/downloader/downloader.go:818 +0x3a5
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer(0xc002636700, 0xc001ddfc70, 0xe517c956b75143e0, 0xf3c8a586575d15ea, 0xdaf8486603b67a31, 0x55502068afd14354, 0xc0025ff8a0, 0x0, 0x0)
github.com/ethereum/go-ethereum/eth/downloader/downloader.go:475 +0x517
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).synchronise(0xc002636700, 0xc00338b1c0, 0x40, 0xe517c956b75143e0, 0xf3c8a586575d15ea, 0xdaf8486603b67a31, 0x55502068afd14354, 0xc0025ff8a0, 0xc000000001, 0x0, ...)
github.com/ethereum/go-ethereum/eth/downloader/downloader.go:431 +0x3b0
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).Synchronise(0xc002636700, 0xc00338b1c0, 0x40, 0xe517c956b75143e0, 0xf3c8a586575d15ea, 0xdaf8486603b67a31, 0x55502068afd14354, 0xc0025ff8a0, 0xc000000001, 0xd9a88e, ...)
github.com/ethereum/go-ethereum/eth/downloader/downloader.go:326 +0x8c
github.com/ethereum/go-ethereum/eth.(*handler).doSync(0xc0035ff700, 0xc06987e000, 0x1437c40, 0xc0099ce380)
github.com/ethereum/go-ethereum/eth/sync.go:324 +0x125
github.com/ethereum/go-ethereum/eth.(*chainSyncer).startSync.func1(0xc009951830, 0xc06987e000)
github.com/ethereum/go-ethereum/eth/sync.go:300 +0x38
created by github.com/ethereum/go-ethereum/eth.(*chainSyncer).startSync
github.com/ethereum/go-ethereum/eth/sync.go:300 +0x76
Can anyone tell me how to save some DAI and get the interest?
Xernes Technologies
can anyone send me some test ether.. my account is 0x4c4F78C0628A11E70a6912cA9093939Bcb0Ed22F
Xernes Technologies
Hi, I started downloading mainnet with a pretty average SSD (i.e gp3 AWS EBS), it was taking forever +1 week in fast sync mode ('Imported new state entries' is now at 'processed=865,640,323'), I have now switched to an NVMe SSD and copied across the geth directory so it can finish off the initialization. I was hoping it would zip right through it, however its still pretty slow. Should I start again or wait? Any suggestions....
Amazing Kid
Please can anyone gift me some testnet ETH
My address is 0xEe1C6bd1f76fF07106FDadd16FC382572C339f3f
Thanks in advance any good Samaritan 🙏🙏
Is it possible to get a genesis.json to run a private geth, what exactly should it look like after the berlin hard fork ?
femi omoshona
I need an help guys i try running my compile file and it give these error
compile error.PNG
Excuse me, can some one gift me some goerli test ETH please, my account is 0xF60bB0461F09aC1dfe41c2fb927C05065E878F4a, please🙏
Michail Lelyah
Ever heard of an investment company with full ESCROW service ??
You can never loose out on your cash because your investments are locked in and backed by an escrow company, everything is legit and you get complete returns on your investment.
Join now
is this channel just spam or is there anyone real here?
femi omoshona
I remove the 1 but still didn’t work as expected. The goal is of my compiling is to create two files which are campaign.json and campaignFactory.json inside the build folder, the build folder is right inside the ethereum directory.
i keep getting this error and i observed that it delete my build folder which is support to contain campaign.json and campaignFactory.json file