minter-go-node icon indicating copy to clipboard operation
minter-go-node copied to clipboard

Handle computation of stakes in parallel

Open danil-lashin opened this issue 7 years ago • 0 comments

Currently stake values re-computed each 12 blocks. In worst case node should calculate 256x3x1 000=768 000 values. This can and should be done in parallel.

https://github.com/MinterTeam/minter-go-node/blob/dd284db4d3f5eb67cdc740048fda00b4257da69c/core/state/statedb.go#L926-L956

danil-lashin avatar Nov 13 '18 10:11 danil-lashin