Add declaration of node metadata regeneration func
Add declaration of node metadata regeneration func

The function declared in this commit will regenerate a node's metadata,
e.g. it's height and the node count.

waysome/libreset,waysome/libreset