File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
lightning-transaction-sync/src Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 5858 }
5959
6060 /// Returns a new [`ElectrumSyncClient`] object using the given Electrum client.
61+ ///
62+ /// This is not exported to bindings users as the underlying client from BDK is not exported.
6163 pub fn from_client ( client : ElectrumClient , logger : L ) -> Result < Self , TxSyncError > {
6264 let sync_state = Mutex :: new ( SyncState :: new ( ) ) ;
6365 let queue = Mutex :: new ( FilterQueue :: new ( ) ) ;
@@ -450,6 +452,8 @@ where
450452 }
451453
452454 /// Returns a reference to the underlying Electrum client.
455+ ///
456+ /// This is not exported to bindings users as the underlying client from BDK is not exported.
453457 pub fn client ( & self ) -> & ElectrumClient {
454458 & self . client
455459 }
Original file line number Diff line number Diff line change 5959 }
6060
6161 /// Returns a new [`EsploraSyncClient`] object using the given Esplora client.
62+ ///
63+ /// This is not exported to bindings users as the underlying client from BDK is not exported.
6264 pub fn from_client ( client : EsploraClientType , logger : L ) -> Self {
6365 let sync_state = MutexType :: new ( SyncState :: new ( ) ) ;
6466 let queue = std:: sync:: Mutex :: new ( FilterQueue :: new ( ) ) ;
@@ -397,6 +399,8 @@ where
397399 }
398400
399401 /// Returns a reference to the underlying esplora client.
402+ ///
403+ /// This is not exported to bindings users as the underlying client from BDK is not exported.
400404 pub fn client ( & self ) -> & EsploraClientType {
401405 & self . client
402406 }
You can’t perform that action at this time.
0 commit comments