bsc/eth/catalyst
Steven Tran 31463f8dd1
parallel bloom calculation (#445)
* parallel bloom calculation

* indent

* add condition if bloomJobs not nil

* add handler for worker

* fix format

* bloomWorker should exit when all txs have been processed

* rename BloomPair => BloomHash

* add size to map

* rename & unique variable

* bloomJobs => bloomProcessors

* fix

* only assign bloom if empty

* abstraction method for processing receipt bloom

* remove duplicate receipt_processor

* rename Processor

* fix  ReceiptProcessor

* fix ReceiptBloomGenertor typo

* reduce worker to 1

* remove empty wg

* add defence code to check if channel is closed

* remove nil

* format fix

* remove thread pool

* use max 100 worker capacity

* reduce worker size

* refactor startWorker
2021-10-15 16:30:44 +08:00
..
api_test.go [R4R] performance improvement in many aspects (#257) 2021-07-29 17:16:53 +08:00
api_types.go eth/catalyst: add catalyst API prototype (#22641) 2021-04-16 21:29:22 +02:00
api.go parallel bloom calculation (#445) 2021-10-15 16:30:44 +08:00
gen_blockparams.go eth/catalyst: add catalyst API prototype (#22641) 2021-04-16 21:29:22 +02:00
gen_ed.go eth/catalyst: add catalyst API prototype (#22641) 2021-04-16 21:29:22 +02:00