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

Force Watch-Only on Torgap Hosted bitcoin-core install #78

Open
5 tasks
ChristopherA opened this issue Dec 22, 2020 · 1 comment
Open
5 tasks

Force Watch-Only on Torgap Hosted bitcoin-core install #78

ChristopherA opened this issue Dec 22, 2020 · 1 comment

Comments

@ChristopherA
Copy link
Contributor

@Fonta1n3:

Is there some RPC command that we can set in bitcoin-core such that, when blacklisted (inverse of the RPC whitelist bitcoin/bitcoin#12248) on a remote VPS full-node, would allow all the watch-only features that Gordian Wallet needs to do cool & cold policy-based accounts, but would not allow a user to put private keys or xprvs on the remote server?

If this was possible, and if Gordian Wallet could detect this blacklist in advance, this would allow Blockchain Commons to offer a free Torgap watch-only service for our mainnet beta like currently we do for testnet, and also allow users to use their own watch-only install using Bitcoin Standup on a VPN more safely.

  • What RPC command(s) could we blacklist?
  • Does blacklisting that command sufficient?
  • Will all the other commands needed for watch-only cool and cold policy scenarios still function?
  • Can Gordian Wallet determine that the full node has blacklisted that command, and not allow warm policy scenarios.
  • Should QuickConnect 2.0 tell a client that this Torgap is restricted watch-only full-node server?

/cc @JeremyRubin @kallealm @wolfmcnally @hxw

@Fonta1n3
Copy link
Contributor

Fonta1n3 commented Dec 23, 2020

@Fonta1n3:

Is there some RPC command that we can set in bitcoin-core such that, when blacklisted (inverse of the RPC whitelist bitcoin/bitcoin#12248) on a remote VPS full-node, would allow all the watch-only features that Gordian Wallet needs to do cool & cold policy-based accounts, but would not allow a user to put private keys or xprvs on the remote server?

Yes.

If this was possible, and if Gordian Wallet could detect this blacklist in advance, this would allow Blockchain Commons to offer a free Torgap watch-only service for our mainnet beta like currently we do for testnet, and also allow users to use their own watch-only install using Bitcoin Standup on a VPN more safely.

It is a matter of whitelisting specific rpc commands as Gordian Server currently does, if the command is not on the whitelist it is implicitly "blacklisted".

  • Does blacklisting that command sufficient?

We need to remove "warm" wallets from the UI in GW, so that all wallets are created with disable_private_keys = true.

  • Will all the other commands needed for watch-only cool and cold policy scenarios still function?

Yes.

  • Can Gordian Wallet determine that the full node has blacklisted that command, and not allow warm policy scenarios.

When I run bitcoin-cli getrpcwhitelist I get an error, maybe its coming in 0.21?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants