@@ -202,6 +202,11 @@ public final static class SendShortIdsQuery extends LDKMessageSendEvent {
202202 public long msg ;
203203 SendShortIdsQuery (byte [] node_id , long msg ) { this .node_id = node_id ; this .msg = msg ; }
204204 }
205+ public final static class SendReplyChannelRange extends LDKMessageSendEvent {
206+ public byte [] node_id ;
207+ public long msg ;
208+ SendReplyChannelRange (byte [] node_id , long msg ) { this .node_id = node_id ; this .msg = msg ; }
209+ }
205210 static native void init ();
206211 }
207212 static { LDKMessageSendEvent .init (); }
@@ -758,6 +763,7 @@ public interface LDKChannelMessageHandler {
758763 void peer_disconnected (byte [] their_node_id , boolean no_connection_possible );
759764 void peer_connected (byte [] their_node_id , long msg );
760765 void handle_channel_reestablish (byte [] their_node_id , long msg );
766+ void handle_channel_update (byte [] their_node_id , long msg );
761767 void handle_error (byte [] their_node_id , long msg );
762768 }
763769 public static native long LDKChannelMessageHandler_new (LDKChannelMessageHandler impl , LDKMessageSendEventsProvider MessageSendEventsProvider );
@@ -797,6 +803,8 @@ public interface LDKChannelMessageHandler {
797803 public static native void ChannelMessageHandler_peer_connected (long this_arg , byte [] their_node_id , long msg );
798804 // void ChannelMessageHandler_handle_channel_reestablish LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKChannelReestablish *NONNULL_PTR msg
799805 public static native void ChannelMessageHandler_handle_channel_reestablish (long this_arg , byte [] their_node_id , long msg );
806+ // void ChannelMessageHandler_handle_channel_update LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKChannelUpdate *NONNULL_PTR msg
807+ public static native void ChannelMessageHandler_handle_channel_update (long this_arg , byte [] their_node_id , long msg );
800808 // void ChannelMessageHandler_handle_error LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKErrorMessage *NONNULL_PTR msg
801809 public static native void ChannelMessageHandler_handle_error (long this_arg , byte [] their_node_id , long msg );
802810 public interface LDKRoutingMessageHandler {
@@ -1688,6 +1696,10 @@ public interface LDKSocketDescriptor {
16881696 public static native int ChannelConfig_get_fee_proportional_millionths (long this_ptr );
16891697 // void ChannelConfig_set_fee_proportional_millionths(struct LDKChannelConfig *NONNULL_PTR this_ptr, uint32_t val);
16901698 public static native void ChannelConfig_set_fee_proportional_millionths (long this_ptr , int val );
1699+ // uint16_t ChannelConfig_get_cltv_expiry_delta(const struct LDKChannelConfig *NONNULL_PTR this_ptr);
1700+ public static native short ChannelConfig_get_cltv_expiry_delta (long this_ptr );
1701+ // void ChannelConfig_set_cltv_expiry_delta(struct LDKChannelConfig *NONNULL_PTR this_ptr, uint16_t val);
1702+ public static native void ChannelConfig_set_cltv_expiry_delta (long this_ptr , short val );
16911703 // bool ChannelConfig_get_announced_channel(const struct LDKChannelConfig *NONNULL_PTR this_ptr);
16921704 public static native boolean ChannelConfig_get_announced_channel (long this_ptr );
16931705 // void ChannelConfig_set_announced_channel(struct LDKChannelConfig *NONNULL_PTR this_ptr, bool val);
@@ -1696,8 +1708,8 @@ public interface LDKSocketDescriptor {
16961708 public static native boolean ChannelConfig_get_commit_upfront_shutdown_pubkey (long this_ptr );
16971709 // void ChannelConfig_set_commit_upfront_shutdown_pubkey(struct LDKChannelConfig *NONNULL_PTR this_ptr, bool val);
16981710 public static native void ChannelConfig_set_commit_upfront_shutdown_pubkey (long this_ptr , boolean val );
1699- // MUST_USE_RES struct LDKChannelConfig ChannelConfig_new(uint32_t fee_proportional_millionths_arg, bool announced_channel_arg, bool commit_upfront_shutdown_pubkey_arg);
1700- public static native long ChannelConfig_new (int fee_proportional_millionths_arg , boolean announced_channel_arg , boolean commit_upfront_shutdown_pubkey_arg );
1711+ // MUST_USE_RES struct LDKChannelConfig ChannelConfig_new(uint32_t fee_proportional_millionths_arg, uint16_t cltv_expiry_delta_arg, bool announced_channel_arg, bool commit_upfront_shutdown_pubkey_arg);
1712+ public static native long ChannelConfig_new (int fee_proportional_millionths_arg , short cltv_expiry_delta_arg , boolean announced_channel_arg , boolean commit_upfront_shutdown_pubkey_arg );
17011713 // struct LDKChannelConfig ChannelConfig_clone(const struct LDKChannelConfig *NONNULL_PTR orig);
17021714 public static native long ChannelConfig_clone (long orig );
17031715 // MUST_USE_RES struct LDKChannelConfig ChannelConfig_default(void);
@@ -2940,6 +2952,8 @@ public interface LDKSocketDescriptor {
29402952 public static native long ReplyShortChannelIdsEnd_read (byte [] ser );
29412953 // struct LDKCVec_u8Z ReplyShortChannelIdsEnd_write(const struct LDKReplyShortChannelIdsEnd *NONNULL_PTR obj);
29422954 public static native byte [] ReplyShortChannelIdsEnd_write (long obj );
2955+ // MUST_USE_RES uint32_t QueryChannelRange_end_blocknum(const struct LDKQueryChannelRange *NONNULL_PTR this_arg);
2956+ public static native int QueryChannelRange_end_blocknum (long this_arg );
29432957 // struct LDKCResult_QueryChannelRangeDecodeErrorZ QueryChannelRange_read(struct LDKu8slice ser);
29442958 public static native long QueryChannelRange_read (byte [] ser );
29452959 // struct LDKCVec_u8Z QueryChannelRange_write(const struct LDKQueryChannelRange *NONNULL_PTR obj);
0 commit comments