package
0.0.0-20191113032148-3606b63ab30f
Repository: https://github.com/phenixchain/devchain.git
Documentation: pkg.go.dev

# Packages

Package chaincfg 实现chain33的基础配置相关功能.
Package jsonpb provides marshaling and unmarshaling between protocol buffers and JSON.
No description provided by the author

# Functions

BufferAlloc 部分空间.
BufferAllocCap alloc cap.
BufferReset 重置buffer.
BuildQueryType 构建查询方法.
CacheToTxs 从缓存中获取交易信息.
CalcAddrTxsCountKey 存储地址参与的交易数量。add时加一,del时减一.
CalcConsensusParaTxsKey 平行链localdb中保存的平行链title对应的交易.
CalcLocalPrefix 计算localdb key.
CalcRollbackKey 计算回滚的key.
CalcStatePrefix 计算localdb key.
CalcTxAddrDirHashKey 用于存储地址相关的hash列表,key=TxAddrHash:addr:flag:height*100000 + index地址下面某个分类的交易.
CalcTxAddrHashKey 用于存储地址相关的hash列表,key=TxAddrHash:addr:height*100000 + index地址下面所有的交易.
CalcTxKey local db中保存交易的方法.
CalcTxShortHash 取txhash的前指定字节,目前默认5.
CalcTxShortKey local db中保存交易的方法.
CallCreateTransaction 创建一个交易.
CallCreateTx 构造交易信息.
CallCreateTxJSON create tx by json.
CallExecNewTx 重构完成后删除.
CallQueryFunc 获取查询接口函数.
CheckAmount 检测转账金额.
CheckConsensusParaTxsKey 检测para共识模块需要操作的平行链交易的key值.
CheckSign 检测签名.
Conf 配置.
ConfigKey 原来实现有bug, 但生成的key在状态树里, 不可修改 mavl-config–{key} key 前面两个-.
ConfSub 子模块配置.
CreateFormatTx 构造交易信息.
CreateTxGroup 创建组交易, feeRate传入交易费率, 建议通过系统GetProperFee获取.
Decode 解码.
DecodeLog 解析log信息.
Encode 编码.
ExecName 执行器name.
FindExecer 查找执行器.
FlagKV 获取kv对.
FlatConfig Flat配置.
FormatTx 格式化tx交易.
FormatTxEncode 对交易信息编码成byte类型.
G 获取ChainConfig中的配置.
GetActionValue 获取执行器的action value.
GetCoinSymbol 获取 coin symbol.
GetDappFork 获取dapp fork高度.
GetEventName 获取时间name通过事件id.
GetExecKey 获取执行器key.
GetFork 获取系统fork高度.
GetFundAddr 获取基金账户地址.
GetLocalDBKeyList 获取localdb的key列表.
GetLogName 通过反射,解析日志.
GetMinerExecs 获取挖矿的合约名单.
GetP 获取ChainParam.
GetParaExec 获取平行链执行.
GetParaExecName 获取平行链上的执行器.
GetParaExecTitleName 如果是平行链执行器,获取对应title.
GetParaName 获取平行链name.
GetRealExecName 获取真实的执行器name.
GetSignName 获取签名类型.
GetSignType 获取签名类型.
GetTitle 获取title.
GetTxHeight 获取交易高度.
GetTxTimeInterval 获取交易有效期.
GInt 解析ChainConfig配置.
GStr 获取ChainConfig中的字符串格式.
HasConf 解析chainConfig配置.
HasFork 是否有系统fork.
Init 初始化.
InitCfg 初始化配置.
InitCfgString 初始化配置.
IsAllowExecName 默认的allow 规则->根据 GetRealExecName 来判断name 必须大于3 小于 100.
IsAssetsTransfer 是否是资产转移相关的交易.
IsDappFork 是否dapp fork高度.
IsEnable 解析ChainConfig配置.
IsEnableFork 是否使能了fork.
IsFork 是否系统 fork高度.
IsLocal 是否locak title.
IsMyParaExecName 是否是我的para链的执行器.
IsNil 判断所有的空值.
IsNilP 空指针或者接口.
IsOK 是否存在.
IsPara 是否平行链.
IsParaExecName 是否平行链执行器.
IsSpecificParaExecName 是否是某一个平行链的执行器.
IsTestNet 是否测试链.
JSONToPB JSON格式转换成protobuffer格式.
JSONToPBUTF8 默认解码utf8的字符串成bytes.
ListActionMethod list action的所有的方法.
ListMethod list Method.
ListMethodByType list Method 通过type类型.
ListType list type.
LoadExecutorType 加载执行器.
LoadLog 加载log类型.
ManaeKeyWithHeigh 超级管理员账户key.
ManageKey 超级管理员账户key.
MergeConfig Merge配置.
MG 获取mver config中的配置.
MGInt 解析mver config 配置.
MGStr 获取mver config 中的字符串格式.
MIsEnable 解析mver config 配置.
ModifySubConfig json data modify.
MustDecode 数据是否已经编码.
MustPBToJSON panic when error.
No description provided by the author
NewErrReceipt new一个新的Receipt.
No description provided by the author
NewQueryData new一个新的QueryData.
NewTransactionCache new交易缓存.
Now 获取当前时间戳.
ParseExpire parse expire to int from during or height.
PBToJSON 消息类型转换.
PBToJSONUTF8 消息类型转换.
No description provided by the author
RegisterDappFork 注册dapp fork高度.
No description provided by the author
RegistorExecutor 注册执行器.
S 设置chainConfig配置.
SetDappFork 设置dapp fork高度.
SetMinFee 设置最小费用.
SetTestNetFork bityuan test net fork.
SetTimeDelta realtime - localtime超过60s 不做修正为了系统的安全,我们只做小范围时间错误的修复.
SetTitleOnlyForTest set title only for test use.
Since Since时间.
Size 消息大小.
StatisticFlag 用于记录统计的key.
TotalFeeKey 统计所有费用的key.
TxCacheGet 某些交易的cache 加入缓存中,防止重复进行解析或者计算.
TxCacheSet 设置 cache.
TxsToCache 缓存交易信息.

# Constants

基本全局常量定义.
通过钱包的seed生成一个空投地址,最大index索引.
通过钱包的seed生成一个空投地址,最小index索引.
基本全局常量定义.
基本全局常量定义.
coin conversation.
基本全局常量定义.
DefaultCoinsSymbol 默认的主币名称.
基本全局常量定义.
ty = 1 -> secp256k1ty = 2 -> ed25519ty = 3 -> sm2ty = 4 -> onetimeed25519ty = 5 -> RingBaseonED25519ty = 1+offset(1<<8) ->auth_ecdsaty = 2+offset(1<<8) -> auth_sm2.
event.
event.
event.
event.
event.
event.
event.
event.
event.
exec.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
seed.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
BlockChain 接收的事件.
event.
event.
event.
event.
event.
event.
event.
通过平行链title获取平行链的交易.
mempool.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
local store.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
其他模块读写blockchain db事件.
event.
event.
event.
event.
event.
event.
EventWalletCreateTx = 129.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
event.
exec type.
exec type.
exec type.
基本全局常量定义.
基本全局常量定义.
基本全局常量定义.
ty = 1 -> secp256k1ty = 2 -> ed25519ty = 3 -> sm2ty = 4 -> onetimeed25519ty = 5 -> RingBaseonED25519ty = 1+offset(1<<8) ->auth_ecdsaty = 2+offset(1<<8) -> auth_sm2.
从数据库中一次性获取block的最大数 1000个.
20M.
从数据库中一次性获取block的最大size100M.
coin conversation.
MaxHeight 出于forks 过程安全的考虑,比如代码更新,出现了新的fork,旧的链只要不明确指定 fork的高度,那么默认fork高度为 MaxHeight 也就是新的代码默认不会被启用,知道使用的人明确指定了fork的高度 */.
900亿.
coin conversation.
100K.
coin conversation.
基本全局常量定义.
基本全局常量定义.
UserKeyX 用户自定义执行器前缀字符串.
UserKeyX 用户自定义执行器前缀字符串.
基本全局常量定义.
创建隐私交易的类型定义.
创建隐私交易的类型定义.
创建隐私交易的类型定义.
ty = 1 -> secp256k1ty = 2 -> ed25519ty = 3 -> sm2ty = 4 -> onetimeed25519ty = 5 -> RingBaseonED25519ty = 1+offset(1<<8) ->auth_ecdsaty = 2+offset(1<<8) -> auth_sm2.
基本全局常量定义.
Size1Kshiftlen tx消息大小1k.
ty = 1 -> secp256k1ty = 2 -> ed25519ty = 3 -> sm2ty = 4 -> onetimeed25519ty = 5 -> RingBaseonED25519ty = 1+offset(1<<8) ->auth_ecdsaty = 2+offset(1<<8) -> auth_sm2.
coin conversation.
基本全局常量定义.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
log type.
TyLogTransfer coins.
UserKeyX 用户自定义执行器前缀字符串.
基本全局常量定义.

# Variables

定义key值.
区块链共识相关的参数,重要参数不要随便修改.
ConfigPrefix 配置前缀key.
存贮para共识模块从主链拉取的平行链交易.
Debug 调试开关.
这字符串表示数据库中的空值.
EnableTxGroupParaFork 默认情况下不开启fork.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
ErrHashNotExist BlockChain Error Types.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
ErrInvalidMainnetRPCAddr rpc模块的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
ErrNotSetInTransaction 必须set 在 事务 中.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
ErrPing p2p模块错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
chain33定义的错误类型.
ErrWalletIsLocked wallet.
UserKeyX 用户自定义执行器前缀byte类型.
交易过期分界线,小于expireBound比较height,大于expireBound比较blockTime.
定义key值.
定义key值.
HighAllowPackHeight eg: current Height is 10000TxHeight is 10010=> Height <= TxHeight + HighAllowPackHeight=> Height >= TxHeight - LowAllowPackHeight那么交易可以打包的范围是: 10010 - 100 = 9910 , 10010 + 200 = 10210 (9910,10210)可以合法的打包交易注意,这两个条件必须同时满足.关于交易去重复:也就是说,另外一笔相同的交易,只能被打包在这个区间(9910,10210)。那么检查交易重复的时候,我只要检查 9910 - currentHeight 这个区间的交易不要重复就好了.
定义key值.
LowAllowPackHeight 允许打包的low区块高度.
ManagePrefix 超级管理员账户配置前缀key.
NtpHosts ntp hosts.
UserKeyX 用户自定义执行器前缀byte类型.
全局账户私钥/公钥.
SystemLog 系统log日志.
定义key值.
定义key值.
定义key值.
TxHeightFlag 标记是一个时间还是一个 TxHeight.
定义key值.
UserKeyX 用户自定义执行器前缀byte类型.
全局账户私钥/公钥.
ViewPubFee 公钥addr:1Cbo5u8V5F3ubWBv9L6qu9wWxKuD3qBVpi,这里只是作为测试用,后面需要修改为系统账户.

# Structs

