HomePhabricator

Reduce inefficiency of GetAccountAddress()
2409865e14dcUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Reduce inefficiency of GetAccountAddress()

Don't scan the wallet to see if the current key has been used if we're going to make a new key anyway.
Stop scanning the wallet as soon as we see that the current key has been used.
Don't call isValid() twice on the current key.

Details

Provenance
dooglusAuthored on Dec 29 2015, 00:56
deadalnixPushed on May 14 2017, 22:04
Parents
rABCbe9a9a3d2253: Merge pull request #7214
Branches
Unknown
Tags
Unknown

Event Timeline

Chris Moore <dooglus@gmail.com> committed rABC2409865e14dc: Reduce inefficiency of GetAccountAddress() (authored by Chris Moore <dooglus@gmail.com>).Dec 29 2015, 00:56