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
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGbe9a9a3d2253: Merge pull request #7214
Branches
Unknown
Tags
Unknown

Event Timeline

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