-
Notifications
You must be signed in to change notification settings - Fork 717
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] Kill Accounts #1911
[Wallet] Kill Accounts #1911
Conversation
src/wallet/rpcwallet.cpp
Outdated
" \"amount\": x.xxx, (numeric) The amount in PIV. This is negative for the 'send' category, and for the\n" | ||
" 'move' category for moves outbound. It is positive for the 'receive' category,\n" | ||
" and for the 'move' category for inbound funds.\n" | ||
" \"category\":\"send|receive\", (string) The transaction category.\n" |
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.
There are actually other possible categories (orphan
, immature
, generate
).
We, also, probably want to remove the mention to the move
category in the previous field (address), now that "accounting entries" are a thing of the past.
This finally removes the last remnants of the account API, which was deprecated in v4.2.0 in favor of a new label API. Up until this commit, it was possible to still use the old account API by starting the wallet with `-deprecatedrpc=account`, but this functionality is now removed.
9811f08
to
c6634c0
Compare
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 c6634c0
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.
good cleanup ☕ , utACK c6634c0 .
Left a comment for a future PR.
if (involvesWatchonly || (::IsMine(*pwalletMain, r.destination) & ISMINE_WATCH_ONLY)) | ||
entry.pushKV("involvesWatchonly", true); | ||
MaybePushAddress(entry, r.destination); | ||
if (wtx.IsCoinBase()) { |
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.
Not for this PR but this should be if (wtx.IsCoinBase() || wtx.IsCoinstake()) {
This finally removes the last remnants of the account API, which was
deprecated in v4.2.0 in favor of a new label API.
Up until this commit, it was possible to still use the old account API
by starting the wallet with
-deprecatedrpc=account
, but thisfunctionality is now removed.
Closes #1706