erigon-pulse/rpc
Andrew Ashikhmin 37ccbc53d6
Refactor payload building (#3592)
* Bump MaxPendingPayloads

* UnknownPayload error

* Improve ExchangeTransitionConfigurationV1 comment

* Extract MakeEmptyHeader

* Move MakeEmptyHeader to chain_makers

* Start with empty block as pending payload

* Only build payloads with the right parent hash

* Double check parent hash in SpawnMiningCreateBlockStage

* Simpler error formatting

* ReadHeadBlockHash instead of ReadHeadHeaderHash

* Avoid rebuilding already built blocks

* getPayload should stop the build process

* Tweaking stageLoopIsBusy

* Don't update pending payload after engine_getPayload
2022-02-23 21:27:38 +01: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 Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
client_example_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
client_test.go Canonical tx ids (#2986) 2021-11-18 14:07:55 +00:00
client.go No json rpc streaming (#2779) 2021-10-05 16:12:43 +07:00
doc.go Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
endpoints.go remove ipc package (#2405) 2021-07-20 15:34:04 +07:00
errors.go Refactor payload building (#3592) 2022-02-23 21:27:38 +01:00
handler.go No json rpc streaming (#2779) 2021-10-05 16:12:43 +07:00
helpers.go Rpcdaemon as lib (#940) 2020-08-19 12:46:20 +01:00
http_test.go enable http body close linter (#2479) 2021-08-02 14:52:54 +07:00
http.go No json rpc streaming (#2779) 2021-10-05 16:12:43 +07:00
inproc.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
ipc.go Apache licensed logger (#2460) 2021-07-29 17:23:23 +07:00
json.go Fixed get-payload and Hanging ForkChoice (#3575) 2022-02-22 14:47:23 +01:00
metrics.go MIT licensed metrics lib (#2462) 2021-07-29 17:27:46 +07:00
server_test.go RPC: support to batch streamable requests 2021-07-16 20:18:55 +07:00
server.go No json rpc streaming (#2779) 2021-10-05 16:12:43 +07:00
service.go Genesis sync from existing snapshots (#3087) 2021-12-05 09:03:08 +07:00
stdio.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
subscription_test.go Inner errors (#2774) 2021-10-04 22:16:52 +07:00
subscription.go rpc: remove silly use of ReadVarint in subscription ID generator (#21391) 2020-08-12 12:44:18 +02:00
testservice_test.go rpc: add --rpc.batch.concurrency flag (#2308) 2021-07-07 10:48:21 +07:00
types_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
types.go Better inputs (#3590) 2022-02-23 13:52:19 +00:00
websocket_test.go rpc: add --rpc.batch.concurrency flag (#2308) 2021-07-07 10:48:21 +07:00
websocket.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00