Bitcoin Forum
February 21, 2017, 05:24:26 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: listtransactions improvements - any comments?  (Read 489 times)
djpnewton
Newbie
*
Offline Offline

Activity: 16


View Profile
August 30, 2011, 03:33:56 AM
 #1

Here are some improvements for displaying a users transactions (say on a website).

1) it is useful to be able to show the transactions from "newest to oldest" rather then "oldest to newest" (generally one wants to check on their most recent activity)
2) by making the call return nothing if the 'from' parameter is greater then the total number of transactions we can implement crude pagination (in lieu of a 'gettransactioncount' api call), at the moment it is impossible to paginate the transactions because listtransactions returns wacky results if the 'from' parameter is used

https://github.com/bitcoin/bitcoin/pull/468

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!