In a wallet in pruned mode, show balance of imported (watch only and active) addresses. #8497

issue ghost openend this issue on August 10, 2016
  1. ghost commented at 10:35 pm on August 10, 2016: none

    If a user is not interested in the history (metadata) of his transactions, “importaddress” and “importprivkey” don’t require a wallet with pruned blockchain to download the whole blockchain again (the utxo set is enough).

    As I have checked, it is possible in pruned mode to import addresses but they will only show new incoming transactions not the last UTXO value.

    When this feature is available, it becomes possible in pruned mode to import the private keys of a paper wallet into a hot wallet.

    I have first discussed this issue with experts on Reddit here: https://redd.it/4w9s6q

  2. jonasschnelli added the label Feature on Aug 11, 2016
  3. jonasschnelli added the label Wallet on Aug 11, 2016
  4. jonasschnelli commented at 11:43 am on August 11, 2016: contributor

    But I think we should really use clear terms here.

    • “Pruned Blockchain” is what we currently support in Bitcoin-Core with the -prune option.
    • “Pruned wallet” IMO is something that would remove old wallet transaction with the goal to increase the wallet load and displayer performance (currently not implemented in Bitcoin Core)

    This feature request is under the term “Pruned blockchain”. I think it would be possible to use an initial balance calculated through the UTXO set. Although I’m not sure if we want to support a such feature in Bitcoin-Core. Also the missing history could confuse users, it would lead to districting imported key during pruned blockchains, labeling them different on RPC as well as on the GUI level.

  5. laanwj commented at 11:57 am on August 11, 2016: member

    I think this would be a useful feature. If the user doesn’t have a need for history, then a scan over the UTXO set suffices to get the balance correct for an imported/watch-only address. This is faster and works with a pruned block chain.

    Agree with @jonasschnelli on the clear use of terms. And please, don’t all it a “pruned wallet”, the word “prune” is already over-used in bitcoin-land (ultra-prune #1677, pruned blockchains, ….). And people, for fact, already call a blockchain-pruning Bitcoin Core instance a “pruned wallet”. Let’s find another name for limited-history wallets.

    BTW see also #5389.

  6. ghost commented at 1:26 pm on August 11, 2016: none
    Thanks a lot and I’ll be looking forward for this feature! I agree, wallet in pruned mode or limited-history wallet sounds already much better. Groeten uit Oegstgeest!
  7. unknown renamed this:
    In a pruned wallet, show balance of imported (watch only and active) addresses.
    In a wallet in pruned mode, show balance of imported (watch only and active) addresses.
    on Aug 12, 2016
  8. ghost commented at 11:30 pm on August 20, 2016: none

    This new wallet feature would be perfect in combination with Jonas Schnelli’s proposal:

    https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-February/012478.html

  9. unknown closed this on Aug 20, 2016

  10. unknown reopened this on Aug 20, 2016

  11. ryanofsky referenced this in commit e491b4c07a on Nov 11, 2016
  12. ryanofsky referenced this in commit 3fc4535171 on Nov 11, 2016
  13. ryanofsky referenced this in commit 37a31b2e3a on Nov 14, 2016
  14. ryanofsky referenced this in commit a5b980f91e on Nov 21, 2016
  15. ryanofsky referenced this in commit 3051a47fc2 on Nov 29, 2016
  16. ryanofsky referenced this in commit daa3954742 on Nov 29, 2016
  17. ryanofsky referenced this in commit 4c84290b2d on Nov 29, 2016
  18. ryanofsky referenced this in commit 454c314710 on Nov 30, 2016
  19. ryanofsky referenced this in commit 4139b8fbe9 on Dec 5, 2016
  20. ryanofsky referenced this in commit b26a64c571 on Dec 9, 2016
  21. ryanofsky referenced this in commit efc18dd76e on Dec 12, 2016
  22. ryanofsky referenced this in commit 9a3a7498d1 on Dec 12, 2016
  23. ryanofsky referenced this in commit 63d11c8f5c on Dec 13, 2016
  24. ryanofsky referenced this in commit 408e3e70b3 on Dec 15, 2016
  25. ryanofsky referenced this in commit a63ec0e103 on Dec 15, 2016
  26. ryanofsky referenced this in commit b53f75559a on Dec 19, 2016
  27. ryanofsky referenced this in commit 683c6dafea on Jan 2, 2017
  28. ryanofsky referenced this in commit 7eb9413ff7 on Jan 2, 2017
  29. sangaman commented at 5:43 am on August 23, 2017: contributor
    I think this would be a desirable feature and would love to see it in a future release.
  30. gdistasi commented at 4:00 pm on May 27, 2020: none

    This is a fundamental feature as it encourages the use of full nodes, even if in pruned mode.

    History is optional, as the important thing is being able to get accurate balance and being able to spend the coins.

  31. jb55 commented at 2:53 pm on August 24, 2020: contributor
    Importing wallets into pruned nodes would be an awesome feature. Surprised this issue doesn’t have more activity. Going to look into what it take to code this up.
  32. willcl-ark assigned willcl-ark on Sep 21, 2023
  33. willcl-ark assigned achow101 on Sep 21, 2023
  34. achow101 commented at 4:53 pm on September 21, 2023: member
    The current structure of the wallet does allow for this to be done. It would require a pretty significant rewrite of transaction and UTXO handling that is currently basically infeasible. As such, closing this as not planned.
  35. achow101 closed this on Sep 21, 2023

  36. bitcoin locked this on Sep 20, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me