core

package
v0.0.0-...-967ad2c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2019 License: BSD-2-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddrStatistics map[string]StatisticData
View Source
var BlockDelim = "||"
View Source
var CNO = 1
View Source
var CubeDelim = "|||"
View Source
var CubeSetNum [27]string
View Source
var DebugMode = false
View Source
var GenBlock [27]string
View Source
var GenFile string
View Source
var MineCubeno = 0
View Source
var MineDifficulty = "0000ffff"
View Source
var MineDifficultyBase = "0000ffff"
View Source
var Pratio = Pohr{4.566, 4.566, 4.566, 127.855, 54.795}
View Source
var Pratio1 = Pohr{4.566, 4.566, 4.566, 127.855, 54.795}
View Source
var Pratio10 = Pohr{0, 0, 0, 0, 182.650}
View Source
var Pratio2 = Pohr{3.913, 3.913, 3.913, 109.590, 73.060}
View Source
var Pratio3 = Pohr{3.261, 3.261, 3.261, 91.325, 91.325}
View Source
var Pratio4 = Pohr{2.609, 2.609, 2.609, 73.060, 109.590}
View Source
var Pratio5 = Pohr{1.956, 1.956, 1.956, 54.795, 127.855}
View Source
var Pratio6 = Pohr{1.304, 1.304, 1.304, 36.530, 146.120}
View Source
var Pratio7 = Pohr{0.652, 0.652, 0.652, 18.265, 164.385}
View Source
var Pratio8 = Pohr{0, 0, 0, 0, 182.650}
View Source
var Pratio9 = Pohr{0, 0, 0, 0, 182.650}
View Source
var Sumfee = 0.0
View Source
var Tkcnt = 0
View Source
var TxDelim = "|"
View Source
var TxMerkleHash string
View Source
var TxMine string
View Source
var Txamount = 0.0
View Source
var Txcnt = 0
View Source
var Version = "1.01"

Functions

func AllIndexing

func AllIndexing(cubeno int) map[string]string

func AllStatistic

func AllStatistic(cubeno int) map[string]string

func AllStatisticToStr

func AllStatisticToStr(addr string) string

func BlockHash

func BlockHash(str string) string

func BlockName

func BlockName(idx int, cno int) string

func BlockRead

func BlockRead(index int, cubeno int, object interface{}) error

func BlockSpecialData

func BlockSpecialData(BlockData []byte) map[string]string

func ByteToStr

func ByteToStr(bytes []byte) string

func CallHash

func CallHash(str string, hno int) string

func ClientRun

func ClientRun(req *Request) int

func ClientRunFlag

func ClientRunFlag()

func CubeBalance

func CubeBalance(addr string, cubeno int) float64

func CubeDownload

func CubeDownload(cubeno int) string

func CubeDownloadFile

func CubeDownloadFile(cubeno int)

func CubeDownloadFrom

func CubeDownloadFrom(cubeno int, ip string, hash string) string

func CubeDownloadRpcFrom

func CubeDownloadRpcFrom(cubeno int, ip string) string

func CubeFileName

func CubeFileName(idx int) string

func CubeHeight

func CubeHeight() int

func CubeIndexToStr

func CubeIndexToStr(ci CubeIndex) string

func CubeIndexing

func CubeIndexing(cubeno int) map[string]string

func CubeIndexing00

func CubeIndexing00(cubeno int) map[string]string

func CubeOnlyStatistic

func CubeOnlyStatistic(cubeno int) map[string]string

func CubePath

func CubePath(idx int) string

func CubePathNum

func CubePathNum(path string) int

func CubeRead

func CubeRead(index int, object *Cube) error

func CubeStatistic

func CubeStatistic(cubeno int) map[string]string

func CubeStatistic00

func CubeStatistic00(cubeno int) map[string]string

func CubeStatistic01

func CubeStatistic01(cubeno int) map[string]string

func CubeStatisticToStr

func CubeStatisticToStr(addr string) string

func CubeStatistic_pp00

func CubeStatistic_pp00(cubeno int) [4][]string

func CubeSync

func CubeSync() bool

func CubenoSet

func CubenoSet()

func CubingFileName

func CubingFileName(idx int) string

func CubingFileWrite

func CubingFileWrite(cubing Cubing) error

func CubingHash

func CubingHash(str string) string

