Update auto-generated bindings for new upstream
[ldk-java] / src / test / java / org / ldk / ManualMsgHandlingPeerTest.java
index 223a14b8eaba1487ca751b40263837126ada3d89..c1d6a5e3d12c51cf5c068e8a694b99316fb7ef38 100644 (file)
@@ -37,7 +37,7 @@ public class ManualMsgHandlingPeerTest {
             }
 
             @Override
-            public void handle_shutdown(byte[] their_node_id, long msg) {
+            public void handle_shutdown(byte[] their_node_id, long their_features, long msg) {
 
             }
 
@@ -125,10 +125,32 @@ public class ManualMsgHandlingPeerTest {
             @Override public long[] get_next_node_announcements(byte[] starting_point, byte batch_amount) {
                 return new long[0];
             }
-            @Override public boolean should_request_full_sync(byte[] node_id) {
-                return false;
+
+            @Override
+            public void sync_routing_table(byte[] their_node_id, long init) {
+
             }
-        });
+
+            @Override
+            public long handle_reply_channel_range(byte[] their_node_id, long msg) {
+                return 0;
+            }
+
+            @Override
+            public long handle_reply_short_channel_ids_end(byte[] their_node_id, long msg) {
+                return 0;
+            }
+
+            @Override
+            public long handle_query_channel_range(byte[] their_node_id, long msg) {
+                return 0;
+            }
+
+            @Override
+            public long handle_query_short_channel_ids(byte[] their_node_id, long msg) {
+                return 0;
+            }
+        }, () -> new long[0]);
         long message_handler = bindings.MessageHandler_new(chan_handler, route_handler);
         byte[] our_node_secret = new byte[32];
         byte[] random_data = new byte[32];