diff --git a/docs/blockchain_data/pre_filtered_blocks.md b/docs/blockchain_data/pre_filtered_blocks.md index 6adc67230..c1d59342f 100644 --- a/docs/blockchain_data/pre_filtered_blocks.md +++ b/docs/blockchain_data/pre_filtered_blocks.md @@ -21,13 +21,9 @@ impl chain::Filter for Blockchain { // } - fn register_output(&self, output: WatchedOutput) -> Option<(usize, Transaction)> { + fn register_output(&self, output: WatchedOutput) { // - // If you are fetching pre-filtered blocks, and do not fetch in-block - // descendants of transactions, return any in-block spend of the given - // output. - // Otherwise return None. } } ``` @@ -43,13 +39,9 @@ Filter tx_filter = Filter.new_impl(new Filter.FilterInterface() { } @Override - Option_C2Tuple_usizeTransactionZZ register_output(WatchedOutput output) { + public void register_output(WatchedOutput output) { // - // If you are fetching pre-filtered blocks, and do not fetch in-block - // descendants of transactions, return any in-block spend of the given - // output. - // Otherwise return Option_C2Tuple_usizeTransactionZZ.none(). } }); ```