You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic!("FFI failure. the caller must set the actual serialized length of the tx-indexes in filter_block");
282
+
}
283
+
letmut matched_tx_index:&[u8] = unsafe_block!("We know the caller has set the value for serialized tx index" => &matched_tx_index[..(*matched_tx_index_len_ptr)]);
284
+
let matched_tx_indexes:Vec<u32> = lightning::util::ser::Readable::read(&mut std::io::Cursor::new(matched_tx_index)).unwrap();
let install_watch_outpoint_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => install_watch_outpoint_ptr.as_ref());
34
38
let watch_all_txn_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => watch_all_txn_ptr.as_ref());
35
39
let get_chain_utxo_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => get_chain_utxo_ptr.as_ref());
40
+
let filter_block_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => filter_block_ptr.as_ref());
41
+
let reentered_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => reentered_ptr.as_ref());
let install_watch_outpoint_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => install_watch_outpoint_ptr.as_ref());
155
161
let watch_all_txn_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => watch_all_txn_ptr.as_ref());
156
162
let get_chain_utxo_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => get_chain_utxo_ptr.as_ref());
163
+
let filter_block_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => filter_block_ptr.as_ref());
164
+
let reentered_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => reentered_ptr.as_ref());
let install_watch_outpoint_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => install_watch_outpoint_ptr.as_ref());
75
78
let watch_all_txn_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => watch_all_txn_ptr.as_ref());
76
79
let get_chain_utxo_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => get_chain_utxo_ptr.as_ref());
80
+
let filter_block_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => filter_block_ptr.as_ref());
81
+
let reentered_ref = unsafe_block!("function pointer lives as long as ChainWatchInterface and it points to valid data" => reentered_ptr.as_ref());
82
+
77
83
let logger_arc = Arc::new(FFILogger{ log_ptr:*log_ref });
0 commit comments