RPC getrawmempool option to return decoded txs #3256

issue gastonmorixe openend this issue on November 14, 2013
  1. gastonmorixe commented at 7:08 pm on November 14, 2013: none

    I’d like to see an option in RPC ‘getrawmempool’ so it returns the decoded txs instead of the hash only.

    This is my first try, please don’t laugh :) It is my first c++ code ever.

    https://gist.github.com/imton/cc1db0f79c5d7099039d

    As we discussed in IRC, the idea should be to refactor “getrawtransaction” and put it into a utility method so we can reuse that here.

    I will try to do it, at least for me because I need it. Would love to hear what you think.

    Thanks, ton.

  2. gavinandresen commented at 9:50 pm on November 14, 2013: contributor
    NACK. Use getrawtransaction <txid> true to get decoded transactions. If you want them all, you can bundle up multiple getrawtransaction requests in one JSON-2.0 “batch” request (see http://www.jsonrpc.org/specification#batch ).
  3. gastonmorixe commented at 1:49 am on November 22, 2013: none
    @gmaxwell still, why couldn’t the option exist?
  4. laanwj commented at 8:16 am on May 9, 2014: member
    Consensus seems to be to close this. It is already possible with the current functionality.
  5. laanwj closed this on May 9, 2014

  6. Bushstar referenced this in commit 1a1cec224a on Apr 8, 2020
  7. Bushstar referenced this in commit 957ffa259c on Apr 8, 2020
  8. 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: 2024-10-05 01:12 UTC

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