Generating the precomputation tables for the Lagrange points takes a lot of time. This causes geth to be seemingly idle for 2 to 5 minutes, giving the impression that a problem occurred. This is true, even if the verkle tree isn't activated in geth. This is a show-stopper for merging the geth PR.
As a mitigation strategy, I'd like to be able to generate it only once, and then store that data to the database, to be reloaded later. This PR therefore adds a DeserializePrecomputedLagrange function, that can be used to load said precomputed points from the database.
Generating the precomputation tables for the Lagrange points takes a lot of time. This causes geth to be seemingly idle for 2 to 5 minutes, giving the impression that a problem occurred. This is true, even if the verkle tree isn't activated in geth. This is a show-stopper for merging the geth PR.
As a mitigation strategy, I'd like to be able to generate it only once, and then store that data to the database, to be reloaded later. This PR therefore adds a
DeserializePrecomputedLagrange
function, that can be used to load said precomputed points from the database.Trigger Warning: contains AmericaniZed (AmericaniZee?) spelling.