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 committed 2022-12-07 14:50:15 +00:00
1 parent 1345b3c0aa
commit bab526f655
6 files changed
+234 -82

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
//go:build !chainrpc
// +build !chainrpc
package main
import "github.com/urfave/cli"
// chainCommands will return nil for non-chainrpc builds.
func chainCommands() []cli.Command {
return nil
}