return ret_hu_conv;
}
- /**
- * Returns the set of known node features that are related to channels.
- */
- public static NodeFeatures known_channel_features() {
- long ret = bindings.NodeFeatures_known_channel_features();
- if (ret >= 0 && ret <= 4096) { return null; }
- org.ldk.structs.NodeFeatures ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.NodeFeatures(null, ret); }
- if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
- return ret_hu_conv;
- }
-
/**
* Create a blank Features with no features set
*/
return ret_hu_conv;
}
- /**
- * Creates a Features with the bits set which are known by the implementation
- */
- public static NodeFeatures known() {
- long ret = bindings.NodeFeatures_known();
- if (ret >= 0 && ret <= 4096) { return null; }
- org.ldk.structs.NodeFeatures ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.NodeFeatures(null, ret); }
- if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
- return ret_hu_conv;
- }
-
/**
* Returns true if this `Features` object contains unknown feature flags which are set as
* \"required\".