+ /**
+ * For an already known (from announcement) channel, verify the given [`ChannelUpdate`].
+ *
+ * This checks whether the update currently is applicable by [`Self::update_channel`].
+ *
+ * If built with `no-std`, any updates with a timestamp more than two weeks in the past or
+ * materially in the future will be rejected.
+ */
+ public verify_channel_update(msg: ChannelUpdate): Result_NoneLightningErrorZ {
+ const ret: bigint = bindings.NetworkGraph_verify_channel_update(this.ptr, msg == null ? 0n : CommonBase.get_ptr_of(msg));
+ const ret_hu_conv: Result_NoneLightningErrorZ = Result_NoneLightningErrorZ.constr_from_ptr(ret);
+ CommonBase.add_ref_from(this, msg);
+ return ret_hu_conv;
+ }
+