// structure used to rank/sort  blocks on a number of factors
type BlockScore struct {
    BLID crypto.Hash
    // Weight uint64
    Height                int64    // block height
    Cumulative_Difficulty *big.Int // used to score blocks on cumulative difficulty
}

区块权重,应该会影响排序。

results matching ""

    No results matching ""