Page MenuHomePhabricator

Merge #12947: Wallet hd functional test speedup and clarification

Authored by nakihito on Aug 9 2019, 20:10.



6cba60ace2 speed up and clarify/augment checks (Gregory Sanders)

Pull request description:

With `keypool=0` I see no reason to do 300 addresses and sends.

(with --enable-debug)

Before patch:
real	1m10.412s
user	0m49.772s
sys	0m3.988s

real	0m11.566s
user	0m3.344s
sys	0m4.648s

Also added check, since I failed to understand that on startup the wallet already knows about funds by rescanning blocks newer than oldest key birthdate.

Tree-SHA512: cf90f7fe6a437b8b7b1f0707464b9c06085233167826f1a12c3871684664d4d572e13f03e13a718e4537cac39713271c4ac3d9b983e10080b50647caf3cbe82d

Backport of Core PR12947

Test Plan wallet_hd

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

nakihito created this revision.Aug 9 2019, 20:10
Owners added a reviewer: Restricted Owners Package.Aug 9 2019, 20:10
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 9 2019, 20:10
jasonbcox accepted this revision.Aug 9 2019, 21:32
This revision is now accepted and ready to land.Aug 9 2019, 21:32
nakihito updated this revision to Diff 10712.Aug 9 2019, 21:56

Removed newline added to end of timing.json.