pub fn new_with_replica_version(
        version: ReplicaVersion,
        parent: CryptoHashOf<Block>,
        payload: Payload,
        height: Height,
        rank: Rank,
        context: ValidationContext,
    ) -> Self {
        Block {
            version,
            parent,
            payload,
            height,
            rank,
            context,
        }
    }
/// Create a new block of a particular replica version
Create a new block of a particular replica version
Create a new block of a particular replica version
pub fn new_with_replica_version(
        version: ReplicaVersion,
        parent: CryptoHashOf<Block>,
        payload: Payload,
        height: Height,
        rank: Rank,
        context: ValidationContext,
    ) -> Self {
        Block {
            version,
            parent,
            payload,
            height,
            rank,
            context,
        }
    }
pub fn new_with_replica_version ( version : ReplicaVersion , parent : CryptoHashOf < Block > , payload : Payload , height : Height , rank : Rank , context : ValidationContext , ) -> Self { Block { version , parent , payload , height , rank , context , } }
Create a new block of a particular replica version
Create a new block of a particular replica version
version
ReplicaVersion
parent
CryptoHashOf<Block>
payload
Payload
height
Height
rank
Rank
context
ValidationContext
version
ReplicaVersion
parent
CryptoHashOf<Block>
payload
Payload
height
Height
rank
Rank
context
ValidationContext