Organize RPCCommands table #3964

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2014_03_rpccommands_table changing 2 files +57 −52
  1. laanwj commented at 11:30 AM on March 26, 2014: member

    Use sensible categories (overall control, P2P, blockchain/UTXO, mining, utils, wallet, wallet-enabled mining) and sort within each.

    validateaddress was wrongly categorized under 'Mining'. Also remove unnecessary #ifdef ENABLE_WALLET from rpcnet.cpp.

    Functionality-neutral change (a way to display the categories in "help" would be nice as well, but is not covered in this pull).

  2. alexwaters commented at 10:15 PM on March 28, 2014: contributor

    ACK

  3. sipa commented at 4:26 PM on March 29, 2014: member

    It seems we're heading towards two separate classifications (one functionality-based and mostly what the file organization of rpc*.cpp looks like, another dependency-based like here). Do we want to head towards a single one?

    Things like the raw transaction API are hard, as together they provide a single functionality, but the dependency/module interactions of the separate RPCs is very different.

  4. laanwj commented at 4:56 PM on March 29, 2014: member

    Well IMO the only functions that are problematic are the functions that optionally use the wallet, as they make it impossible to do a clean split between the wallet and node functionality. I don't mind what functions end up in what category and if you have a better proposal that's great.

    BTW: welcome back @alexwaters!

  5. sipa commented at 5:16 PM on March 29, 2014: member

    No, no better proposal. I'm fine with either functionality-based or dependency-based, but we should do it consistently (meaning, that's also how the rpc methods should be organized into files).

  6. laanwj commented at 5:32 PM on March 29, 2014: member

    Agreed. Well, I'll move the "raw transactions API" calls (at least those that are available without wallet) to their own category, I think that's a good idea.

  7. Organize RPCCommands table
    Use sensible categories (overall control, P2P, blockchain/UTXO and
    mining, wallet, wallet-enabled mining) and sort within each.
    
    Also remove unnecessary #ifdef ENABLE_WALLET from `rpcnet.cpp`.
    
    Functionality-neutral change.
    ab88ed93ef
  8. laanwj referenced this in commit e18bc583d4 on Mar 31, 2014
  9. laanwj merged this on Mar 31, 2014
  10. laanwj closed this on Mar 31, 2014

  11. BitcoinPullTester commented at 6:52 AM on March 31, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/acddef1a902265e3fa401bb4b0597661383214c2 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.

  12. laanwj deleted the branch on Apr 9, 2014
  13. 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-13 18:15 UTC

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