Skip to content

Conversation

codablock
Copy link

The #ifdef ENABLE_WALLET was surrounding all protx commands and also disabled the ones that should work without a wallet. This PR allows to use list and diff now.

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

Looks good 👍

Just one small issue, see below

@UdjinM6 UdjinM6 added this to the 13.0 milestone Nov 29, 2018
@codablock codablock force-pushed the pr_dip3_protxnowallet branch from 68a8e90 to 0a8fffe Compare November 29, 2018 12:34
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 merged commit f6f6d07 into dashpay:develop Nov 29, 2018
@codablock codablock deleted the pr_dip3_protxnowallet branch December 27, 2018 15:23
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Jun 29, 2020
…t compile time (dashpay#2511)

* Don't fully remove protx commands when ENABLE_WALLET is not set

* Check for wallet support at run-time for protx commands

* Only show subcommands that require the wallet when ENABLE_WALLET is set

* Add and use CheckWalletOwnsKey which is able to check wallet support at runtime

* Properly handle disabled wallets in "protx list"

This now also handles the case where ENABLE_WALLET is not defined.

* Drop comment that doesn't fully apply anymore
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

Successfully merging this pull request may close these issues.

2 participants