}
public static native long LDKEventsProvider_new(LDKEventsProvider impl);
public interface LDKLogger {
- void log(long record);
+ void log(String record);
}
public static native long LDKLogger_new(LDKLogger impl);
public interface LDKChainWatchInterface {
void handle_channel_reestablish(long their_node_id, long msg);
void handle_error(long their_node_id, long msg);
}
- public static native long LDKChannelMessageHandler_new(LDKChannelMessageHandler impl);
+ public static native long LDKChannelMessageHandler_new(LDKChannelMessageHandler impl, LDKMessageSendEventsProvider MessageSendEventsProvider);
public interface LDKRoutingMessageHandler {
long handle_node_announcement(long msg);
long handle_channel_announcement(long msg);