Add vout to ListTransactions output #4255

pull cozz wants to merge 1 commits into bitcoin:master from cozz:cozz12 changing 3 files +56 −43
  1. cozz commented at 1:56 AM on May 30, 2014: contributor

    Fixes #1613 and #4244.

    Adds vout to void ListTransactions which affects the RPCs:

    • listsinceblock
    • listtransactions
    • gettransaction
  2. jgarzik commented at 6:59 PM on June 4, 2014: contributor

    untested ACK

  3. laanwj commented at 7:27 AM on July 8, 2014: member

    Untested ACK. Needs rebase.

  4. in src/wallet.h:None in 1122e8fff2 outdated
     442 | @@ -443,6 +443,7 @@ static void WriteOrderPos(const int64_t& nOrderPos, mapValue_t& mapValue)
     443 |      mapValue["n"] = i64tostr(nOrderPos);
     444 |  }
     445 |  
     446 | +typedef boost::tuple<CTxDestination, int64_t, int> output_t;
    


    laanwj commented at 7:28 AM on July 8, 2014:

    Hmm I'm not so sure about using a boost::tuple here. Why would this be preferable over a structure with named fields? With named fields the code is easier to read (ie .destination, .amount, .vout instead of .get<1> .get<2> .get<3>).

  5. cozz commented at 8:38 AM on July 13, 2014: contributor

    update:

    • switched from boost::tuple to structure
  6. Add vout to ListTransactions output 1b4568cb0f
  7. cozz commented at 2:22 PM on July 15, 2014: contributor

    rebased

  8. BitcoinPullTester commented at 4:20 PM on July 15, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4255_1b4568cb0f00dd7a24575fe54c017e743c4e7d35/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  9. laanwj commented at 10:56 AM on July 18, 2014: member

    Nice. Tested ACK.

  10. laanwj merged this on Jul 18, 2014
  11. laanwj closed this on Jul 18, 2014

  12. laanwj referenced this in commit eaa9400781 on Jul 18, 2014
  13. LinusU commented at 12:27 PM on July 18, 2014: none

    @laanwj Sorry I never got the time to test this, glad too see that it got merged thought :) :+1:

  14. MarcoFalke 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-13 15:15 UTC

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