pub fn tweak_filter(root_secret: &DerivableSecret) -> [u8; 32]Expand description
Deliberately derived from the module root rather than from an account’s subtree, so every account grinds against the same filter.
One pre-grinder therefore serves the whole wallet instead of one per
account, and a recovery still runs a single check_tweak per output —
only the ~1/65536 that pass it are then tried against each account’s
nonces. It also leaves the filter of a wallet that predates accounts
byte-for-byte what it was.