func CurrentHeight

func CurrentHeight() int

func DirExist

func DirExist(dirName string) bool

func DownloadFile

func DownloadFile(filepath string, url string) (string, error)

func DownloadFileWithName

func DownloadFileWithName(filepath string, url string, filename string) (string, error)

func DownloadRpc

func DownloadRpc(cubeno int, url string) (string, error)

func Err

func Err(err error, exit int) int

func FilePath

func FilePath(idx int) string

func FileRead

func FileRead(path string, object interface{}) error

func FileReadString

func FileReadString(path string) string

func FileSearch

func FileSearch(dirname string, find string) string

func FileSize

func FileSize(dirpath string) int64

func FileWrite

func FileWrite(path string, object interface{}) error

func GeTxData

func GeTxData(txhash string, symbol string) (TxData, CubeIndex)

func GenCubeTx

func GenCubeTx(cubeno int, blockno int) string

func GenesisTx

func GenesisTx(blockno int) string

func GetBalance

func GetBalance(addr string) float64

func GetBalanceRS

func GetBalanceRS(addr string, rs string) float64

func GetBlock

func GetBlock(cubeno int, blockno int) string

func GetBlockAll

func GetBlockAll(cubeno int) string

func GetBlockBase

func GetBlockBase(cubeno int, blockno int) string

func GetBlockTx

func GetBlockTx(cubeno int, blockno int) string

func GetBlockTxHash

func GetBlockTxHash(cubeno int, blockno int, addr string, u_addr string, coin float64) string

func GetBlockTxSearch

func GetBlockTxSearch(cubeno int, blockno int, addr string, u_addr string, coin float64) string

func GetBytes

func GetBytes(key interface{}) []byte

func GetCube

func GetCube(cubeno int) string

func GetCubeBase

func GetCubeBase(cubeno int) string

func GetCubeHeight

func GetCubeHeight() string

func GetCubeHeight2

func GetCubeHeight2() string

func GetCubeHeight3

func GetCubeHeight3() string

func GetCubePoh

func GetCubePoh(cubeno int) (TxData, TxData)

func GetCubeTx

func GetCubeTx(cubeno int) string

func GetIndexing

func GetIndexing() string

func GetIndexingAddr

func GetIndexingAddr(addr string) string

func GetIssue

func GetIssue() string

func GetPattenHash

func GetPattenHash(cubeno int, blockno int) string

func GetPattenHash0

func GetPattenHash0(cubeno int, blockno int) string

func GetRequestVars

func GetRequestVars(m map[string]string, key string) string

func GetStaticData

func GetStaticData(cubeno int, aStatistic map[string]StatisticData) map[string]StatisticData

func GetStaticValue

func GetStaticValue(addr string) (float64, float64, int)

func GetStaticVar

func GetStaticVar(addr string) (float64, float64, float64, float64, int, int, int)

func GetStaticVarCube

func GetStaticVarCube(addr string, cubeno int) (float64, float64, int, int)

func GetStatistic

func GetStatistic() string

func GetStatisticAddr

func GetStatisticAddr(addr string) string

func GetStatisticRank

func GetStatisticRank(item string, item2 string, count int) string

func GetStatisticValue

func GetStatisticValue(item string, addr string, aStatistic *TxStatistic) string

func GetTkCount

func GetTkCount(addr string) int

func GetTransactionCount

func GetTransactionCount(addr string) int

func GetTransactionData

func GetTransactionData(txhash string) (TxData, CubeIndex)

func GetTransactionDetail

func GetTransactionDetail(txhash string) (TxData, CubeIndex)

func GetTransactionList

func GetTransactionList(addr string) string

func GetTxCount

func GetTxCount(addr string) int

func GetTxDetail

func GetTxDetail(txhash string, symbol string) (TxData, CubeIndex)

func GetTxList

func GetTxList(addr string, symbol string) string

func GetTxListDetail

func GetTxListDetail(addr string) string

func HttpServer

func HttpServer()

func IndexingAddr

func IndexingAddr(addr string) (int, string)

func IndexingRead

func IndexingRead(aIndexing *TxIndexing)

func IpCheck

func IpCheck() []string

func MakeDir

func MakeDir(idx int) string

func MakePath

func MakePath(dirname string) string

func MakeStat

func MakeStat(filepath string)

func MaxFind

func MaxFind(dirpath string) string

func MerkleElement

func MerkleElement(a, b string) string

func MerkleHash

func MerkleHash(elements []string) string

func NodeCube

func NodeCube(cmode string, data string) string

func NodeSend

func NodeSend(cmode string, data string) string

func NodeSend2

func NodeSend2(cmode string, data string) string

func PHashVerify

func PHashVerify(hash string) bool

func PathDelete

func PathDelete(path string) error

func PatternHash

func PatternHash(str string, cno int) string

func PowBlockHashing

func PowBlockHashing(pstr string, max int) (string, int)

func PowCubeHashing

func PowCubeHashing(pstr string, max int) (string, int)

func PowSpecialHashing

func PowSpecialHashing(pstr string, max int) (string, int)

func ReadBlockHash

func ReadBlockHash(index int, cubeno int) string

func ReadBlockPHash

func ReadBlockPHash(index int, cubeno int) string

func RpcServer

func RpcServer()

func Serialize

func Serialize(object interface{}) []byte

func ServerRun

func ServerRun()

func SpecialSync

func SpecialSync()

func SpecialTx

func SpecialTx(blockno int) string

func StatisticRead

func StatisticRead(aStatistic *TxStatistic)

func StatisticToStr

func StatisticToStr(addr string, cubeno int) string

func StatisticToStrCube

func StatisticToStrCube(addr string, cubeno int) string

func StrToByte

func StrToByte(str string) []byte

func Sync

func Sync()

func SyncDownload

func SyncDownload(idx int)

func SyncOne

func SyncOne()

func TreePrint

func TreePrint()

func TreeToSpecial

func TreeToSpecial(tbst TxBST) map[string]string

func TxBlock

func TxBlock(cubeno int, blockno int) (TxBST, MineResult)

func TxPool

func TxPool(cubeno int, blockno int) string

func TxScanResult

func TxScanResult(addr string, ci CubeIndex) bool

func TxpoolToBst

func TxpoolToBst(cubeno int, blockno int, TxStr string) (TxBST, MineResult)

func TxpoolToBst00

func TxpoolToBst00(TxStr string) (TxBST, MineResult)

func TxpoolToGenesis

func TxpoolToGenesis(TxStr string) (TxBST, MineResult)

func TxpoolToSpecial

func TxpoolToSpecial(cubeno int, blockno int) (TxBST, MineResult)

func TxpoolToTr

func TxpoolToTr(TxStr string, blockno int) (TxBST, MineResult)

func WriteJSON

func WriteJSON(w http.ResponseWriter, v interface{}) error

Types

type BST

type BST struct {
	Root *BSTNode
}

func AddBST

func AddBST(v interface{}) *BST

func BlockBST

func BlockBST(BlockData []byte, treeType string) BST

func (*BST) Convert

func (t *BST) Convert(RtxArr *[]TxData)

func (*BST) Convert00

func (t *BST) Convert00(RtxArr *[]TxData)

func (*BST) Merkle

func (t *BST) Merkle() string

func (*BST) Print

func (t *BST) Print()

func (*BST) Search

func (t *BST) Search(h string) (interface{}, int)

type BSTNode

type BSTNode struct {
	Hash  string
	Val   interface{}
	Left  *BSTNode
	Right *BSTNode
}

func BlockTreeRoot

func BlockTreeRoot(BlockData []byte, treeType string) BSTNode

func (*BSTNode) AddNode

func (n *BSTNode) AddNode(v interface{}, h string) *BSTNode

func (*BSTNode) AddNodeHash

func (n *BSTNode) AddNodeHash(v interface{}, h string) (*BSTNode, string)

func (*BSTNode) Convert

func (n *BSTNode) Convert(txArr *[]TxData)

func (*BSTNode) Search

func (n *BSTNode) Search(h string, cnt int) (interface{}, int)

type BaseConf

type BaseConf struct {
	Rpcver   string `json:"rpcver"`
	Posstate string `json:"posstate"`
	Cheight  string `json:"cheight"`
}

type Block

type Block struct {
	Cubeno      int
	Blockno     int
	Timestamp   int
	Data        []byte
	Merkle      string
	Hash        string
	PrevHash    string
	PatternHash string
	Nonce       int
	Mine        MineResult
}

func BlockScan

func BlockScan(cubeno int, blockno int) Block

func DataDeserialize

func DataDeserialize(data []byte) Block

func (*Block) BlockString

func (block *Block) BlockString() string

func (*Block) BlockTxString

func (block *Block) BlockTxString() string

func (*Block) Broadcast

func (block *Block) Broadcast() bool

func (*Block) FileInfo

func (block *Block) FileInfo()

func (*Block) FileName

func (block *Block) FileName() string

func (*Block) FilePath

func (block *Block) FilePath() string

func (*Block) FileSize

func (block *Block) FileSize() int64

func (*Block) GetHash

func (block *Block) GetHash() string

func (*Block) GetPatternHash

func (block *Block) GetPatternHash() string

func (*Block) GetPrevHash

func (block *Block) GetPrevHash() string

func (*Block) GetPrevHash0

func (block *Block) GetPrevHash0() string

func (*Block) HashString

func (block *Block) HashString() string

func (*Block) Input

func (block *Block) Input(cubeno int, blockno int)

func (*Block) InputString

func (block *Block) InputString(Str string)

func (*Block) MineBroadcast

func (block *Block) MineBroadcast() bool

func (*Block) MineDataString

func (block *Block) MineDataString() string

func (*Block) MineString

func (block *Block) MineString() string

func (*Block) Mining

func (block *Block) Mining()

func (*Block) PoolMining

func (block *Block) PoolMining()

func (*Block) PosMining

func (block *Block) PosMining()

func (*Block) PowMining

func (block *Block) PowMining()

func (*Block) Print

func (block *Block) Print()

func (*Block) Read

func (block *Block) Read() error

func (*Block) Save

func (block *Block) Save() error

func (*Block) SetData

func (block *Block) SetData()

func (*Block) SetHash

func (block *Block) SetHash()

func (*Block) SetPatternHash

func (block *Block) SetPatternHash()

func (*Block) SetPrevHash

func (block *Block) SetPrevHash()

func (*Block) String

func (block *Block) String() string

func (*Block) ToStamp

func (block *Block) ToStamp() string

func (*Block) Verify

func (block *Block) Verify() bool

type CMineResult

type CMineResult struct {
	MineAddr   string
	MineMethod string
	PowReward  float64
	PosReward  float64
	Txamount   float64
	Sumfee     float64
	Txcnt      int
	Tkcnt      int
	Concnt     int
	Hashcnt    int
	Difficulty string
}

type Cube

type Cube struct {
	Cubeno    int
	Timestamp int
	Blocks    [27]Block
	PrevHash  string
	CHash     string
	Nonce     int
	Mine      CMineResult
}
var CurrCube Cube

func (*Cube) Balance

func (cube *Cube) Balance(addr string) float64

func (*Cube) Broadcast

func (cube *Cube) Broadcast() bool

func (*Cube) CubeString

func (cube *Cube) CubeString() string

func (*Cube) Download

func (cube *Cube) Download() error

func (*Cube) Downloading

func (cube *Cube) Downloading() error

func (*Cube) FileBroadcast

func (cube *Cube) FileBroadcast() error

func (*Cube) FileBroadcast2

func (cube *Cube) FileBroadcast2()

func (*Cube) FileInfo

func (cube *Cube) FileInfo()

func (*Cube) FileName

func (cube *Cube) FileName() string

func (*Cube) FilePath

func (cube *Cube) FilePath() string

func (*Cube) FileSize

func (cube *Cube) FileSize() int64

func (*Cube) GetHash

func (cube *Cube) GetHash() string

func (*Cube) GetPrevHash

func (cube *Cube) GetPrevHash() string

func (*Cube) GetPrevHash0

func (cube *Cube) GetPrevHash0() string

func (*Cube) HashString

func (cube *Cube) HashString() string

func (*Cube) Input

func (cube *Cube) Input(cubeno int)

func (*Cube) InputChanel

func (cube *Cube) InputChanel(cubeno int)

func (*Cube) MineBroadcast

func (cube *Cube) MineBroadcast() bool

func (*Cube) MineString

func (cube *Cube) MineString() string

func (*Cube) Mining

func (cube *Cube) Mining()

func (*Cube) PosMining

func (cube *Cube) PosMining()

func (*Cube) PowMining

func (cube *Cube) PowMining()

func (*Cube) Print

