Fix `getaddednodeinfo` RPC call with dns=false #3586

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2014_01_fix_addednode changing 1 files +6 −4
  1. laanwj commented at 9:34 AM on January 27, 2014: member

    The getaddednodeinfo RPC call, when invoked with the dns flag set to false, returns a malformed JSON object with duplicate keys.

    Change this to return an array of objects with one key as shown in the help message.

    Fixes #3581.

  2. BitcoinPullTester commented at 9:57 AM on January 27, 2014: none

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

  3. laanwj closed this on Jan 27, 2014

  4. laanwj reopened this on Jan 29, 2014

  5. Fix `getaddednodeinfo` RPC call with dns=false
    The getaddednodeinfo RPC call, when invoked with the dns flag set to
    false, returns a malformed JSON object with duplicate keys.
    
    Change this to return an array of objects with one key as
    shown in the help message.
    
    Fixes #3581.
    4412c5a759
  6. laanwj referenced this in commit 3160a9b92d on Jan 29, 2014
  7. laanwj merged this on Jan 29, 2014
  8. laanwj closed this on Jan 29, 2014

  9. laanwj deleted the branch on Apr 9, 2014
  10. 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:16 UTC

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