ninja
./bitcoind
mkdir internalerror
./bitcoin-cli help > RPCs
./getrpchelps.sh RPCs internalerror
grep -rnI Internal\ error internalerror
The `grep` command's output should be empty.
Script:
{F4246191}
Change the name of the second argument of an RPC to be the same as the first
i.e. `waitforblock` in rpc/blockchain.cpp from
{"blockhash", RPCArg::Type::STR_HEX, /* opt */ false,
to
{"timeout", RPCArg::Type::STR_HEX, /* opt */ false,
ninja
./bitcoind
./bitcoin-cli help waitforblock
Confirm bitcoind does not crash and that bitcoin-cli outputs the following error:
Internal bug detected: 'named_args.insert(arg.m_name).second'
You may report this issue here: https://github.com/Bitcoin-ABC/bitcoin-abc/issues