node

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDataRes added in v1.1.3

type BlockDataRes struct {
	base.BaseResModel
	Body *BlockDataResBody `json:"body"`
}

func (*BlockDataRes) GetEncryptionValue added in v1.1.3

func (f *BlockDataRes) GetEncryptionValue() string

type BlockDataResBody added in v1.1.3

type BlockDataResBody struct {
	BlockHash    string `json:"blockHash"`
	BlockNumber  uint64 `json:"blockNumber"`
	PreBlockHash string `json:"preBlockHash"`
	BlockData    string `json:"blockData"`
}

type BlockInfo

type BlockInfo struct {
	TxId string `json:"txId"`

	BlockHash string `json:"blockHash"`

	Status int `json:"status"`
}

type BlockResData

type BlockResData struct {
	base.BaseResModel
	Body *BlockResDataBody `json:"body"`
}

func (*BlockResData) GetEncryptionValue

func (f *BlockResData) GetEncryptionValue() string

type BlockResDataBody

type BlockResDataBody struct {
	BlockHash    string `json:"blockHash"`
	BlockNumber  uint64 `json:"blockNumber"`
	PreBlockHash string `json:"preBlockHash"`
	BlockSize    uint64 `json:"blockSize"`
	BlockTxCount int    `json:"blockTxCount"`

	Transactions []*TransactionData `json:"transactions"`
}

type CCRes

type CCRes struct {
	CCCode int `json:"ccCode"`

	CCData string `json:"ccData"`
}

type LedgerResData

type LedgerResData struct {
	base.BaseResModel
	Body *LedgerResDataBody `json:"body"`
}

func (*LedgerResData) GetEncryptionValue

func (f *LedgerResData) GetEncryptionValue() string

type LedgerResDataBody

type LedgerResDataBody struct {
	BlockHash    string `json:"blockHash"`
	PreBlockHash string `json:"preBlockHash"`
	Height       uint64 `json:"height"`
}

type TranDataRes added in v1.1.3

type TranDataRes struct {
	base.BaseResModel
	Body *TranDataResBody `json:"body"`
}

func (*TranDataRes) GetEncryptionValue added in v1.1.3

func (f *TranDataRes) GetEncryptionValue() string

type TranDataResBody added in v1.1.3

type TranDataResBody struct {
	TxId      string `json:"txId"`
	TransData string `json:"transData"`
}

type TranResData

type TranResData struct {
	base.BaseResModel
	Body *TranResDataBody `json:"body"`
}

func (*TranResData) GetEncryptionValue

func (f *TranResData) GetEncryptionValue() string

type TranResDataBody

type TranResDataBody struct {
	BlockInfo BlockInfo `json:"blockInfo"`

	CCRes CCRes `json:"ccRes"`
}

type TransactionData

type TransactionData struct {
	TxId         string `json:"txId"`
	Status       int    `json:"status"`
	CreateName   string `json:"createName"`
	TimeSpanSec  int64  `json:"timeSpanSec"`
	TimeSpanNsec int64  `json:"timeSpanNsec"`
}

type TransactionResData

type TransactionResData struct {
	base.BaseResModel
	Body *TransactionResDataBody `json:"body"`
}

func (*TransactionResData) GetEncryptionValue

func (f *TransactionResData) GetEncryptionValue() string

type TransactionResDataBody

type TransactionResDataBody struct {
	BlockHash   string `json:"blockHash"`
	BlockNumber uint64 `json:"blockNumber"`

	Status       int    `json:"status"`
	CreateName   string `json:"createName"`
	TimeSpanSec  int64  `json:"timeSpanSec"`
	TimeSpanNsec int64  `json:"timeSpanNsec"`
}

Jump to

Keyboard shortcuts

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