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