节选自 bitcoin/src/main.h,完整保留这段连续注释。可在下方打开原始文件核对前后代码。
文件署名:Satoshi Nakamoto · 2009-01 发布包
原文件的独立写作时间未注明。
//
// 区块链是一个以创世区块为根的树状结构,
// 每个区块都可能有多个候选后继区块。
// pprev 和 pnext 在主链/最长链上连出一条路径。
// 一个 blockindex 可以有多个 pprev 指针指回它,
// 但 pnext 只会向前指向最长的分支;
// 如果该区块不属于最长链,pnext 就为空。
//
//
// The block chain is a tree shaped structure starting with the
// genesis block at the root, with each block potentially having multiple
// candidates to be the next block. pprev and pnext link a path through the
// main/longest chain. A blockindex may have multiple pprev pointing back
// to it, but pnext will only point forward to the longest branch, or will
// be null if the block is not part of the longest chain.
//