public static Checkpoint FromNative(Knuth.Native.Config.Checkpoint native) { var res = new Checkpoint(); res.Height = native.height; res.Hash = native.hash.hash; return(res); }
public Knuth.Native.Config.Checkpoint ToNative() { var native = new Knuth.Native.Config.Checkpoint(); native.height = this.Height; native.hash.hash = this.Hash; return(native); }