-
Notifications
You must be signed in to change notification settings - Fork 20.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Miner info is empty in block #17454
Comments
@APshenkin The miner field in clique algorithm has a different meaning. Basically, the miner (coinbase) field is used to indicate a target address for The signer signature has been included in the For more detail, please take a look at this proposal |
@rjl493456442 Thank you for clarifation. But still no luck to get info about signer address. I can't find any example how to do this.Is there a code snippet, how to get info about address from extraData? |
Here is a code snippet copied from the clique consensus package. I think it should be similar for you to recover the signer address.
|
@rjl493456442 Thanks a lot. Trying to reformat it in JS, but no luck
But address don't match with address on rinkeby.etherscan.io expected So several questions more:
But this hash doesn't match etherscan hash and still no luck with address recover |
Other try
still no luck address is now |
Yes, we should use special rlphash function(the second one is correct). You code seems good to me, have no idea for the incorrect result. Btw, should |
@rjl493456442 So final implemenation with some code cleaning:
Thanks a lot for help! |
Hi!
Trying to get information about blocks. For this I use web3 methods. All information displays normaly expect miner address. Tested in rinkeby network
System information
Geth version:
1.8.13
OS & Version: Linux
Expected behaviour
Miner address should be present in block information
Actual behaviour
Miner address in null
0x0000000000000000000000000000000000000000
Steps to reproduce the behaviour
geth --rpc --rpcaddr 0.0.0.0 --rpcvhosts * --rinkeby --syncmode "fast"
Also found that in "light" mode the same issue appears. Also in "light" mode
getTransaction
return null instead transaction info.So, is Miner address is availible only in "full" sync mode?
Kind regards
The text was updated successfully, but these errors were encountered: