-
Notifications
You must be signed in to change notification settings - Fork 725
[Wallet] Remove reserve balance #1373
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] Remove reserve balance #1373
Conversation
|
Concept ACK, it is easy enough to simply lock n UTXO's if someone really doesn't want to spend/stake some coins. |
8cdb772 to
721b109
Compare
|
#1366 closed and release notes updated. |
furszy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 721b109.
Fuzzbawls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 721b109
…be shared 77998ed Combine common error strings so translations can be shared and reused (Luke Dashjr) Pull request description: Backport of bitcoin#7257 Adds helper methods for common translatable string outputs during init, end result is that the number of strings sent to Transifex is reduced/standardized. Based on top of #1375 Conflicts with #1373 (this to be rebased after both #1373 and #1375 are merged) ACKs for top commit: random-zebra: utACK 77998ed furszy: utACK 77998ed and merging.. Tree-SHA512: 9805b931829f76cbc34b43b7e6141b236d162bd0267342714222612b8e51cdc9d8b35e68971775bd7a489e95a3c4f9b533bbf1ecaa0e56b19a443ed308141c87
721b109 [Doc] Remove reservebalance (random-zebra) a4627c6 [Core] remove nReserveBalance ext var (and -reservebalance option) (random-zebra) d481e77 [Wallet] StakeableCoins: remove reserve balance check (random-zebra) 35f0122 [RPC] Remove reservebalance RPC method (random-zebra) Pull request description: `reservebalance` is a leftover from peercoin code which was probably never used. Currently it is also broken: the final loop in `CWallet::StakeableCoins` is useless (updating an un-used local variable `nAmountSelected` and not removing any utxo from the vector of stakeable coins). Failing to see a valid use-case for it (not already provided by the stake-split threshold), I propose to just remove it. This also makes the call to `GetStakingBalance` from `StakeableCoins` not needed (thus one less loop over mapWallet txes). If this is accepted (at least conceptually) will update the release notes, and close PIVX-Project#1366 (superseded by this one). ACKs for top commit: furszy: utACK 721b109. Fuzzbawls: utACK 721b109 Tree-SHA512: 972749a7181dbc373b1bc64a6ceae357fb478f49cefe8f4c2271bf8f3c2a8088d69e46a8687ed007eab8287a124df0e266ad626d01bc22a11742a3b9b8a00284
…lations can be shared 77998ed Combine common error strings so translations can be shared and reused (Luke Dashjr) Pull request description: Backport of bitcoin#7257 Adds helper methods for common translatable string outputs during init, end result is that the number of strings sent to Transifex is reduced/standardized. Based on top of PIVX-Project#1375 Conflicts with PIVX-Project#1373 (this to be rebased after both PIVX-Project#1373 and PIVX-Project#1375 are merged) ACKs for top commit: random-zebra: utACK 77998ed furszy: utACK 77998ed and merging.. Tree-SHA512: 9805b931829f76cbc34b43b7e6141b236d162bd0267342714222612b8e51cdc9d8b35e68971775bd7a489e95a3c4f9b533bbf1ecaa0e56b19a443ed308141c87
721b109 [Doc] Remove reservebalance (random-zebra) a4627c6 [Core] remove nReserveBalance ext var (and -reservebalance option) (random-zebra) d481e77 [Wallet] StakeableCoins: remove reserve balance check (random-zebra) 35f0122 [RPC] Remove reservebalance RPC method (random-zebra) Pull request description: `reservebalance` is a leftover from peercoin code which was probably never used. Currently it is also broken: the final loop in `CWallet::StakeableCoins` is useless (updating an un-used local variable `nAmountSelected` and not removing any utxo from the vector of stakeable coins). Failing to see a valid use-case for it (not already provided by the stake-split threshold), I propose to just remove it. This also makes the call to `GetStakingBalance` from `StakeableCoins` not needed (thus one less loop over mapWallet txes). If this is accepted (at least conceptually) will update the release notes, and close PIVX-Project#1366 (superseded by this one). ACKs for top commit: furszy: utACK 721b109. Fuzzbawls: utACK 721b109 Tree-SHA512: 972749a7181dbc373b1bc64a6ceae357fb478f49cefe8f4c2271bf8f3c2a8088d69e46a8687ed007eab8287a124df0e266ad626d01bc22a11742a3b9b8a00284
…lations can be shared 77998ed Combine common error strings so translations can be shared and reused (Luke Dashjr) Pull request description: Backport of bitcoin#7257 Adds helper methods for common translatable string outputs during init, end result is that the number of strings sent to Transifex is reduced/standardized. Based on top of PIVX-Project#1375 Conflicts with PIVX-Project#1373 (this to be rebased after both PIVX-Project#1373 and PIVX-Project#1375 are merged) ACKs for top commit: random-zebra: utACK 77998ed furszy: utACK 77998ed and merging.. Tree-SHA512: 9805b931829f76cbc34b43b7e6141b236d162bd0267342714222612b8e51cdc9d8b35e68971775bd7a489e95a3c4f9b533bbf1ecaa0e56b19a443ed308141c87
721b109 [Doc] Remove reservebalance (random-zebra) a4627c6 [Core] remove nReserveBalance ext var (and -reservebalance option) (random-zebra) d481e77 [Wallet] StakeableCoins: remove reserve balance check (random-zebra) 35f0122 [RPC] Remove reservebalance RPC method (random-zebra) Pull request description: `reservebalance` is a leftover from peercoin code which was probably never used. Currently it is also broken: the final loop in `CWallet::StakeableCoins` is useless (updating an un-used local variable `nAmountSelected` and not removing any utxo from the vector of stakeable coins). Failing to see a valid use-case for it (not already provided by the stake-split threshold), I propose to just remove it. This also makes the call to `GetStakingBalance` from `StakeableCoins` not needed (thus one less loop over mapWallet txes). If this is accepted (at least conceptually) will update the release notes, and close PIVX-Project#1366 (superseded by this one). ACKs for top commit: furszy: utACK 721b109. Fuzzbawls: utACK 721b109 Tree-SHA512: 972749a7181dbc373b1bc64a6ceae357fb478f49cefe8f4c2271bf8f3c2a8088d69e46a8687ed007eab8287a124df0e266ad626d01bc22a11742a3b9b8a00284
…lations can be shared 77998ed Combine common error strings so translations can be shared and reused (Luke Dashjr) Pull request description: Backport of bitcoin#7257 Adds helper methods for common translatable string outputs during init, end result is that the number of strings sent to Transifex is reduced/standardized. Based on top of PIVX-Project#1375 Conflicts with PIVX-Project#1373 (this to be rebased after both PIVX-Project#1373 and PIVX-Project#1375 are merged) ACKs for top commit: random-zebra: utACK 77998ed furszy: utACK 77998ed and merging.. Tree-SHA512: 9805b931829f76cbc34b43b7e6141b236d162bd0267342714222612b8e51cdc9d8b35e68971775bd7a489e95a3c4f9b533bbf1ecaa0e56b19a443ed308141c87
reservebalanceis a leftover from peercoin code which was probably never used.Currently it is also broken: the final loop in
CWallet::StakeableCoinsis useless (updating an un-used local variablenAmountSelectedand not removing any utxo from the vector of stakeable coins).Failing to see a valid use-case for it (not already provided by the stake-split threshold), I propose to just remove it.
This also makes the call to
GetStakingBalancefromStakeableCoinsnot needed (thus one less loop over mapWallet txes).If this is accepted (at least conceptually) will update the release notes, and close #1366 (superseded by this one).