Module tests

Source
Expand description

scanning functionality.

This tests belong to the proof of concept stage of the external wallet support functionality.

Constants§

FAKE_SAPLING_VIEWING_KEY
A fake viewing key in an incorrect format.
ZECPAGES_SAPLING_VIEWING_KEY
The extended Sapling viewing key of ZECpages

Functions§

compact_to_v4
Converts [CompactTx] to Transaction::V4.
fake_block
Generates a fake block containing a Sapling output decryptable by dfvk.
fake_compact_block
Create a fake compact block with provided fake account data.
mock_sapling_efvk
Generates an [zip32::ExtendedFullViewingKey] from seed for tests.
mock_sapling_scanning_keys
Generates num_keys of SaplingScanningKeys for tests for the given Network.
random_compact_tx
Create a random compact transaction.