dash/src/rpc
fanquake 46cc6423b1
Merge #21311: rpc: document optional fields for getchaintxstats result
73e1f7d754c0a2381254447d692fe27a5af8c1c5 rpc: document optional fields for getchaintxstats result (Sebastian Falbesoner)

Pull request description:

  This mini-PR updates the result help of the `getchaintxstats` RPC by showing the following fields as "optional":
  - window_tx_count
  - window_interval
  - txrate

  Help output diff between master and PR branch:
  ```diff
  16,18c16,18
  <   "window_tx_count" : n,                (numeric) The number of transactions in the window. Only returned if "window_block_count" is > 0
  <   "window_interval" : n,                (numeric) The elapsed time in the window in seconds. Only returned if "window_block_count" is > 0
  <   "txrate" : n                          (numeric) The average rate of transactions per second in the window. Only returned if "window_interval" is > 0
  ---
  >   "window_tx_count" : n,                (numeric, optional) The number of transactions in the window. Only returned if "window_block_count" is > 0
  >   "window_interval" : n,                (numeric, optional) The elapsed time in the window in seconds. Only returned if "window_block_count" is > 0
  >   "txrate" : n                          (numeric, optional) The average rate of transactions per second in the window. Only returned if "window_interval" is > 0
  ```

ACKs for top commit:
  0xB10C:
    ACK 73e1f7d754c0a2381254447d692fe27a5af8c1c5

Tree-SHA512: 63c8db3e47a3c2d5564d53c564484b95b656e1e5deca1e9841bc90d122d3c81f02fd2b59313fd913ce81b16f7cc2969fe1dd9d6c3e23628b8ac057ea08f55daa
2022-06-27 11:37:03 -05:00
..
blockchain.cpp Merge #21311: rpc: document optional fields for getchaintxstats result 2022-06-27 11:37:03 -05:00
blockchain.h Merge #15932: rpc: Serialize in getblock without cs_main 2022-06-18 11:37:52 +05:30
client.cpp Merge pull request #4887 from knst/bc-bp-4 2022-06-18 20:23:31 -07:00
client.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
coinjoin.cpp chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
governance.cpp trivial: Fix typo in gobject getcurrentvotes help (#4881) 2022-06-11 12:16:15 +03:00
masternode.cpp chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
mining.cpp Merge #17750: util: change GetWarnings parameter to bool 2022-06-14 16:48:15 +07:00
mining.h merge bitcoin#17781: Remove mempool global from miner 2022-04-20 00:25:14 +05:30
misc.cpp rpc: split spork manipulation logic to distinct "sporkupdate" call (#4885) 2022-06-18 19:52:45 +03:00
net.cpp Merge #17750: util: change GetWarnings parameter to bool 2022-06-14 16:48:15 +07:00
protocol.h merge bitcoin#17407: Add reference to mempool in NodeContext 2022-04-20 00:22:36 +05:30
rawtransaction_util.cpp partial bitcoin#16240: JSONRPCRequest-aware RPCHelpMan 2022-03-12 19:14:59 +05:30
rawtransaction_util.h Merge #15784: rpc: Remove dependency on interfaces::Chain in SignTransaction 2022-01-03 18:55:38 +05:30
rawtransaction.cpp Merge #15770: rpc: Validate maxfeerate with AmountFromValue 2022-06-14 16:48:23 +07:00
register.h refactor: PrivateSend -> CoinJoin + Move the tab (#4038) 2021-03-17 18:36:11 -04:00
request.cpp refactor(rpc): Mechanical/Manual RPC backports (#4734) 2022-05-12 15:29:17 -05:00
request.h merge bitcoin#19096: Remove g_rpc_chain global 2022-05-18 20:50:50 +05:30
rpcevo.cpp chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
rpcquorums.cpp chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
server.cpp chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
server.h merge bitcoin#19056: Make gettxoutsetinfo/GetUTXOStats interruptible 2022-05-23 10:39:43 +05:30
util.cpp Merge #17617: doc: unify unix epoch time descriptions 2022-06-08 12:35:11 +07:00
util.h Merge #17617: doc: unify unix epoch time descriptions 2022-06-08 12:35:11 +07:00