Bitcoin Forum
November 21, 2017, 02:31:37 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: svn rev 103/104: listaccounts, listtransactions*, and -rpctimeout  (Read 1682 times)
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
December 16, 2010, 01:22:50 AM
 #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?
1511274697
Hero Member
*
Offline Offline

Posts: 1511274697

View Profile Personal Message (Offline)

Ignore
1511274697
Reply with quote  #2

1511274697
Report to moderator
1511274697
Hero Member
*
Offline Offline

Posts: 1511274697

View Profile Personal Message (Offline)

Ignore
1511274697
Reply with quote  #2

1511274697
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511274697
Hero Member
*
Offline Offline

Posts: 1511274697

View Profile Personal Message (Offline)

Ignore
1511274697
Reply with quote  #2

1511274697
Report to moderator
1511274697
Hero Member
*
Offline Offline

Posts: 1511274697

View Profile Personal Message (Offline)

Ignore
1511274697
Reply with quote  #2

1511274697
Report to moderator
1511274697
Hero Member
*
Offline Offline

Posts: 1511274697

View Profile Personal Message (Offline)

Ignore
1511274697
Reply with quote  #2

1511274697
Report to moderator
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


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


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
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


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


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:  

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!