Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wallet] createwallet RPC - create new wallet at runtime #13058

Merged
merged 3 commits into from Jun 1, 2018

Conversation

jnewbery
Copy link
Contributor

Adds a createwallet RPC to dynamically create a new wallet at runtime.

Includes tests and release notes.

@jnewbery
Copy link
Contributor Author

jnewbery commented Apr 23, 2018

Builds on top of #10740. Please review that first.

}

// Make sure that the wallet path doesn't clash with an existing wallet path
std::set<fs::path> wallet_paths;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in #13028, I think this does not have sufficient concurrency protection (maybe okay since edge case). AFAIK, callers calling CWallet::Verify as well as inside the call, there is no lock being held, thus, I think, it is possible that there could be a race in loadwallet and createwallet bypassing the filename check.

Copy link
Member

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK. Needs rebase.

obj = wallet_name;

return obj;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty line.

@jnewbery
Copy link
Contributor Author

rebased

Copy link
Member

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK, but left a couple of comments for your appreciation.

std::string error;

fs::path wallet_path = fs::absolute(wallet_name, GetWalletDir());
if (fs::symlink_status(wallet_path).type() != fs::file_not_found) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't prevent concurrency which is very unlikely and so can be improved later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CWallet::Verify() below takes the cs_wallets lock, so I think the worst that can happen is the first wallet creation succeeds and the second fails Verify().

self.nodes[0].createwallet('w9')

assert 'w9' in self.nodes[0].listwallets()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also call some method in w9, like get_wallet_rpc('w9').getwalletinfo()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure. Added

@@ -211,5 +211,15 @@ def run_test(self):
# Fail to load if wallet file is a symlink
assert_raises_rpc_error(-4, "Wallet file verification failed: Invalid -wallet path 'w8_symlink'", self.nodes[0].loadwallet, 'w8_symlink')

self.log.info("Test dynamic wallet creation.")

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could test invalid argument.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't exhaustively test invalid args for RPCs (since it's just hitting the univalue type checking code).

"\nArguments:\n"
"1. \"wallet_name\" (string, required) The name for the new wallet.\n"
"\nResult:\n"
"<walletname> (string) The wallet name if created successfully.\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return same format as loadwallet?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

assert_raises_rpc_error(-4, "Wallet w2 already exists.", self.nodes[0].createwallet, 'w2')

# Successfully create a wallet with a new name
self.nodes[0].createwallet('w9')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assert result.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@jnewbery
Copy link
Contributor Author

Addressed @promag comments.

@promag
Copy link
Member

promag commented May 18, 2018

Needs rebase.

@jonasschnelli
Copy link
Contributor

Tested ACK 53e71dc4474db083f99ca0d30ca3abd5a492b1a6.
Conceptually, I think adding an option for load/not-load could make sense,... or is the use care of pure wallet creation useless? Eventually create should never load since it should not hurt on RPC level to call a chain of commands to complete a task.

@jnewbery
Copy link
Contributor Author

I think adding an option for load/not-load could make sense,... or is the use care of pure wallet creation useless? Eventually create should never load.

My first thoughts would be that walletcreate should always load the wallet on creation. It seems unintuitive to have to call loadwallet immediately after creating a new wallet.

If there's a requirement for 'create without load', then I think that should be provided by a bitcoin-wallet-tool. There's no need to have a full node running if you just want to create a new wallet file.

@jonasschnelli
Copy link
Contributor

My first thoughts would be that walletcreate should always load the wallet on creation. It seems unintuitive to have to call loadwallet immediately after creating a new wallet.

Not sure here.
We do design an RPC interface/API and not end user function representations. An additional step seems acceptable if it widens the usability of the API.... though the question of what use cases a pure create could fulfil is one that may not have concrete answers today.

@jnewbery
Copy link
Contributor Author

