Пример #1
0
 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));
 }