public bool Equals(BeaconBlockHeader other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } return(BodyRoot.Equals(other.BodyRoot) && ParentRoot.Equals(other.ParentRoot) && Slot == other.Slot && StateRoot.Equals(other.StateRoot)); }
public override string ToString() { return($"S:{Slot} P:{ParentRoot.ToString().Substring(0, 12)} St:{StateRoot.ToString().Substring(0, 12)} Bd:{BodyRoot.ToString().Substring(0, 12)}"); }
public override string ToString() { return($"s={Slot}_p={ParentRoot.ToString().Substring(0, 10)}_st={StateRoot.ToString().Substring(0, 10)}_bd={BodyRoot.ToString().Substring(0, 10)}"); }