*
* Successfully routing through a channel will immediately cut the penalty in half as well.
*
+ * Default value: 1 hour
+ *
* # Note
*
* When built with the `no-std` feature, time will never elapse. Therefore, this penalty will
*
* Successfully routing through a channel will immediately cut the penalty in half as well.
*
+ * Default value: 1 hour
+ *
* # Note
*
* When built with the `no-std` feature, time will never elapse. Therefore, this penalty will
return ret_hu_conv;
}
+ long clone_ptr() {
+ long ret = bindings.ScoringParameters_clone_ptr(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Creates a copy of the ScoringParameters
+ */
+ public ScoringParameters clone() {
+ long ret = bindings.ScoringParameters_clone(this.ptr);
+ Reference.reachabilityFence(this);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ ScoringParameters ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new ScoringParameters(null, ret); }
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
/**
* Serialize the ScoringParameters object into a byte array which can be read by ScoringParameters_read
*/