Bitcoin Forum
May 10, 2024, 03:28:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: svn rev 103/104: listaccounts, listtransactions*, and -rpctimeout  (Read 1813 times)
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
December 16, 2010, 01:22:50 AM
Last edit: December 16, 2010, 06:21:12 PM by gavinandresen
 #1

I just committed svn rev 103.  Changes are:

listaccounts :  lists all the accounts in your wallet along with their current balances.

listtransactions : call it with no arguments, or give it '*' as the account name, and it lists the last N (default 10, as before) transactions from all accounts.  Part of this change is disallowing '*' as an account name.

-rpctimeout : Thanks to Mt`AwAy who pointed out that, if somebody was allowed to connect to the bitcoin rpc port (via -rpcallowip), then they could connect, do nothing, and hang the connection, causing a denial-of-RPC-service.  Now bitcoin's RPC thread will close the connection if it doesn't get the HTTP request within -rpctimeout (default 30) seconds.

How often do you get the chance to work on a potentially world-changing project?
1715311718
Hero Member
*
Offline Offline

Posts: 1715311718

View Profile Personal Message (Offline)

Ignore
1715311718
Reply with quote  #2

1715311718
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
December 16, 2010, 06:24:05 PM
 #2

... and I just noticed an egregious bug:  listtransactions was reporting the receiving address instead of the account name for "receive" transactions.  Fix is svn rev 104.  Please bang on it and let me know if I screwed anything else up.

While I was committing, I also added "time" to transaction info output, and fixed a little bug reported a while ago (setgenerate true 0 is now the same as setgenerate false).

How often do you get the chance to work on a potentially world-changing project?
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
January 15, 2011, 02:30:39 PM
 #3

When will the official release of the next version of the client with these features?

New bitcoin lottery: probiwon.com
- Moжeт, ты eщё и в Heвидимyю Pyкy Pынкa вepyeшь? - Зaчeм жe вepoвaть в тo, чтo мoжнo нaблюдaть нeпocpeдcтвeннo?
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
January 15, 2011, 10:35:06 PM
 #4

When will the official release of the next version of the client with these features?

There's one tricky accounts-related bug that I think needs to get fixed before the next release:
   https://github.com/bitcoin/bitcoin/issues#issue/25

The only other possibly critical bug is:
  https://github.com/bitcoin/bitcoin/issues/#issue/28

... although I haven't been able to reproduce it, even running bitcoind on top of the 'valgrind' memory checker.

I plan to pull patches into the integration git branch early next week, and I'll ask for help testing the result.

How often do you get the chance to work on a potentially world-changing project?
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470
Merit: 1005


Bringing Legendary Har® to you since 1952


View Profile
January 16, 2011, 04:35:02 AM
 #5

BTW:

Did Satoshi contribute anything to bitcoin code lately ? You know, there are already rumors on the forum that he is dead or whatever Tongue
* ShadowOfHarbringer is too lazy to check himself.

Pages: [1]
  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!