Bitcoin Forum
May 06, 2024, 11:03:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Why is account showing as empty even after doing a setaccount?  (Read 2489 times)
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


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.

I do Bitcoin stuff.
1715036614
Hero Member
*
Offline Offline

Posts: 1715036614

View Profile Personal Message (Offline)

Ignore
1715036614
Reply with quote  #2

1715036614
Report to moderator
1715036614
Hero Member
*
Offline Offline

Posts: 1715036614

View Profile Personal Message (Offline)

Ignore
1715036614
Reply with quote  #2

1715036614
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715036614
Hero Member
*
Offline Offline

Posts: 1715036614

View Profile Personal Message (Offline)

Ignore
1715036614
Reply with quote  #2

1715036614
Report to moderator
1715036614
Hero Member
*
Offline Offline

Posts: 1715036614

View Profile Personal Message (Offline)

Ignore
1715036614
Reply with quote  #2

1715036614
Report to moderator
CIYAM (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


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 (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 28, 2012, 08:46:13 AM
Last edit: February 29, 2012, 03:26:15 AM by CIYAM Pty. Ltd.
 #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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!