]> git.bitcoin.ninja Git - ldk-java/commitdiff
Drop stale WIP files that should not have been checked in
authorMatt Corallo <git@bluematt.me>
Fri, 5 Mar 2021 19:30:54 +0000 (14:30 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 5 Mar 2021 19:33:41 +0000 (14:33 -0500)
14 files changed:
src/main/java/org/ldk/impl/chain/chaininterface/BroadcasterInterface.java [deleted file]
src/main/java/org/ldk/impl/chain/keysinterface/KeysInterface.java [deleted file]
src/main/java/org/ldk/impl/ln/channelmanager/ChannelManager.java [deleted file]
src/main/java/org/ldk/impl/ln/channelmonitor/ManyChannelMonitor.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/AcceptChannel.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/AnnouncementSignatures.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/ChannelAnnouncement.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/ChannelMessageHandler.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/ChannelReestablish.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/ChannelUpdate.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/RoutingMessageHandler.java [deleted file]
src/main/java/org/ldk/impl/ln/msgs/msgs.java [deleted file]
src/main/java/org/ldk/impl/ln/peer_handler/MessageHandler.java [deleted file]
src/main/java/org/ldk/impl/ln/peer_handler/PeerManager.java [deleted file]

diff --git a/src/main/java/org/ldk/impl/chain/chaininterface/BroadcasterInterface.java b/src/main/java/org/ldk/impl/chain/chaininterface/BroadcasterInterface.java
deleted file mode 100644 (file)
index 7b602d8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.ldk.impl.chain.chaininterface;
-
-public interface BroadcasterInterface {
-    public void broadcast_transaction(byte[] transaction_data);
-}
diff --git a/src/main/java/org/ldk/impl/chain/keysinterface/KeysInterface.java b/src/main/java/org/ldk/impl/chain/keysinterface/KeysInterface.java
deleted file mode 100644 (file)
index 66d7b51..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.ldk.impl.chain.keysinterface;
-
-public class KeysInterface {
-    
-}
diff --git a/src/main/java/org/ldk/impl/ln/channelmanager/ChannelManager.java b/src/main/java/org/ldk/impl/ln/channelmanager/ChannelManager.java
deleted file mode 100644 (file)
index f961fc5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.ldk.impl.ln.channelmanager;
-
-import org.ldk.impl.chain.chaininterface.BroadcasterInterface;
-import org.ldk.impl.chain.keysinterface.KeysInterface;
-import org.ldk.impl.ln.channelmonitor.ManyChannelMonitor;
-
-public class ChannelManager {
-    public enum Network {
-        Bitcoin,
-        Testnet
-    }
-    /*public ChannelManager(Network net, FeeEstimator feeEstimator, ManyChannelMonitor monitor,
-                          BroadcasterInterface broadcaster, Logger logger, KeysInterface keys,
-                          UserConfig config, int cur_chain_height) {
-
-    }*/
-
-
-}
diff --git a/src/main/java/org/ldk/impl/ln/channelmonitor/ManyChannelMonitor.java b/src/main/java/org/ldk/impl/ln/channelmonitor/ManyChannelMonitor.java
deleted file mode 100644 (file)
index 286004d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-package org.ldk.impl.ln.channelmonitor;
-
-public interface ManyChannelMonitor {
-}
diff --git a/src/main/java/org/ldk/impl/ln/msgs/AcceptChannel.java b/src/main/java/org/ldk/impl/ln/msgs/AcceptChannel.java
deleted file mode 100644 (file)
index bafb7bb..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-import org.ldk.impl.bindings;
-
-public final class AcceptChannel {
-    private final long c_obj;
-
-    private AcceptChannel(long c_obj) {
-        this.c_obj = c_obj;
-    }
-
-    @SuppressWarnings("deprecation")
-    @Override
-    final protected void finalize() throws Throwable {
-        bindings.AcceptChannel_free(this.c_obj);
-        super.finalize();
-    }
-}
diff --git a/src/main/java/org/ldk/impl/ln/msgs/AnnouncementSignatures.java b/src/main/java/org/ldk/impl/ln/msgs/AnnouncementSignatures.java
deleted file mode 100644 (file)
index 7190441..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-public class AnnouncementSignatures {
-    private long c_obj;
-}
diff --git a/src/main/java/org/ldk/impl/ln/msgs/ChannelAnnouncement.java b/src/main/java/org/ldk/impl/ln/msgs/ChannelAnnouncement.java
deleted file mode 100644 (file)
index e559337..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-public class ChannelAnnouncement {
-    private long c_obj;
-}
diff --git a/src/main/java/org/ldk/impl/ln/msgs/ChannelMessageHandler.java b/src/main/java/org/ldk/impl/ln/msgs/ChannelMessageHandler.java
deleted file mode 100644 (file)
index aad48d8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-public abstract class ChannelMessageHandler {
-    private long c_obj;
-    public long getC_obj() { return c_obj; }
-
-    //abstract void handle_open_channel(char[] public_key, OpenChannel msg);
-}
\ No newline at end of file
diff --git a/src/main/java/org/ldk/impl/ln/msgs/ChannelReestablish.java b/src/main/java/org/ldk/impl/ln/msgs/ChannelReestablish.java
deleted file mode 100644 (file)
index 4aec61c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-public class ChannelReestablish {
-    private long c_obj;
-}
diff --git a/src/main/java/org/ldk/impl/ln/msgs/ChannelUpdate.java b/src/main/java/org/ldk/impl/ln/msgs/ChannelUpdate.java
deleted file mode 100644 (file)
index 7c7507e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-public class ChannelUpdate {
-    private long c_obj;
-}
diff --git a/src/main/java/org/ldk/impl/ln/msgs/RoutingMessageHandler.java b/src/main/java/org/ldk/impl/ln/msgs/RoutingMessageHandler.java
deleted file mode 100644 (file)
index 92b38cb..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-public abstract class RoutingMessageHandler {
-    private long c_obj;
-    public long getC_obj() { return c_obj; }
-
-}
\ No newline at end of file
diff --git a/src/main/java/org/ldk/impl/ln/msgs/msgs.java b/src/main/java/org/ldk/impl/ln/msgs/msgs.java
deleted file mode 100644 (file)
index 0bef15e..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-package org.ldk.impl.ln.msgs;
-
-/*public class ClosingSigned {
-       private long c_obj;
-}
-public class CommitmentSigned {
-       private long c_obj;
-}
-public class CommitmentUpdate {
-       private long c_obj;
-}
-public class ErrorMessage {
-       private long c_obj;
-}
-public class FundingCreated {
-       private long c_obj;
-}
-public class FundingLocked {
-       private long c_obj;
-}
-public class FundingSigned {
-       private long c_obj;
-}
-public class Init {
-       private long c_obj;
-}
-public class NodeAnnouncement {
-       private long c_obj;
-}
-public class OpenChannel {
-       private long c_obj;
-}
-public class Ping {
-       private long c_obj;
-}
-public class Pong {
-       private long c_obj;
-}
-public class RevokeAndACK {
-       private long c_obj;
-}
-public class Shutdown {
-       private long c_obj;
-}
-public class UnsignedChannelAnnouncement {
-       private long c_obj;
-}
-public class UnsignedNodeAnnouncement {
-       private long c_obj;
-}
-public class UpdateAddHTLC {
-       private long c_obj;
-}
-public class UpdateFailHTLC {
-       private long c_obj;
-}
-public class UpdateFailMalformedHTLC {
-       private long c_obj;
-}
-public class UpdateFee {
-       private long c_obj;
-}
-public class UpdateFulfillHTLC {
-       private long c_obj;
-}
-
-*/
\ No newline at end of file
diff --git a/src/main/java/org/ldk/impl/ln/peer_handler/MessageHandler.java b/src/main/java/org/ldk/impl/ln/peer_handler/MessageHandler.java
deleted file mode 100644 (file)
index 079727e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.ldk.impl.ln.peer_handler;
-
-import org.ldk.impl.bindings;
-import org.ldk.impl.ln.msgs.ChannelMessageHandler;
-import org.ldk.impl.ln.msgs.RoutingMessageHandler;
-
-public class MessageHandler {
-    private final long c_obj;
-    // We don't care about these, but we hold references to them to ensure they don't get free'd before us
-    private final ChannelMessageHandler chan_handler;
-    private final RoutingMessageHandler route_handler;
-
-    //oc    Pr  Bprivate MessageHandler(long c_obj) { this.c_obj = c_obj; }
-    public MessageHandler(ChannelMessageHandler chan_handler, RoutingMessageHandler route_handler) {
-        this.c_obj = bindings.MessageHandler_new(chan_handler.getC_obj(), route_handler.getC_obj());
-        this.chan_handler = chan_handler;
-        this.route_handler = route_handler;
-    }
-
-    @SuppressWarnings("deprecation")
-    @Override
-    final protected void finalize() throws Throwable {
-        bindings.MessageHandler_free(this.c_obj);
-        super.finalize();
-    }
-}
\ No newline at end of file
diff --git a/src/main/java/org/ldk/impl/ln/peer_handler/PeerManager.java b/src/main/java/org/ldk/impl/ln/peer_handler/PeerManager.java
deleted file mode 100644 (file)
index 93add85..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.ldk.impl.ln.peer_handler;
-
-import org.ldk.impl.bindings;
-
-public class PeerManager {
-    private final long c_obj;
-
-    private PeerManager(long c_obj) {
-        this.c_obj = c_obj;
-    }
-    //public PeerManager(MessageHandler)
-
-    @SuppressWarnings("deprecation")
-    @Override
-    final protected void finalize() throws Throwable {
-        bindings.PeerManager_free(this.c_obj);
-        super.finalize();
-    }
-}