@@ -9,7 +9,7 @@ use lightning::chain::chaininterface::{BroadcasterInterface, ConfirmationTarget,
9
9
use lightning:: chain:: WatchedOutput ;
10
10
use lightning:: chain:: { Confirm , Filter } ;
11
11
12
- use bdk:: blockchain:: { Blockchain , EsploraBlockchain , GetBlockHash , GetHeight , GetTx } ;
12
+ use bdk:: blockchain:: { Blockchain , EsploraBlockchain } ;
13
13
use bdk:: database:: BatchDatabase ;
14
14
use bdk:: wallet:: AddressIndex ;
15
15
use bdk:: { SignOptions , SyncOptions } ;
@@ -317,33 +317,6 @@ where
317
317
}
318
318
}
319
319
320
- impl < D > GetHeight for LdkLiteChainAccess < D >
321
- where
322
- D : BatchDatabase ,
323
- {
324
- fn get_height ( & self ) -> Result < u32 , bdk:: Error > {
325
- self . blockchain . get_height ( )
326
- }
327
- }
328
-
329
- impl < D > GetBlockHash for LdkLiteChainAccess < D >
330
- where
331
- D : BatchDatabase ,
332
- {
333
- fn get_block_hash ( & self , height : u64 ) -> Result < BlockHash , bdk:: Error > {
334
- self . blockchain . get_block_hash ( height)
335
- }
336
- }
337
-
338
- impl < D > GetTx for LdkLiteChainAccess < D >
339
- where
340
- D : BatchDatabase ,
341
- {
342
- fn get_tx ( & self , txid : & Txid ) -> Result < Option < Transaction > , bdk:: Error > {
343
- self . blockchain . get_tx ( txid)
344
- }
345
- }
346
-
347
320
fn num_blocks_from_conf_target ( confirmation_target : ConfirmationTarget ) -> usize {
348
321
match confirmation_target {
349
322
ConfirmationTarget :: Background => 12 ,
0 commit comments