Module tests

Source
Expand description

General scanner database tests.

Functions§

add_fake_keys
Add fake keys to storage for testing purposes.
add_fake_results
Add fake results to storage for testing purposes.
fake_sapling_results
Accepts an iterator of TransactionIndexes and returns a BTreeMap with empty results
new_test_storage
Returns an empty Storage suitable for testing.