diff --git a/doc/tracing.md b/doc/tracing.md index 6ec6a6c218a..09a5e1aef34 100644 --- a/doc/tracing.md +++ b/doc/tracing.md @@ -116,7 +116,7 @@ added to and removed (spent) from the cache when we connect a new block. (`chainstate.CoinsTip()`). For example, the RPCs `generateblock` and `getblocktemplate` call `TestBlockValidity()`, which applies the UTXO set changes to a temporary cache. Similarly, mempool consistency checks, which are -frequent on regtest, also apply the the UTXO set changes to a temporary cache. +frequent on regtest, also apply the UTXO set changes to a temporary cache. Changes to the _main_ UTXO cache and to temporary caches trigger the tracepoints. We can't tell if a temporary cache or the _main_ cache was changed. diff --git a/test/lint/lint-files.py b/test/lint/lint-files.py index 7f72fe7c962..78650d257e5 100755 --- a/test/lint/lint-files.py +++ b/test/lint/lint-files.py @@ -78,7 +78,7 @@ def check_all_filenames() -> int: for filename in filenames: if not filename_regex.match(filename): print( - f"""File {repr(filename)} does not not match the allowed filename regexp ('{ALLOWED_FILENAME_REGEXP}').""" + f"""File {repr(filename)} does not match the allowed filename regexp ('{ALLOWED_FILENAME_REGEXP}').""" ) failed_tests += 1 return failed_tests @@ -98,7 +98,7 @@ def check_source_filenames() -> int: for filename in filenames: if not filename_regex.match(filename) and not filename_exception_regex.match(filename): print( - f"""File {repr(filename)} does not not match the allowed source filename regexp ('{ALLOWED_SOURCE_FILENAME_REGEXP}'), or the exception regexp ({ALLOWED_SOURCE_FILENAME_EXCEPTION_REGEXP}).""" + f"""File {repr(filename)} does not match the allowed source filename regexp ('{ALLOWED_SOURCE_FILENAME_REGEXP}'), or the exception regexp ({ALLOWED_SOURCE_FILENAME_EXCEPTION_REGEXP}).""" ) failed_tests += 1 return failed_tests