erigon-pulse/rpc
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
..
rpccfg rcpdaemon, erigon: add --rpc.evmtimeout flag (#5395) 2022-09-17 13:25:27 +07:00
testdata RPC: batch - preserve order, streaming to in-mem buf (#2541) 2021-08-19 09:26:06 +07:00
allow_list_test.go Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
allow_list.go rpc: fix implemented filter methods being forbidden (#5801) 2022-10-26 09:08:09 +07:00
client_example_test.go Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
client_test.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
client.go Diag session routing (#8232) 2023-09-25 16:24:17 +01:00
doc.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
endpoints.go remove ipc package (#2405) 2021-07-20 15:34:04 +07:00
errors.go Support engine_forkchoiceUpdatedV3 with ParentBeaconBlockRoot (EIP-4788) (#7969) 2023-08-06 11:54:14 +02:00
handler_test.go check for nil before returning invalid json in rpc streaming calls (#7104) 2023-03-14 11:07:53 +00:00
handler.go rpc service and stageloop logger updates (#7696) 2023-06-10 07:39:39 +01:00
helpers.go Rpcdaemon as lib (#940) 2020-08-19 12:46:20 +01:00
http_test.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
http.go devnet: configuration fixes (#8592) 2023-11-01 11:08:47 +01:00
inproc.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
ipc.go Apache licensed logger (#2460) 2021-07-29 17:23:23 +07:00
json.go Diag session routing (#8232) 2023-09-25 16:24:17 +01:00
metrics.go Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
server_test.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
server.go Diag session routing (#8232) 2023-09-25 16:24:17 +01:00
service.go rpc service and stageloop logger updates (#7696) 2023-06-10 07:39:39 +01:00
stdio.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
subscription_test.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
subscription.go add eth_getFilterLogs, fix filter subscription ids (#6514) 2023-02-06 10:18:10 +07:00
testservice_test.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
types_test.go reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
types.go Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
websocket_bench_test.go Caplin block persistence (#7941) 2023-08-09 01:21:19 +02:00
websocket_test.go [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
websocket.go devnet: configuration fixes (#8592) 2023-11-01 11:08:47 +01:00