Documentation ¶
Index ¶
Constants ¶
View Source
const CommitPrefixLength = 8
Variables ¶
View Source
var (
Version = "0.1.6"
)
Functions ¶
func GetCommitVersion ¶
func GetCommitVersion() string
func GetVersion ¶
func GetVersion() string
func InitNodeInfo ¶
func InitNodeInfo(app string)
Types ¶
type LastBlockInfo ¶
LastBlockInfo used for crash recover
type QueryType ¶
type QueryType = byte
const ( APIQueryTx = iota QueryType_Contract QueryType = 0 QueryType_Nonce QueryType = 1 QueryType_Balance QueryType = 2 QueryType_Receipt QueryType = 3 QueryType_Existence QueryType = 4 QueryType_PayLoad QueryType = 5 QueryType_TxRaw QueryType = 6 QueryTxLimit QueryType = 9 QueryTypeContractByHeight QueryType = 10 )
type Transaction ¶
type Transaction struct { Data TxData // contains filtered or unexported fields }
Transaction tx
func (*Transaction) DecodeRLP ¶
func (tx *Transaction) DecodeRLP(b []byte) error
DecodeRLP implements rlp.Decoder
func (*Transaction) EncodeRLP ¶
func (tx *Transaction) EncodeRLP() ([]byte, error)
EncodeRLP implements rlp.Encoder
func (*Transaction) Hash ¶
func (tx *Transaction) Hash() (h ethcmn.Hash)
func (*Transaction) SigHash ¶
func (tx *Transaction) SigHash() (h ethcmn.Hash)
Click to show internal directories.
Click to hide internal directories.