internal static FFIResult unregister_many_channel_monitor(
     ManyChannelMonitorHandle manyChannelMonitorHandle,
     BlockNotifierHandle handle,
     bool check = true
     )
 {
     return(MaybeCheck(_unregister_many_channel_monitor(manyChannelMonitorHandle, handle), check));
 }
예제 #2
0
 internal BlockNotifier(
     BlockNotifierHandle handle,
     object[] deps
     )
 {
     _handle = handle;
     _deps   = deps;
 }
 internal static FFIResult unregister_channel_manager(
     ChannelManagerHandle channelManagerHandle,
     BlockNotifierHandle handle,
     bool check = true
     )
 {
     return(MaybeCheck(_unregister_channel_manager(channelManagerHandle, handle), check));
 }
 static extern FFIResult _create_block_notifier(
     ref InstallWatchTx installWatchTx,
     ref InstallWatchOutPoint installWatchOutPoint,
     ref WatchAllTxn watchAllTxn,
     ref GetChainUtxo getChainUtxo,
     ref FilterBlock filterBlock,
     ref ReEntered reEntered,
     out BlockNotifierHandle handle
     );
 internal static FFIResult create_block_notifier(
     InstallWatchTx installWatchTx,
     InstallWatchOutPoint installWatchOutPoint,
     WatchAllTxn watchAllTxn,
     GetChainUtxo getChainUtxo,
     FilterBlock filterBlock,
     ReEntered reEntered,
     out BlockNotifierHandle handle,
     bool check = true
     ) => MaybeCheck(_create_block_notifier(ref installWatchTx, ref installWatchOutPoint, ref watchAllTxn, ref getChainUtxo, ref filterBlock, ref reEntered, out handle), check);
 static extern FFIResult _unregister_many_channel_monitor(
     ManyChannelMonitorHandle manyChannelMonitorHandle,
     BlockNotifierHandle handle
     );
 static extern FFIResult _unregister_channel_manager(
     ChannelManagerHandle channelManagerHandle,
     BlockNotifierHandle handle
     );
 internal static unsafe FFIResult block_disconnected(
     byte *blockHeaderPtr, UIntPtr blockHeaderLength, uint height, BlockNotifierHandle handle, bool check = true
     ) => MaybeCheck(_block_disconnected(blockHeaderPtr, blockHeaderLength, height, handle), check);
 static extern unsafe FFIResult _block_disconnected(byte *blockHeaderPtr, UIntPtr blockHeaderLength, uint height, BlockNotifierHandle handle);