Documentation
¶
Index ¶
- func GetGasPerBlock(blocks []jsonrpc.RawBlockResponse) []float64
- func GetMeanBlockTime(blocks []jsonrpc.RawBlockResponse) float64
- func GetMeanGasPricePerBlock(blocks []jsonrpc.RawBlockResponse) []float64
- func GetSimpleBlockRecords(blocks []jsonrpc.RawBlockResponse) [][]string
- func GetSizePerBlock(blocks []jsonrpc.RawBlockResponse) []float64
- func GetTxsPerBlock(blocks []jsonrpc.RawBlockResponse) []float64
- func GetUnclesPerBlock(blocks []jsonrpc.RawBlockResponse) []float64
- type BlockSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGasPerBlock ¶
func GetGasPerBlock(blocks []jsonrpc.RawBlockResponse) []float64
func GetMeanBlockTime ¶
func GetMeanBlockTime(blocks []jsonrpc.RawBlockResponse) float64
func GetMeanGasPricePerBlock ¶
func GetMeanGasPricePerBlock(blocks []jsonrpc.RawBlockResponse) []float64
func GetSimpleBlockRecords ¶
func GetSimpleBlockRecords(blocks []jsonrpc.RawBlockResponse) [][]string
func GetSizePerBlock ¶
func GetSizePerBlock(blocks []jsonrpc.RawBlockResponse) []float64
func GetTxsPerBlock ¶
func GetTxsPerBlock(blocks []jsonrpc.RawBlockResponse) []float64
func GetUnclesPerBlock ¶
func GetUnclesPerBlock(blocks []jsonrpc.RawBlockResponse) []float64
Types ¶
type BlockSlice ¶
type BlockSlice []jsonrpc.RawBlockResponse
func (BlockSlice) Len ¶
func (a BlockSlice) Len() int
func (BlockSlice) Less ¶
func (a BlockSlice) Less(i, j int) bool
func (BlockSlice) Swap ¶
func (a BlockSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.