cmd: add chain subcommand

Chain subcommand includes the commands: getblock, getbestblock, and getblockhash.

This commit removes conflicting neutrino cli commands.
This commit is contained in:
ffranr
2022-12-01 17:30:00 +00:00
parent 1345b3c0aa
commit bab526f655
6 changed files with 234 additions and 82 deletions

View File

@@ -500,6 +500,7 @@ func main() {
app.Commands = append(app.Commands, wtclientCommands()...)
app.Commands = append(app.Commands, devCommands()...)
app.Commands = append(app.Commands, peersCommands()...)
app.Commands = append(app.Commands, chainCommands()...)
if err := app.Run(os.Args); err != nil {
fatal(err)