Go to the source code of this file.
◆ AreOnTheSameFork()
Check if two block index are on the same fork.
Definition at line 140 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 93 of file chain.cpp.
◆ GetLocator()
Get a locator for a block index entry.
Definition at line 45 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 116 of file chain.cpp.
◆ LocatorEntries()
Construct a list of hash entries to put in a locator.
Definition at line 21 of file chain.cpp.