Go to the source code of this file.
◆ AreOnTheSameFork()
Check if two block index are on the same fork.
Definition at line 139 of file chain.cpp.
◆ GetBlockProof()
◆ GetBlockProofEquivalentTime()
Return the time it would take to redo the work difference between from and to, assuming the current hashrate corresponds to the difficulty at tip, in seconds.
Definition at line 92 of file chain.cpp.
◆ LastCommonAncestor()
Find the last common ancestor two blocks have.
Find the forking point between two chain tips.
Both pa and pb must be non null.
Definition at line 115 of file chain.cpp.