Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SendtxCmd = &cobra.Command{ Use: "sendtx", Short: "Send raw transactions to a JSON-RPC endpoint in batches.", Long: usage, Args: cobra.NoArgs, PreRunE: func(cmd *cobra.Command, _ []string) error { var err error params.rpcURL, err = flag.GetRequiredRPCURL(cmd) if err != nil { return err } if params.concurrency <= 0 { params.concurrency = runtime.NumCPU() } if params.batchSize <= 0 { return fmt.Errorf("batch-size must be positive") } return nil }, RunE: func(cmd *cobra.Command, _ []string) error { return runSendTx(cmd.Context()) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.