コード例 #1
0
ファイル: BeaconBlock.cs プロジェクト: rlanga/nethermind
 public bool Equals(BeaconBlock other)
 {
     return(Slot == other.Slot &&
            Equals(ParentRoot, other.ParentRoot) &&
            Equals(StateRoot, other.StateRoot) &&
            Equals(Body, other.Body) &&
            Equals(Signature, other.Signature));
 }
コード例 #2
0
 public static int SszLength(BeaconBlock container)
 {
     return(SszDynamicOffset + BeaconBlockBody.SszLength(container.Body));
 }