- /// LDKCVec_u8Z AcceptChannel_write(const LDKAcceptChannel *obj);
- public static native long AcceptChannel_write(long obj);
- /// LDKAcceptChannel AcceptChannel_read(LDKu8slice ser);
- public static native long AcceptChannel_read(long ser);
- /// LDKCVec_u8Z AnnouncementSignatures_write(const LDKAnnouncementSignatures *obj);
- public static native long AnnouncementSignatures_write(long obj);
- /// LDKAnnouncementSignatures AnnouncementSignatures_read(LDKu8slice ser);
- public static native long AnnouncementSignatures_read(long ser);
- /// LDKCVec_u8Z ChannelReestablish_write(const LDKChannelReestablish *obj);
- public static native long ChannelReestablish_write(long obj);
- /// LDKChannelReestablish ChannelReestablish_read(LDKu8slice ser);
- public static native long ChannelReestablish_read(long ser);
- /// LDKCVec_u8Z ClosingSigned_write(const LDKClosingSigned *obj);
- public static native long ClosingSigned_write(long obj);
- /// LDKClosingSigned ClosingSigned_read(LDKu8slice ser);
- public static native long ClosingSigned_read(long ser);
- /// LDKCVec_u8Z CommitmentSigned_write(const LDKCommitmentSigned *obj);
- public static native long CommitmentSigned_write(long obj);
- /// LDKCommitmentSigned CommitmentSigned_read(LDKu8slice ser);
- public static native long CommitmentSigned_read(long ser);
- /// LDKCVec_u8Z FundingCreated_write(const LDKFundingCreated *obj);
- public static native long FundingCreated_write(long obj);
- /// LDKFundingCreated FundingCreated_read(LDKu8slice ser);
- public static native long FundingCreated_read(long ser);
- /// LDKCVec_u8Z FundingSigned_write(const LDKFundingSigned *obj);
- public static native long FundingSigned_write(long obj);
- /// LDKFundingSigned FundingSigned_read(LDKu8slice ser);
- public static native long FundingSigned_read(long ser);
- /// LDKCVec_u8Z FundingLocked_write(const LDKFundingLocked *obj);
- public static native long FundingLocked_write(long obj);
- /// LDKFundingLocked FundingLocked_read(LDKu8slice ser);
- public static native long FundingLocked_read(long ser);
- /// LDKCVec_u8Z Init_write(const LDKInit *obj);
- public static native long Init_write(long obj);
- /// LDKInit Init_read(LDKu8slice ser);
- public static native long Init_read(long ser);
- /// LDKCVec_u8Z OpenChannel_write(const LDKOpenChannel *obj);
- public static native long OpenChannel_write(long obj);
- /// LDKOpenChannel OpenChannel_read(LDKu8slice ser);
- public static native long OpenChannel_read(long ser);
- /// LDKCVec_u8Z RevokeAndACK_write(const LDKRevokeAndACK *obj);
- public static native long RevokeAndACK_write(long obj);
- /// LDKRevokeAndACK RevokeAndACK_read(LDKu8slice ser);
- public static native long RevokeAndACK_read(long ser);
- /// LDKCVec_u8Z Shutdown_write(const LDKShutdown *obj);
- public static native long Shutdown_write(long obj);
- /// LDKShutdown Shutdown_read(LDKu8slice ser);
- public static native long Shutdown_read(long ser);
- /// LDKCVec_u8Z UpdateFailHTLC_write(const LDKUpdateFailHTLC *obj);
- public static native long UpdateFailHTLC_write(long obj);
- /// LDKUpdateFailHTLC UpdateFailHTLC_read(LDKu8slice ser);
- public static native long UpdateFailHTLC_read(long ser);
- /// LDKCVec_u8Z UpdateFailMalformedHTLC_write(const LDKUpdateFailMalformedHTLC *obj);
- public static native long UpdateFailMalformedHTLC_write(long obj);
- /// LDKUpdateFailMalformedHTLC UpdateFailMalformedHTLC_read(LDKu8slice ser);
- public static native long UpdateFailMalformedHTLC_read(long ser);
- /// LDKCVec_u8Z UpdateFee_write(const LDKUpdateFee *obj);
- public static native long UpdateFee_write(long obj);
- /// LDKUpdateFee UpdateFee_read(LDKu8slice ser);
- public static native long UpdateFee_read(long ser);
- /// LDKCVec_u8Z UpdateFulfillHTLC_write(const LDKUpdateFulfillHTLC *obj);
- public static native long UpdateFulfillHTLC_write(long obj);
- /// LDKUpdateFulfillHTLC UpdateFulfillHTLC_read(LDKu8slice ser);
- public static native long UpdateFulfillHTLC_read(long ser);
- /// LDKCVec_u8Z UpdateAddHTLC_write(const LDKUpdateAddHTLC *obj);
- public static native long UpdateAddHTLC_write(long obj);
- /// LDKUpdateAddHTLC UpdateAddHTLC_read(LDKu8slice ser);
- public static native long UpdateAddHTLC_read(long ser);
- /// LDKCVec_u8Z Ping_write(const LDKPing *obj);
- public static native long Ping_write(long obj);
- /// LDKPing Ping_read(LDKu8slice ser);
- public static native long Ping_read(long ser);
- /// LDKCVec_u8Z Pong_write(const LDKPong *obj);
- public static native long Pong_write(long obj);
- /// LDKPong Pong_read(LDKu8slice ser);
- public static native long Pong_read(long ser);
- /// LDKCVec_u8Z UnsignedChannelAnnouncement_write(const LDKUnsignedChannelAnnouncement *obj);
- public static native long UnsignedChannelAnnouncement_write(long obj);
- /// LDKUnsignedChannelAnnouncement UnsignedChannelAnnouncement_read(LDKu8slice ser);
- public static native long UnsignedChannelAnnouncement_read(long ser);
- /// LDKCVec_u8Z ChannelAnnouncement_write(const LDKChannelAnnouncement *obj);
- public static native long ChannelAnnouncement_write(long obj);
- /// LDKChannelAnnouncement ChannelAnnouncement_read(LDKu8slice ser);
- public static native long ChannelAnnouncement_read(long ser);
- /// LDKCVec_u8Z UnsignedChannelUpdate_write(const LDKUnsignedChannelUpdate *obj);
- public static native long UnsignedChannelUpdate_write(long obj);
- /// LDKUnsignedChannelUpdate UnsignedChannelUpdate_read(LDKu8slice ser);
- public static native long UnsignedChannelUpdate_read(long ser);
- /// LDKCVec_u8Z ChannelUpdate_write(const LDKChannelUpdate *obj);
- public static native long ChannelUpdate_write(long obj);
- /// LDKChannelUpdate ChannelUpdate_read(LDKu8slice ser);
- public static native long ChannelUpdate_read(long ser);
- /// LDKCVec_u8Z ErrorMessage_write(const LDKErrorMessage *obj);
- public static native long ErrorMessage_write(long obj);
- /// LDKErrorMessage ErrorMessage_read(LDKu8slice ser);
- public static native long ErrorMessage_read(long ser);
- /// LDKCVec_u8Z UnsignedNodeAnnouncement_write(const LDKUnsignedNodeAnnouncement *obj);
- public static native long UnsignedNodeAnnouncement_write(long obj);
- /// LDKUnsignedNodeAnnouncement UnsignedNodeAnnouncement_read(LDKu8slice ser);
- public static native long UnsignedNodeAnnouncement_read(long ser);
- /// LDKCVec_u8Z NodeAnnouncement_write(const LDKNodeAnnouncement *obj);
- public static native long NodeAnnouncement_write(long obj);
- /// LDKNodeAnnouncement NodeAnnouncement_read(LDKu8slice ser);
- public static native long NodeAnnouncement_read(long ser);
- /// LDKQueryShortChannelIds QueryShortChannelIds_read(LDKu8slice ser);
- public static native long QueryShortChannelIds_read(long ser);
- /// LDKCVec_u8Z QueryShortChannelIds_write(const LDKQueryShortChannelIds *obj);
- public static native long QueryShortChannelIds_write(long obj);
- /// LDKReplyShortChannelIdsEnd ReplyShortChannelIdsEnd_read(LDKu8slice ser);
- public static native long ReplyShortChannelIdsEnd_read(long ser);
- /// LDKCVec_u8Z ReplyShortChannelIdsEnd_write(const LDKReplyShortChannelIdsEnd *obj);
- public static native long ReplyShortChannelIdsEnd_write(long obj);
- /// LDKQueryChannelRange QueryChannelRange_read(LDKu8slice ser);
- public static native long QueryChannelRange_read(long ser);
- /// LDKCVec_u8Z QueryChannelRange_write(const LDKQueryChannelRange *obj);
- public static native long QueryChannelRange_write(long obj);
- /// LDKReplyChannelRange ReplyChannelRange_read(LDKu8slice ser);
- public static native long ReplyChannelRange_read(long ser);
- /// LDKCVec_u8Z ReplyChannelRange_write(const LDKReplyChannelRange *obj);
- public static native long ReplyChannelRange_write(long obj);
- /// LDKGossipTimestampFilter GossipTimestampFilter_read(LDKu8slice ser);
- public static native long GossipTimestampFilter_read(long ser);
- /// LDKCVec_u8Z GossipTimestampFilter_write(const LDKGossipTimestampFilter *obj);
- public static native long GossipTimestampFilter_write(long obj);
- /// void MessageHandler_free(LDKMessageHandler this_ptr);
+ // LDKCVec_u8Z AcceptChannel_write(const LDKAcceptChannel *obj);
+ public static native byte[] AcceptChannel_write(long obj);
+ // LDKAcceptChannel AcceptChannel_read(LDKu8slice ser);
+ public static native long AcceptChannel_read(byte[] ser);
+ // LDKCVec_u8Z AnnouncementSignatures_write(const LDKAnnouncementSignatures *obj);
+ public static native byte[] AnnouncementSignatures_write(long obj);
+ // LDKAnnouncementSignatures AnnouncementSignatures_read(LDKu8slice ser);
+ public static native long AnnouncementSignatures_read(byte[] ser);
+ // LDKCVec_u8Z ChannelReestablish_write(const LDKChannelReestablish *obj);
+ public static native byte[] ChannelReestablish_write(long obj);
+ // LDKChannelReestablish ChannelReestablish_read(LDKu8slice ser);
+ public static native long ChannelReestablish_read(byte[] ser);
+ // LDKCVec_u8Z ClosingSigned_write(const LDKClosingSigned *obj);
+ public static native byte[] ClosingSigned_write(long obj);
+ // LDKClosingSigned ClosingSigned_read(LDKu8slice ser);
+ public static native long ClosingSigned_read(byte[] ser);
+ // LDKCVec_u8Z CommitmentSigned_write(const LDKCommitmentSigned *obj);
+ public static native byte[] CommitmentSigned_write(long obj);
+ // LDKCommitmentSigned CommitmentSigned_read(LDKu8slice ser);
+ public static native long CommitmentSigned_read(byte[] ser);
+ // LDKCVec_u8Z FundingCreated_write(const LDKFundingCreated *obj);
+ public static native byte[] FundingCreated_write(long obj);
+ // LDKFundingCreated FundingCreated_read(LDKu8slice ser);
+ public static native long FundingCreated_read(byte[] ser);
+ // LDKCVec_u8Z FundingSigned_write(const LDKFundingSigned *obj);
+ public static native byte[] FundingSigned_write(long obj);
+ // LDKFundingSigned FundingSigned_read(LDKu8slice ser);
+ public static native long FundingSigned_read(byte[] ser);
+ // LDKCVec_u8Z FundingLocked_write(const LDKFundingLocked *obj);
+ public static native byte[] FundingLocked_write(long obj);
+ // LDKFundingLocked FundingLocked_read(LDKu8slice ser);
+ public static native long FundingLocked_read(byte[] ser);
+ // LDKCVec_u8Z Init_write(const LDKInit *obj);
+ public static native byte[] Init_write(long obj);
+ // LDKInit Init_read(LDKu8slice ser);
+ public static native long Init_read(byte[] ser);
+ // LDKCVec_u8Z OpenChannel_write(const LDKOpenChannel *obj);
+ public static native byte[] OpenChannel_write(long obj);
+ // LDKOpenChannel OpenChannel_read(LDKu8slice ser);
+ public static native long OpenChannel_read(byte[] ser);
+ // LDKCVec_u8Z RevokeAndACK_write(const LDKRevokeAndACK *obj);
+ public static native byte[] RevokeAndACK_write(long obj);
+ // LDKRevokeAndACK RevokeAndACK_read(LDKu8slice ser);
+ public static native long RevokeAndACK_read(byte[] ser);
+ // LDKCVec_u8Z Shutdown_write(const LDKShutdown *obj);
+ public static native byte[] Shutdown_write(long obj);
+ // LDKShutdown Shutdown_read(LDKu8slice ser);
+ public static native long Shutdown_read(byte[] ser);
+ // LDKCVec_u8Z UpdateFailHTLC_write(const LDKUpdateFailHTLC *obj);
+ public static native byte[] UpdateFailHTLC_write(long obj);
+ // LDKUpdateFailHTLC UpdateFailHTLC_read(LDKu8slice ser);
+ public static native long UpdateFailHTLC_read(byte[] ser);
+ // LDKCVec_u8Z UpdateFailMalformedHTLC_write(const LDKUpdateFailMalformedHTLC *obj);
+ public static native byte[] UpdateFailMalformedHTLC_write(long obj);
+ // LDKUpdateFailMalformedHTLC UpdateFailMalformedHTLC_read(LDKu8slice ser);
+ public static native long UpdateFailMalformedHTLC_read(byte[] ser);
+ // LDKCVec_u8Z UpdateFee_write(const LDKUpdateFee *obj);
+ public static native byte[] UpdateFee_write(long obj);
+ // LDKUpdateFee UpdateFee_read(LDKu8slice ser);
+ public static native long UpdateFee_read(byte[] ser);
+ // LDKCVec_u8Z UpdateFulfillHTLC_write(const LDKUpdateFulfillHTLC *obj);
+ public static native byte[] UpdateFulfillHTLC_write(long obj);
+ // LDKUpdateFulfillHTLC UpdateFulfillHTLC_read(LDKu8slice ser);
+ public static native long UpdateFulfillHTLC_read(byte[] ser);
+ // LDKCVec_u8Z UpdateAddHTLC_write(const LDKUpdateAddHTLC *obj);
+ public static native byte[] UpdateAddHTLC_write(long obj);
+ // LDKUpdateAddHTLC UpdateAddHTLC_read(LDKu8slice ser);
+ public static native long UpdateAddHTLC_read(byte[] ser);
+ // LDKCVec_u8Z Ping_write(const LDKPing *obj);
+ public static native byte[] Ping_write(long obj);
+ // LDKPing Ping_read(LDKu8slice ser);
+ public static native long Ping_read(byte[] ser);
+ // LDKCVec_u8Z Pong_write(const LDKPong *obj);
+ public static native byte[] Pong_write(long obj);
+ // LDKPong Pong_read(LDKu8slice ser);
+ public static native long Pong_read(byte[] ser);
+ // LDKCVec_u8Z UnsignedChannelAnnouncement_write(const LDKUnsignedChannelAnnouncement *obj);
+ public static native byte[] UnsignedChannelAnnouncement_write(long obj);
+ // LDKUnsignedChannelAnnouncement UnsignedChannelAnnouncement_read(LDKu8slice ser);
+ public static native long UnsignedChannelAnnouncement_read(byte[] ser);
+ // LDKCVec_u8Z ChannelAnnouncement_write(const LDKChannelAnnouncement *obj);
+ public static native byte[] ChannelAnnouncement_write(long obj);
+ // LDKChannelAnnouncement ChannelAnnouncement_read(LDKu8slice ser);
+ public static native long ChannelAnnouncement_read(byte[] ser);
+ // LDKCVec_u8Z UnsignedChannelUpdate_write(const LDKUnsignedChannelUpdate *obj);
+ public static native byte[] UnsignedChannelUpdate_write(long obj);
+ // LDKUnsignedChannelUpdate UnsignedChannelUpdate_read(LDKu8slice ser);
+ public static native long UnsignedChannelUpdate_read(byte[] ser);
+ // LDKCVec_u8Z ChannelUpdate_write(const LDKChannelUpdate *obj);
+ public static native byte[] ChannelUpdate_write(long obj);
+ // LDKChannelUpdate ChannelUpdate_read(LDKu8slice ser);
+ public static native long ChannelUpdate_read(byte[] ser);
+ // LDKCVec_u8Z ErrorMessage_write(const LDKErrorMessage *obj);
+ public static native byte[] ErrorMessage_write(long obj);
+ // LDKErrorMessage ErrorMessage_read(LDKu8slice ser);
+ public static native long ErrorMessage_read(byte[] ser);
+ // LDKCVec_u8Z UnsignedNodeAnnouncement_write(const LDKUnsignedNodeAnnouncement *obj);
+ public static native byte[] UnsignedNodeAnnouncement_write(long obj);
+ // LDKUnsignedNodeAnnouncement UnsignedNodeAnnouncement_read(LDKu8slice ser);
+ public static native long UnsignedNodeAnnouncement_read(byte[] ser);
+ // LDKCVec_u8Z NodeAnnouncement_write(const LDKNodeAnnouncement *obj);
+ public static native byte[] NodeAnnouncement_write(long obj);
+ // LDKNodeAnnouncement NodeAnnouncement_read(LDKu8slice ser);
+ public static native long NodeAnnouncement_read(byte[] ser);
+ // LDKQueryShortChannelIds QueryShortChannelIds_read(LDKu8slice ser);
+ public static native long QueryShortChannelIds_read(byte[] ser);
+ // LDKCVec_u8Z QueryShortChannelIds_write(const LDKQueryShortChannelIds *obj);
+ public static native byte[] QueryShortChannelIds_write(long obj);
+ // LDKReplyShortChannelIdsEnd ReplyShortChannelIdsEnd_read(LDKu8slice ser);
+ public static native long ReplyShortChannelIdsEnd_read(byte[] ser);
+ // LDKCVec_u8Z ReplyShortChannelIdsEnd_write(const LDKReplyShortChannelIdsEnd *obj);
+ public static native byte[] ReplyShortChannelIdsEnd_write(long obj);
+ // LDKQueryChannelRange QueryChannelRange_read(LDKu8slice ser);
+ public static native long QueryChannelRange_read(byte[] ser);
+ // LDKCVec_u8Z QueryChannelRange_write(const LDKQueryChannelRange *obj);
+ public static native byte[] QueryChannelRange_write(long obj);
+ // LDKReplyChannelRange ReplyChannelRange_read(LDKu8slice ser);
+ public static native long ReplyChannelRange_read(byte[] ser);
+ // LDKCVec_u8Z ReplyChannelRange_write(const LDKReplyChannelRange *obj);
+ public static native byte[] ReplyChannelRange_write(long obj);
+ // LDKGossipTimestampFilter GossipTimestampFilter_read(LDKu8slice ser);
+ public static native long GossipTimestampFilter_read(byte[] ser);
+ // LDKCVec_u8Z GossipTimestampFilter_write(const LDKGossipTimestampFilter *obj);
+ public static native byte[] GossipTimestampFilter_write(long obj);
+ // void MessageHandler_free(LDKMessageHandler this_ptr);