func (cube *Cube) Print()

func (*Cube) Read

func (cube *Cube) Read() error

func (*Cube) Save

func (cube *Cube) Save() error

func (*Cube) SetCubing

func (cube *Cube) SetCubing(cubing *Cubing)

func (*Cube) SetHash

func (cube *Cube) SetHash()

func (*Cube) SetPrevHash

func (cube *Cube) SetPrevHash()

func (*Cube) String

func (cube *Cube) String() string

func (*Cube) TxCount

func (cube *Cube) TxCount(addr string) (int, int)

func (*Cube) Verify

func (cube *Cube) Verify() bool

type CubeIndex

type CubeIndex struct {
	Index   int
	CubeNum int
}

func GetIndexBlock

func GetIndexBlock(addr string) []CubeIndex

func GetIndexBlock_direct

func GetIndexBlock_direct(addr string) []CubeIndex

func GetIndexCube

func GetIndexCube(addr string, cubeno int) []CubeIndex

func StrToCubeIndex

func StrToCubeIndex(str string) CubeIndex

type Cubing

type Cubing struct {
	Cubeno    int
	Timestamp int
	Hash1     [27]string
	Hash2     [27]string
	PrevHash  string
	CHash     string
	Nonce     int
}
var PrvCubing Cubing

func CubingFileRead

func CubingFileRead(index int) Cubing

func CubingFileRead2

func CubingFileRead2(index int, hash string) Cubing

func GetCubing

func GetCubing(cubeno int) Cubing

func (*Cubing) FileName

func (cubing *Cubing) FileName() string

type EBlock

type EBlock struct {
	Escrow []EscrowData
}

func EscrowDeserialize

func EscrowDeserialize(data []byte) EBlock

type EscrowData

type EscrowData struct {
	EscrowTx   TxData
	EscrowType int
	EscrowKey  string
	EscrowTime int
	State      int
}

type IBlock

type IBlock struct {
	IndexAddress []IndexType
}

func IndexDeserialize

func IndexDeserialize(data []byte) IBlock

type IndexType

type IndexType struct {
	Address  string
	Indexing []CubeIndex
}

type MineResult

type MineResult struct {
	TxMine   string
	Txamount float64
	Txcnt    int
	Tkcnt    int
	Concnt   int
	Sumfee   float64
}

func TxBlockData

func TxBlockData(cubeno int, blockno int) ([]byte, MineResult)

type NodeConf

type NodeConf struct {
	Network string `json:"network"`
	NodeID  string `json:"node"`
	Status  string `json:"status"`
}

type OpenRule

type OpenRule struct {
	HashId string
	Key2nd string
	State  int
}

type Pair

type Pair struct {
	Key   string
	Value int
}

type PairFloat

type PairFloat struct {
	Key   string
	Value float64
}

type PairFloatList

type PairFloatList []PairFloat

func PairSortFloat

func PairSortFloat(sortmap map[string]float64) PairFloatList

func (PairFloatList) Len

func (p PairFloatList) Len() int

func (PairFloatList) Less

func (p PairFloatList) Less(i, j int) bool

func (PairFloatList) Swap

func (p PairFloatList) Swap(i, j int)

type PairList

type PairList []Pair

func PairSortInt

func PairSortInt(sortmap map[string]int) PairList

func (PairList) Len

func (p PairList) Len() int

func (PairList) Less

func (p PairList) Less(i, j int) bool

func (PairList) Swap

func (p PairList) Swap(i, j int)

type PeerConf

type PeerConf struct {
	PeerCount string `json:"peer_count"`
	MainIp    string `json:"main_network_ip"`
	Sync      string `json:"sync"`
	CHeight   string `json:"current_height"`
}

type Pohr

type Pohr struct {
	BlockHash float64
	CHash     float64
	Cubing    float64
	POW       float64
	POS       float64
}

type PoolMining

type PoolMining struct {
	Timestamp   int
	Cubeno      int
	Blockno     int
	HashStr     string
	ResultHash  string
	ResultNonce int
	Reward      float64
	Addr        string
	Success     bool
}

func PohSet

func PohSet(cubeno int) PoolMining

func (*PoolMining) CubeHeight

func (pm *PoolMining) CubeHeight()

func (*PoolMining) HashString

func (pm *PoolMining) HashString()

