Bitcoin Forum
December 10, 2016, 02:59:32 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Why is account showing as empty even after doing a setaccount?  (Read 2178 times)
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
February 26, 2012, 11:53:17 PM
 #21

Perhaps another possibility might be to add an option for listtransactions that would change the "account" being displayed (and filtered) for "send" categories to actually be the one attached to the external address (as perhaps is how the GUI is working at the moment) ?

I finally understand what you're asking. You do not want accounts at all, you just want labels attached to addresses, and the ability to search for them.

I suppose that isn't too hard, and sounds useful indeed.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
1481381972
Hero Member
*
Offline Offline

Posts: 1481381972

View Profile Personal Message (Offline)

Ignore
1481381972
Reply with quote  #2

1481381972
Report to moderator
1481381972
Hero Member
*
Offline Offline

Posts: 1481381972

View Profile Personal Message (Offline)

Ignore
1481381972
Reply with quote  #2

1481381972
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
CIYAM
Legendary
*
Online Online

Activity: 1820


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 27, 2012, 05:15:11 AM
 #22

Yes - that is the idea and thanks for your help - I will look into implementing this as soon as I have some free time (or if anyone else is interested 1 BTC bounty available).

I think it might be useful especially for people who have started using the GUI and then decide they want to put all their tx's into a general ledger.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
CIYAM
Legendary
*
Online Online

Activity: 1820


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 28, 2012, 08:46:13 AM
 #23

Not sure if any dev is watching this thread but I have made suggested source code changes to bitcoinrpc.cpp from this forked repo branch:

https://github.com/ciyam/bitcoin/tree/opt_use_sent_to_addr_for_acc

As I don't have boost or the time to get it and other libs installed at the moment this has not even been compiled (so I have not submitted a pull request).

If any dev (or anyone else) has enough spare time to at least compile and show any errors in my changes then I'd appreciate it.

The change is to the bitcoinrpc command listtransactions whose usage would become as follows:

listtransactions [account] [count=10] [from=0] [usesenttoaddresses=false]

When usesenttoaddresses is set true then the account mapping for "send" category tx's is to the sent to addr (rather than the current behaviour).

EDIT: Link for  commit changes:
https://github.com/ciyam/bitcoin/commits/opt_use_sent_to_addr_for_acc

I do hope to find more spare time to actually compile and test this myself but unfortunately I don't see that happening for quite a while so once again if anyone else has any spare time to check this I would appreciate it so I can then create a pull request.

EDIT: I will start a new thread in the Development board about this and will put a BTC bounty in that.


Cheers,

Ian.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!