@@ -471,7 +471,7 @@ where
471471 C :: Target : Filter ,
472472{
473473 fn filtered_block_connected (
474- & self , header : & bitcoin:: BlockHeader , txdata : & chain:: transaction:: TransactionData ,
474+ & self , header : & bitcoin:: block :: Header , txdata : & chain:: transaction:: TransactionData ,
475475 height : u32 ,
476476 ) {
477477 if let Some ( best_block) = & self . best_block {
@@ -486,7 +486,7 @@ where
486486 self . best_block_updated ( header, height) ;
487487 }
488488
489- fn block_disconnected ( & self , header : & bitcoin:: BlockHeader , height : u32 ) {
489+ fn block_disconnected ( & self , header : & bitcoin:: block :: Header , height : u32 ) {
490490 let new_height = height - 1 ;
491491 if let Some ( best_block) = & self . best_block {
492492 let mut best_block = best_block. write ( ) . unwrap ( ) ;
@@ -510,7 +510,7 @@ where
510510 C :: Target : Filter ,
511511{
512512 fn transactions_confirmed (
513- & self , header : & bitcoin:: BlockHeader , txdata : & chain:: transaction:: TransactionData ,
513+ & self , header : & bitcoin:: block :: Header , txdata : & chain:: transaction:: TransactionData ,
514514 height : u32 ,
515515 ) {
516516 // TODO: Call transactions_confirmed on all sub-modules that require it, e.g., LSPS1MessageHandler.
@@ -522,11 +522,11 @@ where
522522 // confirmed at a height <= the one we now unconfirmed.
523523 }
524524
525- fn best_block_updated ( & self , header : & bitcoin:: BlockHeader , height : u32 ) {
525+ fn best_block_updated ( & self , header : & bitcoin:: block :: Header , height : u32 ) {
526526 // TODO: Call best_block_updated on all sub-modules that require it, e.g., LSPS1MessageHandler.
527527 }
528528
529- fn get_relevant_txids ( & self ) -> Vec < ( bitcoin:: Txid , Option < bitcoin:: BlockHash > ) > {
529+ fn get_relevant_txids ( & self ) -> Vec < ( bitcoin:: Txid , u32 , Option < bitcoin:: BlockHash > ) > {
530530 // TODO: Collect relevant txids from all sub-modules that, e.g., LSPS1MessageHandler.
531531 Vec :: new ( )
532532 }
0 commit comments