@jonasschnelli - I'm happy to take wider feedback on this. My preference would be to keep the current branch's behaviour (always load when creating) and decide whether to add create-without-load later with a new argument. I'm happy to change that though if others think we should have create-without-load now.

@jonasschnelli
Copy link
Contributor

Yes. Lets try to get more opinions... I guess it could also be added later (an option to make create not load).
However, this is a great PR and I'd like to underline my tested ACK #13058 (comment)

@promag
Copy link
Member

promag commented May 21, 2018

Well if createwallet creates and loads the wallet and there is no use case for just create, then a valid alternative would be to add an option to loadwallet to create in case it doesn't exist?

@jnewbery
Copy link
Contributor Author

a valid alternative would be to add an option to loadwallet to create in case it doesn't exist.

I'd prefer to keep these two methods separate. It seems to me that reloading an existing wallet and creating a new wallet are completely different operations and should have their own RPC methods.

@jonasschnelli jonasschnelli added this to the 0.17.0 milestone May 25, 2018
@promag
Copy link
Member

promag commented May 25, 2018

Needs rebase after #13063.

obj.pushKV("warning", warning);

return obj;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, remove empty line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

"createwallet \"filename\"\n"
"\nCreates and loads a new wallet.\n"
"\nArguments:\n"
"1. \"wallet_name\" (string, required) The name for the new wallet.\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here wallet_name, above filename 🙄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@jnewbery
Copy link
Contributor Author

Addressed @promag's comments.

throw JSONRPCError(RPC_WALLET_ERROR, "Wallet file verification failed: " + error);
}

CWallet * const wallet = CWallet::CreateWalletFromFile(wallet_name, fs::absolute(wallet_name, GetWalletDir()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

std::shared_ptr<CWallet> wallet = CWallet::CreateWalletFromFile(...);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks promag. Rebased and fixed

Add a `createwallet` RPC to allow wallets to be created dynamically at
runtime. This functionality is currently only available through RPC and
newly created wallets will not be displayed in the GUI.
jonspock pushed a commit to devaultcrypto/devault that referenced this pull request Mar 7, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to devaultcrypto/devault that referenced this pull request Mar 14, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to devaultcrypto/devault that referenced this pull request Mar 21, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Mar 24, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Apr 6, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Apr 8, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Apr 8, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Apr 8, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Apr 8, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Apr 9, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Apr 17, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request May 23, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request May 25, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 13, 2020
…at runtime

f7e153e [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e8 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
9421317 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866
jonspock pushed a commit to jonspock/devault that referenced this pull request Jul 9, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Jul 10, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Jul 17, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Jul 17, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Jul 20, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Jul 29, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Jul 31, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to devaultcrypto/devault that referenced this pull request Aug 5, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to devaultcrypto/devault that referenced this pull request Aug 6, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
jonspock pushed a commit to jonspock/devault that referenced this pull request Aug 7, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
proteanx pushed a commit to devaultcrypto/devault that referenced this pull request Aug 8, 2020
Summary:
f7e153e95 [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e830 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
942131774 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866

Backport of Core PR13058
bitcoin/bitcoin#13058

Test Plan:
  make check
  test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc, fpelliccioni

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: fpelliccioni

Differential Revision: https://reviews.bitcoinabc.org/D4220
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 16, 2020
…at runtime

f7e153e [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e8 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
9421317 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 18, 2020
…at runtime

f7e153e [wallets] [docs] Add release notes for createwallet RPC. (John Newbery)
32167e8 [wallet] [tests] Add tests for `createwallet` RPC. (John Newbery)
9421317 [wallet] [rpc] Add `createwallet` RPC (John Newbery)

Pull request description:

  Adds a `createwallet` RPC to dynamically create a new wallet at runtime.

  Includes tests and release notes.

Tree-SHA512: e0d89e3ae498234e9db5b827c56804cbab64f18a1875e2b5e676172c110278ea1b9e93a8a61b8dd80e2f2a691490bf229e923e4ccb284a1d3e420b8317815866
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants