mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
69671cf6c6
* WIP:feature/rewrite-devnettest-to-cobra * Add parity commands * Update dev chain md
22 lines
381 B
Go
22 lines
381 B
Go
package commands
|
|
|
|
import (
|
|
"github.com/ledgerwatch/erigon/cmd/devnettest/requests"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(txPoolCmd)
|
|
}
|
|
|
|
var txPoolCmd = &cobra.Command{
|
|
Use: "txpool-content",
|
|
Short: "Gets content of txpool",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
if clearDev {
|
|
defer clearDevDB()
|
|
}
|
|
requests.TxpoolContent(reqId)
|
|
},
|
|
}
|