Bitcoin Forum
July 22, 2024, 01:49:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: listtransactions improvements - any comments?  (Read 672 times)
djpnewton (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


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:  

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