Input(s) 0
Returns details about the various block tree tips, including their hieght, hash, length of the branch connecting to the main chain, and their status, such as active, valid fork, or invalid.
How is this used?
Imagine you're exploring a forest that has multiple paths leading in different directions. Some paths connect back to the main trail, while others are dead ends or less traveled and become overgrown. In the Bitcoin blockchain, the 'getchaintips' command helps you understand the layout of this forest by showing you all the known 'paths' or tips in the block tree. This includes the main path (the active blockchain), as well as all the side trails (orphaned branches and forks) that have formed over time. Each tip is detailed by its height (how long the path is), hash (a unique identifier), the length of the branch connecting it to the main chain, and its status (whether it's the active path, a valid but not chosen fork, or an invalid path).
Request
method
getchaintips
Inputs
Result