Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finalize Relay Distribution with Streaming Layer and Redis Pubsub Int…
…egration (#113) * implement unoptimized stream * add topic to subscription log * encode decode stream prepending slot * fix main * enable relay-distribution-publish-submissions by default * remove badger init duplicate * add stream cache to main.go * gert rid of publishers * fix publish topic * fix warehouse service log * enable distribution flag * remove debug statement * add state * update streamBlock * add metric for cache hit in GetPayload * add metrics to GetPayload * fix processingTimeMs field * Make stream structs lightweight (#157) * make stream structs lightweight * fix main * resolve todo * remove cache from datastore * fix cache nil pointer * fix nil channels in stream * fix nil pointer block cache stream * add fallthrough to decode * add flag distributed * remove unnecessary flag * add cache hit metric per function * make payload cache multi-slot * put back fast boot flag * set stream queue sizes * fix auctioneer hardcoded const * init relay subscriber * fix block cache stream sub * fix nil pointer panic in non-distributed version * make bid interface add slot to log add json tags to structs make BuilderBidExtended interface fix auctioneer add logs about stream receivals add logs about stream receivals fix nil pointer remove debug * separate pubsub and storage redis * separate read and write redis clients * Per parent MEV (#160) * implement bid capellla ssz encoding * fix bid format * Optimize Stream Functionality and Implement SSZ Encode/Decode for Improved Performance (#164) * add ssz marshal of BlockAndTraceExtended * untested unmarshalSSZ * enable ssz for capella block cache stream * fix ExecutionPayload ssz encoding * add test for block cache ssz encoding * add working test for BlockAndTrace SSZ encoding decoding * refactor BlockAndTraceExtended, so that extension is the taiñ * Correct lib version * fix stream encoding * decode forkFormat * improve encoding decoding * fix relay * refactor bid extended * refactor payload cache counter * add stream publish metrics * Per parent beacon state: withdrawals + randao (#165) * Revert dep to not failing * make randao and withdrawals per parentHash * fix merge * fix build * optimize slot processing * fix randao set * fix mutex pointer * fix infinite loop * fix mutex pointer * fix updateWithdrawalsAndRandao * add log to diff parent blockhash * fix state set * remove unused log fields --------- Co-authored-by: Łukasz Miłkowski <[email protected]> * fix metric for bandwidth * add log of send and receive from stream * add size to log * add field to easily identify events for same stream item * fix function name metric * add log before publishing * add gzip close * clean old maps * add size to block submissions * Additional redis metrics (#167) * add request limit to getHeader * log blockHash * improved err logging on beacon Run --------- Co-authored-by: Łukasz Miłkowski <[email protected]>
- Loading branch information