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 58
58
}
59
59
60
60
/// 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.
61
63
pub fn from_client ( client : ElectrumClient , logger : L ) -> Result < Self , TxSyncError > {
62
64
let sync_state = Mutex :: new ( SyncState :: new ( ) ) ;
63
65
let queue = Mutex :: new ( FilterQueue :: new ( ) ) ;
@@ -450,6 +452,8 @@ where
450
452
}
451
453
452
454
/// 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.
453
457
pub fn client ( & self ) -> & ElectrumClient {
454
458
& self . client
455
459
}
Original file line number Diff line number Diff line change 59
59
}
60
60
61
61
/// 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.
62
64
pub fn from_client ( client : EsploraClientType , logger : L ) -> Self {
63
65
let sync_state = MutexType :: new ( SyncState :: new ( ) ) ;
64
66
let queue = std:: sync:: Mutex :: new ( FilterQueue :: new ( ) ) ;
@@ -397,6 +399,8 @@ where
397
399
}
398
400
399
401
/// 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.
400
404
pub fn client ( & self ) -> & EsploraClientType {
401
405
& self . client
402
406
}
You can’t perform that action at this time.
0 commit comments