X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FChannelDetails.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FChannelDetails.java;h=0a2fbb4801b7c8ae8acc59f1af9308ee7b39dc43;hb=c45b91b3165ba0ff774d12d357188cae979574d3;hp=2f34454ccda21400ba7c215d01d63398ada02409;hpb=ad6b4ed4fb492ae96d1771e9fbac03950e6f5c0e;p=ldk-java diff --git a/src/main/java/org/ldk/structs/ChannelDetails.java b/src/main/java/org/ldk/structs/ChannelDetails.java index 2f34454c..0a2fbb48 100644 --- a/src/main/java/org/ldk/structs/ChannelDetails.java +++ b/src/main/java/org/ldk/structs/ChannelDetails.java @@ -39,6 +39,25 @@ public class ChannelDetails extends CommonBase { bindings.ChannelDetails_set_channel_id(this.ptr, val); } + /** + * The position of the funding transaction in the chain. None if the funding transaction has + * not yet been confirmed and the channel fully opened. + */ + public Option_u64Z get_short_channel_id() { + long ret = bindings.ChannelDetails_get_short_channel_id(this.ptr); + Option_u64Z ret_hu_conv = Option_u64Z.constr_from_ptr(ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + + /** + * The position of the funding transaction in the chain. None if the funding transaction has + * not yet been confirmed and the channel fully opened. + */ + public void set_short_channel_id(Option_u64Z val) { + bindings.ChannelDetails_set_short_channel_id(this.ptr, val.ptr); + } + /** * The node_id of our counterparty */