erigon-pulse/consensus
battlmonstr 3698e7f476
devnet: configuration fixes (#8592)
* fix "genesis hash does not match" when dev nodes connect  
The "dev" nodes need to have the same --miner.etherbase in order to
generate the same genesis ExtraData by DeveloperGenesisBlock(). Override
DevnetEtherbase global var that's used if --miner.etherbase is not
passed. (for NonBlockProducer case)

* fix missing private key for the hardcoded DevnetEtherbase  
Fixes panic if SigKey is not found. Bor non-producers will use a default
`DevnetEtherbase` while Dev nodes modify it. Save hardcoded
DevnetEtherbase/DevnetSignPrivateKey into accounts so that SigKey can
recover it.

* refactor devnet.node to contain Node config  
This avoids interface{} type casts and fixes an error with
Heimdall.validatorSet == nil

* add connection retries to rpcCall and Subscribe of requestGenerator  
Fixes "connection refused" errors due to node not ready to handle early
RPC requests.

* fix deadlock in Heimdall.NodeStarted

* fix GetBlockByNumber
Fixes "cannot unmarshal string into Go struct field body.transactions of
type jsonrpc.RPCTransaction"

* demote "no of blocks on childchain is less than confirmations
required" to Info (#8626)

* demote "mismatched pending subpool size" to Debug (#8615)

* revert wiggle testing code
2023-11-01 11:08:47 +01:00
..
aura Numerical instead of lexicographic sorting in borKeyValueConfigHelper (#8560) 2023-10-23 14:11:32 +02:00
bor devnet: configuration fixes (#8592) 2023-11-01 11:08:47 +01:00
clique Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
ethash Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
merge Revert "Move validator set snapshot computation to bor_heimdall stage… (#8580) 2023-10-25 14:02:31 +02:00
misc Configure EIP-4844 parameters for Gnosis (#8464) 2023-10-13 11:43:16 +02:00
chain_reader.go Revert "Move validator set snapshot computation to bor_heimdall stage… (#8580) 2023-10-25 14:02:31 +02:00
consensus.go Revert "Move validator set snapshot computation to bor_heimdall stage… (#8580) 2023-10-25 14:02:31 +02:00
errors.go Don't mark blocks as bad on transient errors (#8197) 2023-09-17 11:14:36 +02:00
result.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00