bitcoin/src/rpc
MarcoFalke 02cf20b9f5
Merge #20756: [doc] Add missing field (permissions) to the getpeerinfo help
667d203687 [doc] Add permissions to the getpeerinfo help. (Amiti Uttarwar)

Pull request description:

  This field was previously being returned, but missing from the RPCHelpMan. This PR uses the existing `NET_PERMISSIONS_DOC` to inform RPC users about this field.

  ```
     "permissions" : [                 (json array) Any special permissions that have been granted to this peer
        "str",                          (string) bloomfilter (allow requesting BIP37 filtered blocks and transactions),
                                        noban (do not ban for misbehavior; implies download),
                                        forcerelay (relay transactions that are already in the mempool; implies relay),
                                        relay (relay even in -blocksonly mode, and unlimited transaction announcements),
                                        mempool (allow requesting BIP35 mempool contents),
                                        download (allow getheaders during IBD, no disconnect after maxuploadtarget limit),
                                        addr (responses to GETADDR avoid hitting the cache and contain random records with the most up-to-date info).

        ...
      ],

  ```

ACKs for top commit:
  Sjors:
    tACK 667d203687

Tree-SHA512: 973631b41d35d6333e3cb06b35277de869110f6ad6498c7e74f00c75202e8de1788a48755c21ac964903e5e6050a5e769a63866211aec9004cd665a727a54a3c
2020-12-26 21:26:12 +01:00
..
blockchain.cpp Merge #18772: rpc: calculate fees in getblock using BlockUndo data 2020-12-24 15:32:10 +01:00
blockchain.h Remove the remaining fee estimation globals 2020-12-03 12:56:37 +01:00
client.cpp wallet: introduce fee_rate (sat/vB) param/option 2020-11-11 15:55:59 +01:00
client.h
mining.cpp Merge #20568: doc: Use FeeModes doc helper in estimatesmartfee 2020-12-07 14:09:53 +01:00
mining.h
misc.cpp remove dead rpc code 2020-09-24 19:53:24 +02:00
net.cpp [doc] Add permissions to the getpeerinfo help. 2020-12-23 11:38:59 -08:00
protocol.h
rawtransaction.cpp rpc: Add missing description of vout in getrawtransaction help text 2020-12-21 09:57:06 -06:00
rawtransaction_util.cpp Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const 2020-12-06 00:22:40 +00:00
rawtransaction_util.h Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const 2020-12-06 00:22:40 +00:00
register.h
request.cpp refactor: Make HexStr take a span 2020-08-06 19:41:43 +02:00
request.h refactor: Improve use of explicit keyword 2020-12-01 18:36:39 +01:00
server.cpp rpc: Remove unused return type from appendCommand 2020-08-14 12:37:06 +02:00
server.h remove CRPCCommand constructor that takes rpcfn_type function pointer 2020-09-24 19:53:52 +02:00
util.cpp wallet: fundrawtx fee rate coverage, fixup ParseConfirmTarget() 2020-10-29 00:21:57 +01:00
util.h Merge #19386: rpc: Assert that RPCArg names are equal to CRPCCommand ones (server) 2020-07-15 19:20:21 +02:00