Documentation
¶
Index ¶
- func CalcTPS(stats []*TxStats, blockInfoMap map[uint64]*BlockInfo) float64
- func FetchBlockInfo(ethclient *ethclient.Client, stats []*TxStats) (map[uint64]*BlockInfo, error)
- func PrintBlockData(blockInfoMap map[uint64]*BlockInfo)
- func PrintFinalData(tps float64, blockInfoMap map[uint64]*BlockInfo)
- type BlockInfo
- type CollectorData
- type TxStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchBlockInfo ¶
func PrintBlockData ¶
func PrintFinalData ¶
Types ¶
type CollectorData ¶
func GenerateStats ¶
func GenerateStats(ethclient *ethclient.Client, txHashes []*types.Transaction, batchSize int) (*CollectorData, error)
Click to show internal directories.
Click to hide internal directories.