snarkOS icon indicating copy to clipboard operation
snarkOS copied to clipboard

Cache current_block_locators and update it when add_next_block

Open ghostant-1017 opened this issue 3 years ago • 0 comments

Motivation

This pr will decrease times of calling block locators when the node is stable。However get_block_locators will be callled when a add_next_block is called,and slow down the sync speed。 Maybe exist a better way to do this。

ghostant-1017 avatar Dec 05 '22 07:12 ghostant-1017