plugeth/cmd
Martin Holst Swende 84c51bc5ec
cmd/evm: add difficulty calculation to t8n tool (#23353)
This PR adds functionality to the evm t8n to calculate ethash difficulty. If the caller does not provide a currentDifficulty, but instead provides the parentTimestamp (well, semi-optional, will default to 0 if not given), and parentDifficulty, we can calculate it for him.

The caller can also provide a parentUncleHash. In most, but not all cases, the parent uncle hash also affects the formula. If no such hash is provided (or, if the empty all-zero hash is provided), it's assumed that there were no uncles.
2021-08-25 15:04:26 +02:00
..
abidump signer/core: move API JSON types to separate package (#23275) 2021-07-29 16:06:44 +02:00
abigen cmd/abigen: clarify abigen alias flag usage (#21875) 2020-12-12 17:36:32 +01:00
bootnode les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
checkpoint-admin cmd/clef: change --rpcport to --http.port and update flags in docs (#21318) 2020-07-14 10:35:32 +02:00
clef node, cmd/clef: remove term "whitelist" (#23296) 2021-08-02 15:43:01 +02:00
devp2p Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
ethkey accounts/keystore: use github.com/google/uuid (#22217) 2021-02-26 15:28:34 +01:00
evm cmd/evm: add difficulty calculation to t8n tool (#23353) 2021-08-25 15:04:26 +02:00
faucet cmd/faucet: disable flaky facebook test (#22988) 2021-06-03 14:35:40 +02:00
geth cmd/utils: fix typo in variable name (#23451) 2021-08-24 21:54:00 +03:00
p2psim node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
puppeth all: change blacklist terms 2021-07-29 11:17:40 +03:00
rlpdump cmd/rlpdump: allow hex input to have leading '0x' 2017-10-27 09:40:52 +01:00
utils cmd/utils: fix typo in variable name (#23451) 2021-08-24 21:54:00 +03:00