Repository navigation
docs(rpc-extractor): document what RPCs are currently being used - #390
Conversation
|
This looks good to me. We could also add a coloumn marking the RPCs that are currently fetched with I've been thinking how to make sure this won't be out of date when we add the next RPC. Do you have an idea for e.g. a CI check that's not too complex? If not, not having a check is not a blocker. |
Done
I added a simple CI step. I also tried running it conditionally only when the files in |
| run: | | ||
| set -e | ||
|
|
||
| EXPECTED_METHODS=$(head -c 100000 extractors/rpc/src/lib.rs | awk 'match($0, /pub disable_([A-Za-z0-9]+)/, m) { print m[1] }' | sort) |
There was a problem hiding this comment.
I think that should work well and not break too often. Nice
|
I removed |
Added methods: getpeerinfo, getmempoolinfo, uptime, getnettotals, getmemoryinfo, getaddrmaninfo, getchaintxstats, getnetworkinfo, getblockchaininfo, getorphantxs, getrawaddrman.
05e516f to
774cd46
Compare
|
Thank you @RazorBest! |
Documented the methods that are used in the RPC extractor. Added links to individual documentations or PRs if the documentation is not available.
I took the descriptions from bitcoin-core's help messages, and summarized them if possible,
Closes #314