func (*PoolMining) Result

func (pm *PoolMining) Result(rcnt int)

type PowConf

type PowConf struct {
	Pows     string `json:"Pow"`
	Hashrate string `json:"hashrate"`
	Address  string `json:"address"`
}

type Request

type Request struct {
	Callno int               `json:"callno"`
	Com    string            `json:"com"`
	Vars   map[string]string `json:"vars"`
	Rmsg   string            `json:"rmsg"`
}

type ResResult

type ResResult struct {
	Result map[string]string `json:"result"`
}

type Response

type Response struct {
	Callno int               `json:"callno"`
	Com    string            `json:"com"`
	Rmsg   string            `json:"rmsg"`
	Result map[string]string `json:"result"`
}

type RpcFunc

type RpcFunc struct{}

func (*RpcFunc) Api

func (rf *RpcFunc) Api(request Request, res *Response) error

func (*RpcFunc) SyncApi

func (rf *RpcFunc) SyncApi(request Request, response *int) error

type SBlock

type SBlock struct {
	RuleArr []StaticRule1
}

func StaticDeserialize

func StaticDeserialize(data []byte) SBlock

type StaticRule1

type StaticRule1 struct {
	Address string
	Balance float64
}

type StatisticData

type StatisticData struct {
	Cubeno   int
	Addr     string
	Balance  float64
	RBalance float64
	SBalance float64
	TBalance float64
	Txcnt    int
	Tkcnt    int
	Pos      string
}

type TxBST

type TxBST struct {
	Coin     *BST
	Poh      *BST
	Token    *BST
	Data     *BST
	Contract *BST
}

func BlockTree

func BlockTree(BlockData []byte) TxBST

func TreeDeserialize

func TreeDeserialize(data []byte) TxBST

func (*TxBST) Init

func (txbst *TxBST) Init()

func (*TxBST) Insert

func (tb *TxBST) Insert(treeData interface{})

func (TxBST) TreePrint2

func (txbst TxBST) TreePrint2()

type TxData

type TxData struct {
	Timestamp int
	From      string
	To        string
	Amount    float64
	Fee       float64
	Tax       float64
	Hash      string
	Sign      string
	Nonce     int
	Message   string
	Etc       string
	Datatype  string
}

func BlockScanHash

func BlockScanHash(txhash string, ci CubeIndex, datatype string) (TxData, int)

func BlockTxData

func BlockTxData(BlockData []byte) []TxData

func ByteToTx

func ByteToTx(data []byte) TxData

func CubeScan

func CubeScan(addr string, idx int) TxData

func CubeScanHash

func CubeScanHash(txhash string, idx int, datatype string) (TxData, int)

func Deserialize

func Deserialize(data []byte) []TxData

func PowTx

func PowTx() TxData

func TdDeserialize

func TdDeserialize(data []byte) TxData

func TreeToData

func TreeToData(tbst TxBST) []TxData

func TxDeserialize

func TxDeserialize(data []byte) TxData

func TxScan

func TxScan(addr string, ci CubeIndex) TxData

func TxScanArr

func TxScanArr(addr string, ci CubeIndex) []TxData

func (*TxData) BtyeString

func (td *TxData) BtyeString() string

func (*TxData) GetCount

func (td *TxData) GetCount() int

func (*TxData) GetHash

func (td *TxData) GetHash() string

func (*TxData) GetHash00

func (td *TxData) GetHash00() string

func (*TxData) HashString

func (td *TxData) HashString() string

func (*TxData) Input

func (td *TxData) Input(TxStr string)

func (*TxData) Print

func (td *TxData) Print()

func (*TxData) SetHash

func (td *TxData) SetHash()

func (*TxData) String

func (td *TxData) String() string

func (*TxData) ToByte

func (td *TxData) ToByte() []byte

func (*TxData) Transaction

func (td *TxData) Transaction() string

func (*TxData) TxString

func (td *TxData) TxString() string

func (*TxData) Verify

func (td *TxData) Verify() bool

type TxIndexing

type TxIndexing struct {
	Cubeno    int
	AddrIndex map[string]string
}

type TxStatistic

type TxStatistic struct {
	Cubeno    int
	AddrIndex map[string]string
}

type TxStatistics

type TxStatistics struct {
	Cubeno    int
	AddrIndex map[string]StatisticData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL