diff options
author | fanquake <fanquake@gmail.com> | 2021-04-01 15:35:00 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-04-01 16:26:22 +0800 |
commit | c2caa0fc4d5668308a717de454003d3ff46a6a85 (patch) | |
tree | 6e162670d8c801cbc2c15fc999eea6eaf0f9e3a4 /test/lint/commit-script-check.sh | |
parent | 2b2ab9ab7895cd6356e5dc4db17aa9ce475d495e (diff) | |
parent | 73e1f7d754c0a2381254447d692fe27a5af8c1c5 (diff) |
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
Diffstat (limited to 'test/lint/commit-script-check.sh')
0 files changed, 0 insertions, 0 deletions