X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FNodeFeatures.ts;h=96f6e286ac9b39357dd8a7d561f305c2322d1f6a;hb=197962d9373b042e0d3434937db9ccf0360489ea;hp=d1427d1a20d5fcd4db84906545b19ba502705368;hpb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;p=ldk-java diff --git a/ts/structs/NodeFeatures.ts b/ts/structs/NodeFeatures.ts index d1427d1a..96f6e286 100644 --- a/ts/structs/NodeFeatures.ts +++ b/ts/structs/NodeFeatures.ts @@ -24,6 +24,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.NodeFeatures_clone_ptr(this.ptr); + return ret; + } + public NodeFeatures clone() { number ret = bindings.NodeFeatures_clone(this.ptr); const ret_hu_conv: NodeFeatures = new NodeFeatures(null, ret); @@ -45,6 +50,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public boolean requires_unknown_bits() { + boolean ret = bindings.NodeFeatures_requires_unknown_bits(this.ptr); + return ret; + } + public boolean supports_payment_secret() { boolean ret = bindings.NodeFeatures_supports_payment_secret(this.ptr); return ret;