Closed NicolasDorier closed 8 years ago
What's the primary differences between this pull and #63?
The only difference should be that I removed the tests fixes which were cherry picked from https://github.com/sipa/bitcoin/pull/68
added some comments, and check if the scriptPubKey is actually segwit before consulting the cache (https://github.com/sipa/bitcoin/pull/70/files#diff-7ec3c68a81efff79b6ca22ac1f1eabbaR1818)
rebased, added description to the PR.
closing for rebased version https://github.com/sipa/bitcoin/pull/101
Some notes about the implementation:
Befinits are:
This commit is only for having a cache that is simple to review and understand. It is probably possible to fix the two first points above, but the code overhead is not worth it when our goal is only to fix the O(n²) issue.