listtransactions feature #468

pull djpnewton wants to merge 4 commits into bitcoin:master from djpnewton:master changing 1 files +24 −14
  1. djpnewton commented at 12:33 PM on August 13, 2011: contributor

    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"
    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)
  2. Extra optional parameter to listtransactions ('oldesttonewest' default is
    true).
    e32e41edb5
  3. fix listtransactions such that if the 'from' parameter is larger then the
    number of transactions then none are returned
    9fae2c2461
  4. adhere to the coding conventions 788c35101b
  5. freewil commented at 2:17 AM on September 14, 2011: contributor

    +1

  6. freewil commented at 2:38 AM on September 14, 2011: contributor

    I actually doubt the usefulness of this after realizing there was already the third [from] arg on listtransactions (Wiki has been updated).

  7. djpnewton commented at 2:51 AM on September 14, 2011: contributor

    the problem currently is if the 'from' parameter is greater then the total number of transactions it rolls over and returns an unexpected assortment of results

  8. Merge branch 'master' of https://github.com/bitcoin/bitcoin
    Conflicts:
    	src/rpc.cpp
    db7d5a196b
  9. sipa commented at 12:05 AM on February 27, 2012: member

    This needs rebasing

  10. gavinandresen closed this on Apr 2, 2012

  11. ptschip referenced this in commit cd044f1270 on Apr 27, 2017
  12. dexX7 referenced this in commit c8b392df95 on May 22, 2017
  13. MarcoFalke referenced this in commit fd86f998fc on Sep 29, 2017
  14. HashUnlimited referenced this in commit 74db3b0e3c on Mar 12, 2018
  15. lateminer referenced this in commit 79e7a13b07 on Jan 22, 2019
  16. fjahr referenced this in commit 12230f90ed on Jul 24, 2019
  17. kallewoof referenced this in commit 609323f7b7 on Oct 4, 2019
  18. lateminer referenced this in commit 4fd8dc6949 on Oct 16, 2019
  19. Losangelosgenetics referenced this in commit b96ceee8b6 on Mar 12, 2020
  20. rajarshimaitra referenced this in commit ea34f3d998 on Aug 5, 2021
  21. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me