Documentation ¶
Index ¶
- func EthBlockThroughput(blockNumber int) float32
- func EthThroughput(blockStart, blockEnd int) float32
- func PrintRes() float32
- type Block
- type Blockchain
- func BtcExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
- func EosExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
- func EthExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
- func QtumExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
- type Latency
- type Metric
- type Metrics
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EthBlockThroughput ¶
TODO do case blocknumber=0
Types ¶
type Blockchain ¶
type Blockchain []Block
func BtcExplorer ¶
func BtcExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
func EosExplorer ¶
func EosExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
func EthExplorer ¶
func EthExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
func QtumExplorer ¶
func QtumExplorer(rpc, user, pass string, blockStart, blockEnd int) Blockchain
func (Blockchain) Analyse ¶
func (bchain Blockchain) Analyse() Metrics
func (Blockchain) Print ¶
func (bchain Blockchain) Print()
type Latency ¶
func (*Latency) TransLatency ¶
func (l *Latency) TransLatency()
Click to show internal directories.
Click to hide internal directories.