bindings updates
[ldk-java] / ts / structs / KeysInterface.ts
1         public byte[] get_node_secret() {
2                 byte[] ret = bindings.KeysInterface_get_node_secret(this.ptr);
3                 return ret;
4         }
5
6         public byte[] get_destination_script() {
7                 byte[] ret = bindings.KeysInterface_get_destination_script(this.ptr);
8                 return ret;
9         }
10
11         public byte[] get_shutdown_pubkey() {
12                 byte[] ret = bindings.KeysInterface_get_shutdown_pubkey(this.ptr);
13                 return ret;
14         }
15
16         public ChannelKeys get_channel_keys(boolean inbound, long channel_value_satoshis) {
17                 uint32_t ret = bindings.KeysInterface_get_channel_keys(this.ptr, inbound, channel_value_satoshis);
18                 ChannelKeys ret_hu_conv = new ChannelKeys(null, ret);
19                 ret_hu_conv.ptrs_to.add(this);
20                 return ret_hu_conv;
21         }
22
23         public byte[] get_secure_random_bytes() {
24                 byte[] ret = bindings.KeysInterface_get_secure_random_bytes(this.ptr);
25                 return ret;
26         }
27
28         public Result_ChanKeySignerDecodeErrorZ read_chan_signer(byte[] reader) {
29                 uint32_t ret = bindings.KeysInterface_read_chan_signer(this.ptr, reader);
30                 Result_ChanKeySignerDecodeErrorZ ret_hu_conv = Result_ChanKeySignerDecodeErrorZ.constr_from_ptr(ret);
31                 return ret_hu_conv;
32         }
33
34 }