Account 的信息.
Account 的列表.
No description provided by the author
No description provided by the author
配置修改部分.
No description provided by the author
assert transfer struct.
No description provided by the author
No description provided by the author
No description provided by the author
参考Header解释 mainHash 平行链上使用的字段,代表这个区块的主链hash.
区块体信息 txs : 区块上所有交易列表 receipts :区块上所有交易的收据信息列表.
BlockChain 配置.
区块详细信息 block : 区块信息 receipts :区块上所有交易的收据信息列表.
resp.
区块视图 head : 区块头信息 txCount :区块上交易个数 txHashes : 区块上交易的哈希列表.
节点ID以及对应的Block.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
通过block hash记录block的操作类型及add/del:1/2.
resp.
* p2p 广播数据协议.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ChainParam 结构体.
区块链状态 currentHeight : 区块最新高度 mempoolSize :内存池大小 msgQueueSize : 消息队列大小.
No description provided by the author
No description provided by the author
Config 配置信息.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigSubModule 子模块的配置.
ConfQuery 结构体.
Consensus 配置.
No description provided by the author
No description provided by the author
No description provided by the author
存储block高度和hash.
Entry
No description provided by the author
Exec 配置.
No description provided by the author
No description provided by the author
No description provided by the author
ExecTypeBase 执行类型.
导出block文件头信息.
ForkList fork列表配置.
Forks fork分叉结构体.
No description provided by the author
No description provided by the author
No description provided by the author
区块头信息 version : 版本信息 parentHash :父哈希 txHash : 交易根哈希 stateHash :状态哈希 height : 区块高度 blockTime :区块产生时的时标 txCount : 区块上所有交易个数 difficulty :区块难度系数, signature :交易签名.
resp.
通过seq获取区块的header信息.
批量推送区块的header信息.
No description provided by the author
HealthCheck 配置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* inv 请求协议.
No description provided by the author
No description provided by the author
* inv 返回数据.
ty=MSG_TX MSG_BLOCK.
区块追赶主链状态,用于判断本节点区块是否已经同步好.
ntp时钟状态.
迭代查询symbol代币总额.
No description provided by the author
merkle avl tree.
* p2p 轻量级区块, 广播交易短哈希列表.
轻量级交易广播.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Log 日志配置.
LogInfo loginfo信息.
No description provided by the author
Mempool 配置.
No description provided by the author
No description provided by the author
payAddr 可以支持 1.
支持构造多笔nobalance的交易 payAddr 可以支持 1.
* 当前节点的网络信息.
No description provided by the author
P2P 配置.
* 返回请求地址列表的社保.
No description provided by the author
* p2p 发送区块协议.
区块交易数据返回.
请求区块内交易数据.
* 节点外网信息.
* 获取对方节点所连接的其他节点地址的请求包.
* 获取区间区块.
* 通过invs 下载数据.
* p2p 获取区块区间头部信息协议.
* 获取mempool.
* 请求获取远程节点的节点信息.
* p2p 区块头传输协议.
No description provided by the author
* 节点信息.
* P2P 心跳包.
* 心跳返回包.
节点收到区块或交易hash, 当在本地不存在时,需要请求重发完整交易或区块 采用统一结构减少消息类型.
No description provided by the author
No description provided by the author
.
* p2p 发送交易协议.
请求完整交易数据.
* P2P 版本返回.
* p2p节点间发送版本数据结构.
平行链区块详细信息 blockdetail : 区块详细信息 sequence :区块序列号 isSync:写数据库时是否需要刷盘.
type:平行链交易所在区块add/del操作,方便平行链回滚 header:平行链交易所在区块头信息 txDetails:本区块中指定title平行链的所有交易.
定义para交易结构.
* peer 信息.
* peer 列表.
No description provided by the author
No description provided by the author
Pprof 配置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueryData 查询结构体.
ty = 0 -> error Receipt ty = 1 -> CutFee //cut fee ,bug exec not ok ty = 2 -> exec ok.
No description provided by the author
铸币账户余额增加.
账户余额改变的一个交易回报(coins内).
No description provided by the author
No description provided by the author
No description provided by the author
ReceiptDataResult 回执数据.
账户余额改变的一个交易回报(合约内).
No description provided by the author
ReceiptLogResult 回执log数据.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
查询symbol在合约中的代币总额应答.
查询symbol代币总额应答.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
查询一个地址列表在某个执行器中余额.
获取区块信息 start : 获取区块的开始高度 end :获取区块的结束高度 Isdetail : 是否需要获取区块的详细信息 pid : peer列表.
No description provided by the author
查询symbol在合约中的代币总额,如果execAddr为空,则为查询symbol在所有合约中的代币总额.
No description provided by the author
查询symbol代币总额.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
通过seq区间和title请求平行链的交易.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
通过交易hash获取交易列表,需要区分是短hash还是全hash值.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
发送交易 from : 打出地址 to :接受地址 amount : 转账额度 note :转账备注.
No description provided by the author
No description provided by the author
No description provided by the author
获取钱包交易的详细信息 fromTx : []byte( Sprintf("%018d", height*100000 + index), 表示从高度 height 中的 index 开始获取交易列表; 第一次传参为空,获取最新的交易。) count :获取交易列表的个数。 direction :查找方式;0,上一页;1,下一页。.
No description provided by the author
No description provided by the author
环签名类型时,签名字段存储的环签名信息.
环签名中的一组签名数据.
RPC 配置.
存储钱包的种子 seed : 钱包种子 passwd :钱包密码.
对于一个交易组中的交易,要么全部成功,要么全部失败 这个要好好设计一下 最好交易构成一个链条[prevhash].独立的交易构成链条 只要这个组中有一个执行是出错的,那么就执行不成功 三种签名支持 ty = 1 -> secp256k1 ty = 2 -> ed25519 ty = 3 -> sm2 ty = 4 -> OnetimeED25519 ty = 5 -> RingBaseonED25519.
Store 配置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
用于存储db Pool数据的Value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
手续费.
No description provided by the author
TransactionCache 交易缓存结构.
No description provided by the author
No description provided by the author
No description provided by the author
交易的详情: index:本交易在block中索引值,用于proof的证明 tx:本交易内容 receipt:本交易在主链的执行回执 proofs:本交易hash在block中merkel中的路径.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* 当前软件版本信息.
* p2p 协议和软件版本.
No description provided by the author
Wallet 配置.
No description provided by the author
No description provided by the author
钱包模块存贮的账户信息 privkey : 账户地址对应的私钥 label :账户地址对应的标签 addr :账户地址 timeStamp :创建账户时的时标.
钱包模块通过一个随机值对钱包密码加密 pwHash : 对钱包密码和一个随机值组合进行哈希计算 randstr :对钱包密码加密的一个随机值.
钱包当前的状态 isWalletLock : 钱包是否锁状态,true锁定,false解锁 isAutoMining :钱包是否开启挖矿功能,true开启挖矿,false关闭挖矿 isHasSeed : 钱包是否有种子,true已有,false没有 isTicketLock :钱包挖矿买票锁状态,true锁定,false解锁,只能用于挖矿转账.
钱包模块存贮的tx交易详细信息 tx : tx交易信息 receipt :交易收据信息 height :交易所在的区块高度 index :交易所在区块中的索引 blocktime :交易所在区块的时标 amount :交易量 fromaddr :交易打出地址 txhash : 交易对应的哈希值 actionName :交易对应的函数调用 payload: 保存额外的一些信息,主要是给插件使用.
No description provided by the author
钱包解锁 passwd : 钱包密码 timeout :钱包解锁时间,0,一直解锁,非0值,超时之后继续锁定 walletOrTicket :解锁整个钱包还是只解锁挖矿买票功能,1只解锁挖矿买票,0解锁整个钱包.

# Interfaces

Amounter 转账金额.
Chain33Client is the client API for Chain33 service.
Chain33Server is the server API for Chain33 service.
ExecutorType 执行器接口.
LogType 结构体类型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
P2PgserviceClient is the client API for P2Pgservice service.
P2PgserviceServer is the server API for P2Pgservice service.
ParaCrossTx 平行跨链交易.
TxGroup 交易组的接口,Transactions 和 Transaction 都符合这个接口.

# Type aliases

LogErr log错误信息.
LogReserved LogReserved信息.
Message 声明proto.Message.