ninja
./bitcoind
./bitcoin-cli help <any rpc>
Verify help text is similar to pre-patch
Change rpc/blockchain.cpp:287 from
{"blockhash", RPCArg::Type::STR_HEX, /* opt */ false,
to
{"timeout", RPCArg::Type::STR_HEX, /* opt */ false,
ninja
./bitcoind
./bitcoin-cli help verifychain
Confirm bitcoind crashes with the following error:
bitcoind: ../src/rpc/util.cpp:263: RPCHelpMan::RPCHelpMan(const string&, const string&, const std::vector<RPCArg>&): Assertion `named_args.insert(arg.m_name).second' failed.
Aborted