-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(chain)!: remove
inner
method from KeychainTxOutIndex
It's desirable to have the inner SPK index internal to the `keychain_txout` module, which aims to provide views into the set of revealed SPKs for a given keychain. The inner index also functions as a cache of unrevealed SPKs, i.e. the lookahead. We test the functionality of the lookahead by checking the value returned from `KeychainTxOutIndex::spk_at_index` matches the SPK derived by the descriptor at that index for indices ranging from the last revealed to the expected last stored.
- Loading branch information
1 parent
7969898
commit 445f2f2
Showing
2 changed files
with
52 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters