Page MenuHomePhabricator

[wallet] Support creating a blank wallet

Authored by deadalnix on Mon, Jan 13, 12:47.


Group Reviewers
Restricted Project
rABCbe651fb90eb6: [wallet] Support creating a blank wallet

A blank wallet is a wallet that has no keys, script or watch only things.
A new wallet flag indicating that it is blank will be set when the wallet
is blank. Once it is no longer blank (a seed has been generated, keys or
scripts imported, etc), the flag will be unset.

This is a backport of Core PR15226

Test Plan
make check

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

deadalnix created this revision.Mon, Jan 13, 12:47
Herald added a reviewer: Restricted Project. · View Herald TranscriptMon, Jan 13, 12:47
deadalnix updated this revision to Diff 15395.Mon, Jan 13, 13:05

Fix integration test which wa spartially erroneously commented

Fabien requested changes to this revision.Mon, Jan 13, 15:29
Fabien added a subscriber: Fabien.

The release notes needs to be updated.

6 ↗(On Diff #15395)

I suppose this version number has to be adapted.

7 ↗(On Diff #15395)


1374 ↗(On Diff #15395)

Fix layout.

80 ↗(On Diff #15395)

Missing "": [["--usecli"]],

385 ↗(On Diff #15395)

Please add and -usecli

21 ↗(On Diff #15395)

Note to reviewers: this is not yet in use in our codebase, but it's fine to have it ready for the time the feature is backported.

26 ↗(On Diff #15395)

Move comment on its own line.

This revision now requires changes to proceed.Mon, Jan 13, 15:29
deadalnix added inline comments.Mon, Jan 13, 16:31
7 ↗(On Diff #15395)

Let's just move this in the release notes.

deadalnix updated this revision to Diff 15407.Mon, Jan 13, 16:51

Redo release notes

Fabien requested changes to this revision.Tue, Jan 14, 10:01

Clearing my queue, waiting for other comments to be addressed.

This revision now requires changes to proceed.Tue, Jan 14, 10:01
deadalnix updated this revision to Diff 15443.Tue, Jan 14, 12:55

Address comments

deadalnix added inline comments.Tue, Jan 14, 13:02
385 ↗(On Diff #15395)

What if we had a system that run the tests on a regular basis, and therefore know the timing very well, and therefore could not only fill this file is way more accurate and consistent values, but it could do so 100% automatically.

Fabien accepted this revision.Tue, Jan 14, 13:22
Fabien added inline comments.
26 ↗(On Diff #15443)

There is a tab missing here

This revision is now accepted and ready to land.Tue, Jan 14, 13:22
This revision was automatically updated to reflect the committed changes.