minter-go-node
minter-go-node copied to clipboard
Handle computation of stakes in parallel
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