Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
4483d296
Commit
4483d296
authored
Apr 25, 2019
by
vipwzw
Committed by
33cn
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ticket add price
parent
715c73dd
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
507 additions
and
153 deletions
+507
-153
chain33.cfg.toml
plugin/dapp/ticket/executor/testdata/chain33.cfg.toml
+209
-0
ticket_test.go
plugin/dapp/ticket/executor/ticket_test.go
+138
-0
ticketdb.go
plugin/dapp/ticket/executor/ticketdb.go
+17
-5
ticket.proto
plugin/dapp/ticket/proto/ticket.proto
+2
-0
ticket.pb.go
plugin/dapp/ticket/types/ticket.pb.go
+141
-148
No files found.
plugin/dapp/ticket/executor/testdata/chain33.cfg.toml
0 → 100644
View file @
4483d296
Title
=
"bityuan"
TestNet
=
true
FixTime
=
false
[log]
# 日志级别,支持debug(dbug)/info/warn/error(eror)/crit
loglevel
=
"debug"
logConsoleLevel
=
"info"
# 日志文件名,可带目录,所有生成的日志文件都放到此目录下
logFile
=
"logs/chain33.log"
# 单个日志文件的最大值(单位:兆)
maxFileSize
=
300
# 最多保存的历史日志文件个数
maxBackups
=
100
# 最多保存的历史日志消息(单位:天)
maxAge
=
28
# 日志文件名是否使用本地事件(否则使用UTC时间)
localTime
=
true
# 历史日志文件是否压缩(压缩格式为gz)
compress
=
true
# 是否打印调用源文件和行号
callerFile
=
false
# 是否打印调用方法
callerFunction
=
false
[blockchain]
defCacheSize
=
128
maxFetchBlockNum
=
128
timeoutSeconds
=
5
batchBlockNum
=
128
driver
=
"memdb"
dbPath
=
"datadir"
dbCache
=
64
isStrongConsistency
=
false
singleMode
=
true
batchsync
=
false
isRecordBlockSequence
=
true
isParaChain
=
false
enableTxQuickIndex
=
false
[p2p]
seeds
=[]
enable
=
false
isSeed
=
false
serverStart
=
true
innerSeedEnable
=
true
useGithub
=
true
innerBounds
=
300
msgCacheSize
=
10240
driver
=
"memdb"
dbPath
=
"datadir/addrbook"
dbCache
=
4
grpcLogFile
=
"grpc33.log"
[rpc]
jrpcBindAddr
=
"localhost:0"
grpcBindAddr
=
"localhost:0"
whitelist
=
["127.0.0.1"]
jrpcFuncWhitelist
=
["*"]
grpcFuncWhitelist
=
["*"]
[mempool]
name
=
"timeline"
poolCacheSize
=
10240
minTxFee
=
100000
maxTxNumPerAccount
=
10000
[consensus]
name
=
"ticket"
minerstart
=
true
genesisBlockTime
=
1514533394
genesis
=
"14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
[mver.consensus]
fundKeyAddr
=
"1BQXS6TxaYYG5mADaWij4AxhZZUTpw95a5"
coinReward
=
18
coinDevFund
=
12
ticketPrice
=
10000
powLimitBits
=
"0x1f00ffff"
retargetAdjustmentFactor
=
4
futureBlockTime
=
16
ticketFrozenTime
=
5
ticketWithdrawTime
=
10
ticketMinerWaitTime
=
2
maxTxNumber
=
1600
targetTimespan
=
2304
targetTimePerBlock
=
16
[mver.consensus.ForkChainParamV1]
maxTxNumber
=
10000
targetTimespan
=
288
#only for test
targetTimePerBlock
=
2
[mver.consensus.ForkChainParamV2]
coinReward
=
5
coinDevFund
=
3
ticketPrice
=
3000
maxTxNumber
=
1500
targetTimespan
=
720
targetTimePerBlock
=
1
powLimitBits
=
"0x1f2fffff"
[consensus.sub.solo]
genesis
=
"14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
genesisBlockTime
=
1514533394
waitTxMs
=
10
[consensus.sub.ticket]
genesisBlockTime
=
1514533394
[[consensus.sub.ticket.genesis]]
minerAddr
=
"12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
returnAddr
=
"14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
count
=
10000
[[consensus.sub.ticket.genesis]]
minerAddr
=
"1PUiGcbsccfxW3zuvHXZBJfznziph5miAo"
returnAddr
=
"1EbDHAXpoiewjPLX9uqoz38HsKqMXayZrF"
count
=
100
[[consensus.sub.ticket.genesis]]
minerAddr
=
"1EDnnePAZN48aC2hiTDzhkczfF39g1pZZX"
returnAddr
=
"1KcCVZLSQYRUwE5EXTsAoQs9LuJW6xwfQa"
count
=
100
[store]
name
=
"mavl"
driver
=
"memdb"
dbPath
=
"datadir/mavltree"
dbCache
=
128
[store.sub.mavl]
enableMavlPrefix
=
false
enableMVCC
=
false
[wallet]
minFee
=
100000
driver
=
"memdb"
dbPath
=
"wallet"
dbCache
=
16
signType
=
"secp256k1"
[wallet.sub.ticket]
minerdisable
=
false
minerwhitelist
=
["*"]
minerWaitTime
=
"1s"
[exec]
isFree
=
false
minExecFee
=
100000
enableStat
=
false
enableMVCC
=
false
alias
=
["token1:token","token2:token","token3:token"]
[exec.sub.token]
saveTokenTxList
=
true
tokenApprs
=
[
"1Bsg9j6gW83sShoee1fZAt9TkUjcrCgA9S"
,
"1Q8hGLfoGe63efeWa8fJ4Pnukhkngt6poK"
,
"1LY8GFia5EiyoTodMLfkB5PHNNpXRqxhyB"
,
"1GCzJDS6HbgTQ2emade7mEJGGWFfA15pS9"
,
"1JYB8sxi4He5pZWHCd3Zi2nypQ4JMB6AxN"
,
"12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
,
]
[exec.sub.relay]
genesis
=
"14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
[exec.sub.cert]
# 是否启用证书验证和签名
enable
=
false
# 加密文件路径
cryptoPath
=
"authdir/crypto"
# 带证书签名类型,支持"auth_ecdsa", "auth_sm2"
signType
=
"auth_ecdsa"
[exec.sub.manage]
superManager
=[
"1Bsg9j6gW83sShoee1fZAt9TkUjcrCgA9S"
,
"12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
,
"1Q8hGLfoGe63efeWa8fJ4Pnukhkngt6poK"
]
#系统中所有的fork,默认用chain33的测试网络的
#但是我们可以替换
[fork.system]
ForkChainParamV1
=
0
ForkCheckTxDup
=
0
ForkBlockHash
=
1
ForkMinerTime
=
0
ForkTransferExec
=
100000
ForkExecKey
=
200000
ForkTxGroup
=
200000
ForkResetTx0
=
200000
ForkWithdraw
=
200000
ForkExecRollback
=
450000
ForkCheckBlockTime
=
-1
#fork 6.2
ForkTxHeight
=
-1
ForkTxGroupPara
=
-1
ForkChainParamV2
=
1
ForkMultiSignAddress
=
-1
#fork 6.2
ForkStateDBSet
=
-1
#fork 6.2
ForkLocalDBAccess
=
-1
#fork 6.2
ForkBlockCheck
=
-1
#fork 6.2
[fork.sub.coins]
Enable
=
0
[fork.sub.ticket]
Enable
=
0
ForkTicketId
=
1600000
\ No newline at end of file
plugin/dapp/ticket/executor/ticket_test.go
0 → 100644
View file @
4483d296
package
executor_test
import
(
"encoding/hex"
"fmt"
"strings"
"testing"
"github.com/33cn/chain33/account"
"github.com/33cn/chain33/common/crypto"
"github.com/33cn/chain33/types"
"github.com/33cn/chain33/util"
"github.com/33cn/chain33/util/testnode"
"github.com/33cn/plugin/plugin/dapp/ticket/executor"
ty
"github.com/33cn/plugin/plugin/dapp/ticket/types"
"github.com/stretchr/testify/assert"
_
"github.com/33cn/chain33/system"
_
"github.com/33cn/plugin/plugin/consensus/init"
_
"github.com/33cn/plugin/plugin/dapp/ticket"
)
var
mock33
*
testnode
.
Chain33Mock
func
TestMain
(
m
*
testing
.
M
)
{
mock33
=
testnode
.
New
(
"testdata/chain33.cfg.toml"
,
nil
)
mock33
.
Listen
()
m
.
Run
()
mock33
.
Close
()
}
func
TestTicketPrice
(
t
*
testing
.
T
)
{
//test price
ti
:=
&
executor
.
DB
{}
assert
.
Equal
(
t
,
ti
.
GetRealPrice
(),
10000
*
types
.
Coin
)
ti
=
&
executor
.
DB
{}
ti
.
Price
=
10
assert
.
Equal
(
t
,
ti
.
GetRealPrice
(),
int64
(
10
))
}
func
TestCheckFork
(
t
*
testing
.
T
)
{
assert
.
Equal
(
t
,
int64
(
1
),
types
.
GetFork
(
"ForkChainParamV2"
))
p1
:=
types
.
GetP
(
0
)
assert
.
Equal
(
t
,
int64
(
10000
*
types
.
Coin
),
p1
.
TicketPrice
)
p1
=
types
.
GetP
(
1
)
assert
.
Equal
(
t
,
int64
(
3000
*
types
.
Coin
),
p1
.
TicketPrice
)
p1
=
types
.
GetP
(
2
)
assert
.
Equal
(
t
,
int64
(
3000
*
types
.
Coin
),
p1
.
TicketPrice
)
p1
=
types
.
GetP
(
3
)
assert
.
Equal
(
t
,
int64
(
3000
*
types
.
Coin
),
p1
.
TicketPrice
)
}
func
TestTicket
(
t
*
testing
.
T
)
{
reply
,
err
:=
mock33
.
GetAPI
()
.
ExecWalletFunc
(
"ticket"
,
"WalletAutoMiner"
,
&
ty
.
MinerFlag
{
Flag
:
1
})
assert
.
Nil
(
t
,
err
)
assert
.
Equal
(
t
,
true
,
reply
.
(
*
types
.
Reply
)
.
IsOk
)
acc
:=
account
.
NewCoinsAccount
()
addr
:=
mock33
.
GetGenesisAddress
()
accounts
,
err
:=
acc
.
GetBalance
(
mock33
.
GetAPI
(),
&
types
.
ReqBalance
{
Execer
:
"ticket"
,
Addresses
:
[]
string
{
addr
}})
assert
.
Nil
(
t
,
err
)
assert
.
Equal
(
t
,
accounts
[
0
]
.
Balance
,
int64
(
0
))
hotaddr
:=
mock33
.
GetHotAddress
()
_
,
err
=
acc
.
GetBalance
(
mock33
.
GetAPI
(),
&
types
.
ReqBalance
{
Execer
:
"coins"
,
Addresses
:
[]
string
{
hotaddr
}})
assert
.
Nil
(
t
,
err
)
//assert.Equal(t, accounts[0].Balance, int64(1000000000000))
//send to address
tx
:=
util
.
CreateCoinsTx
(
mock33
.
GetHotKey
(),
mock33
.
GetGenesisAddress
(),
types
.
Coin
/
100
)
mock33
.
SendTx
(
tx
)
mock33
.
Wait
()
//bind miner
tx
=
createBindMiner
(
t
,
hotaddr
,
addr
,
mock33
.
GetGenesisKey
())
hash
:=
mock33
.
SendTx
(
tx
)
detail
,
err
:=
mock33
.
WaitTx
(
hash
)
assert
.
Nil
(
t
,
err
)
//debug:
//js, _ := json.MarshalIndent(detail, "", " ")
//fmt.Println(string(js))
_
,
err
=
mock33
.
GetAPI
()
.
ExecWalletFunc
(
"ticket"
,
"WalletAutoMiner"
,
&
ty
.
MinerFlag
{
Flag
:
0
})
assert
.
Nil
(
t
,
err
)
status
,
err
:=
mock33
.
GetAPI
()
.
GetWalletStatus
()
assert
.
Nil
(
t
,
err
)
assert
.
Equal
(
t
,
false
,
status
.
IsAutoMining
)
assert
.
Equal
(
t
,
int32
(
2
),
detail
.
Receipt
.
Ty
)
_
,
err
=
mock33
.
GetAPI
()
.
ExecWalletFunc
(
"ticket"
,
"WalletAutoMiner"
,
&
ty
.
MinerFlag
{
Flag
:
1
})
assert
.
Nil
(
t
,
err
)
status
,
err
=
mock33
.
GetAPI
()
.
GetWalletStatus
()
assert
.
Nil
(
t
,
err
)
assert
.
Equal
(
t
,
true
,
status
.
IsAutoMining
)
for
i
:=
mock33
.
GetLastBlock
()
.
Height
;
i
<
100
;
i
++
{
err
=
mock33
.
WaitHeight
(
i
)
assert
.
Nil
(
t
,
err
)
//查询票是否自动close,并且购买了新的票
req
:=
&
types
.
ReqWalletTransactionList
{
Count
:
1000
}
list
,
err
:=
mock33
.
GetAPI
()
.
WalletTransactionList
(
req
)
assert
.
Nil
(
t
,
err
)
hastclose
:=
false
hastopen
:=
false
for
_
,
tx
:=
range
list
.
TxDetails
{
if
tx
.
Height
<
1
{
continue
}
if
tx
.
ActionName
==
"tclose"
&&
tx
.
Receipt
.
Ty
==
2
{
hastclose
=
true
}
if
tx
.
ActionName
==
"topen"
&&
tx
.
Receipt
.
Ty
==
2
{
hastopen
=
true
fmt
.
Println
(
tx
)
list
:=
ticketList
(
t
,
mock33
,
&
ty
.
TicketList
{
Addr
:
tx
.
Fromaddr
,
Status
:
1
})
for
_
,
ti
:=
range
list
.
GetTickets
()
{
if
strings
.
Contains
(
ti
.
TicketId
,
hex
.
EncodeToString
(
tx
.
Txhash
))
{
assert
.
Equal
(
t
,
3000
*
types
.
Coin
,
ti
.
Price
)
}
}
}
}
if
hastclose
&&
hastopen
{
return
}
}
t
.
Error
(
"wait 100 , open and close not happened"
)
}
func
createBindMiner
(
t
*
testing
.
T
,
m
,
r
string
,
priv
crypto
.
PrivKey
)
*
types
.
Transaction
{
ety
:=
types
.
LoadExecutorType
(
"ticket"
)
tx
,
err
:=
ety
.
Create
(
"Tbind"
,
&
ty
.
TicketBind
{
MinerAddress
:
m
,
ReturnAddress
:
r
})
assert
.
Nil
(
t
,
err
)
tx
,
err
=
types
.
FormatTx
(
"ticket"
,
tx
)
assert
.
Nil
(
t
,
err
)
tx
.
Sign
(
types
.
SECP256K1
,
priv
)
return
tx
}
func
ticketList
(
t
*
testing
.
T
,
mock33
*
testnode
.
Chain33Mock
,
req
*
ty
.
TicketList
)
*
ty
.
ReplyTicketList
{
data
,
err
:=
mock33
.
GetAPI
()
.
Query
(
"ticket"
,
"TicketList"
,
req
)
assert
.
Nil
(
t
,
err
)
return
data
.
(
*
ty
.
ReplyTicketList
)
}
plugin/dapp/ticket/executor/ticketdb.go
View file @
4483d296
...
@@ -6,6 +6,7 @@ package executor
...
@@ -6,6 +6,7 @@ package executor
//database opeartion for execs ticket
//database opeartion for execs ticket
import
(
import
(
//"bytes"
//"bytes"
"encoding/hex"
"encoding/hex"
"errors"
"errors"
...
@@ -33,8 +34,17 @@ type DB struct {
...
@@ -33,8 +34,17 @@ type DB struct {
prevstatus
int32
prevstatus
int32
}
}
//GetRealPrice 获取真实的价格
func
(
ticket
*
DB
)
GetRealPrice
()
int64
{
if
ticket
.
GetPrice
()
==
0
{
cfg
:=
types
.
GetP
(
types
.
GetFork
(
"ForkChainParamV1"
))
return
cfg
.
TicketPrice
}
return
ticket
.
GetPrice
()
}
// NewDB new instance
// NewDB new instance
func
NewDB
(
id
,
minerAddress
,
returnWallet
string
,
blocktime
int64
,
isGenesis
bool
)
*
DB
{
func
NewDB
(
id
,
minerAddress
,
returnWallet
string
,
blocktime
,
height
,
price
int64
,
isGenesis
bool
)
*
DB
{
t
:=
&
DB
{}
t
:=
&
DB
{}
t
.
TicketId
=
id
t
.
TicketId
=
id
t
.
MinerAddress
=
minerAddress
t
.
MinerAddress
=
minerAddress
...
@@ -43,6 +53,9 @@ func NewDB(id, minerAddress, returnWallet string, blocktime int64, isGenesis boo
...
@@ -43,6 +53,9 @@ func NewDB(id, minerAddress, returnWallet string, blocktime int64, isGenesis boo
t
.
Status
=
1
t
.
Status
=
1
t
.
IsGenesis
=
isGenesis
t
.
IsGenesis
=
isGenesis
t
.
prevstatus
=
0
t
.
prevstatus
=
0
if
types
.
IsFork
(
height
,
"ForkChainParamV2"
)
{
t
.
Price
=
price
}
return
t
return
t
}
}
...
@@ -131,7 +144,7 @@ func (action *Action) GenesisInit(genesis *ty.TicketGenesis) (*types.Receipt, er
...
@@ -131,7 +144,7 @@ func (action *Action) GenesisInit(genesis *ty.TicketGenesis) (*types.Receipt, er
cfg
:=
types
.
GetP
(
action
.
height
)
cfg
:=
types
.
GetP
(
action
.
height
)
for
i
:=
0
;
i
<
int
(
genesis
.
Count
);
i
++
{
for
i
:=
0
;
i
<
int
(
genesis
.
Count
);
i
++
{
id
:=
prefix
+
fmt
.
Sprintf
(
"%010d"
,
i
)
id
:=
prefix
+
fmt
.
Sprintf
(
"%010d"
,
i
)
t
:=
NewDB
(
id
,
genesis
.
MinerAddress
,
genesis
.
ReturnAddress
,
action
.
blocktime
,
true
)
t
:=
NewDB
(
id
,
genesis
.
MinerAddress
,
genesis
.
ReturnAddress
,
action
.
blocktime
,
action
.
height
,
cfg
.
TicketPrice
,
true
)
//冻结子账户资金
//冻结子账户资金
receipt
,
err
:=
action
.
coinsAccount
.
ExecFrozen
(
genesis
.
ReturnAddress
,
action
.
execaddr
,
cfg
.
TicketPrice
)
receipt
,
err
:=
action
.
coinsAccount
.
ExecFrozen
(
genesis
.
ReturnAddress
,
action
.
execaddr
,
cfg
.
TicketPrice
)
if
err
!=
nil
{
if
err
!=
nil
{
...
@@ -236,8 +249,7 @@ func (action *Action) TicketOpen(topen *ty.TicketOpen) (*types.Receipt, error) {
...
@@ -236,8 +249,7 @@ func (action *Action) TicketOpen(topen *ty.TicketOpen) (*types.Receipt, error) {
}
}
id
=
id
+
":"
+
fmt
.
Sprintf
(
"%x:%d"
,
topen
.
PubHashes
[
i
],
topen
.
RandSeed
)
id
=
id
+
":"
+
fmt
.
Sprintf
(
"%x:%d"
,
topen
.
PubHashes
[
i
],
topen
.
RandSeed
)
}
}
t
:=
NewDB
(
id
,
topen
.
MinerAddress
,
topen
.
ReturnAddress
,
action
.
blocktime
,
action
.
height
,
cfg
.
TicketPrice
,
false
)
t
:=
NewDB
(
id
,
topen
.
MinerAddress
,
topen
.
ReturnAddress
,
action
.
blocktime
,
false
)
//冻结子账户资金
//冻结子账户资金
receipt
,
err
:=
action
.
coinsAccount
.
ExecFrozen
(
topen
.
ReturnAddress
,
action
.
execaddr
,
cfg
.
TicketPrice
)
receipt
,
err
:=
action
.
coinsAccount
.
ExecFrozen
(
topen
.
ReturnAddress
,
action
.
execaddr
,
cfg
.
TicketPrice
)
...
@@ -384,7 +396,7 @@ func (action *Action) TicketClose(tclose *ty.TicketClose) (*types.Receipt, error
...
@@ -384,7 +396,7 @@ func (action *Action) TicketClose(tclose *ty.TicketClose) (*types.Receipt, error
if
t
.
prevstatus
==
1
{
if
t
.
prevstatus
==
1
{
t
.
MinerValue
=
0
t
.
MinerValue
=
0
}
}
retValue
:=
cfg
.
TicketPrice
+
t
.
MinerValue
retValue
:=
t
.
GetRealPrice
()
+
t
.
MinerValue
receipt1
,
err
:=
action
.
coinsAccount
.
ExecActive
(
t
.
ReturnAddress
,
action
.
execaddr
,
retValue
)
receipt1
,
err
:=
action
.
coinsAccount
.
ExecActive
(
t
.
ReturnAddress
,
action
.
execaddr
,
retValue
)
if
err
!=
nil
{
if
err
!=
nil
{
tlog
.
Error
(
"TicketClose.ExecActive user"
,
"addr"
,
t
.
ReturnAddress
,
"execaddr"
,
action
.
execaddr
,
"value"
,
retValue
)
tlog
.
Error
(
"TicketClose.ExecActive user"
,
"addr"
,
t
.
ReturnAddress
,
"execaddr"
,
action
.
execaddr
,
"value"
,
retValue
)
...
...
plugin/dapp/ticket/proto/ticket.proto
View file @
4483d296
...
@@ -18,6 +18,8 @@ message Ticket {
...
@@ -18,6 +18,8 @@ message Ticket {
string
minerAddress
=
6
;
string
minerAddress
=
6
;
// return wallet
// return wallet
string
returnAddress
=
7
;
string
returnAddress
=
7
;
//miner Price
int64
price
=
9
;
}
}
// message for execs.ticket
// message for execs.ticket
...
...
plugin/dapp/ticket/types/ticket.pb.go
View file @
4483d296
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
package
types
package
types
import
(
import
proto
"github.com/golang/protobuf/proto"
context
"contex
t"
import
fmt
"fm
t"
fmt
"fmt
"
import
math
"math
"
math
"math
"
import
types
"github.com/33cn/chain33/types
"
types
"github.com/33cn/chain33/types"
import
(
proto
"github.com/golang/protobuf/proto
"
context
"golang.org/x/net/context
"
grpc
"google.golang.org/grpc"
grpc
"google.golang.org/grpc"
)
)
...
@@ -30,15 +30,17 @@ type Ticket struct {
...
@@ -30,15 +30,17 @@ type Ticket struct {
Status
int32
`protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
Status
int32
`protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
// genesis 创建的私钥比较特殊
// genesis 创建的私钥比较特殊
IsGenesis
bool
`protobuf:"varint,3,opt,name=isGenesis,proto3" json:"isGenesis,omitempty"`
IsGenesis
bool
`protobuf:"varint,3,opt,name=isGenesis,proto3" json:"isGenesis,omitempty"`
//创建时间
//
创建时间
CreateTime
int64
`protobuf:"varint,4,opt,name=createTime,proto3" json:"createTime,omitempty"`
CreateTime
int64
`protobuf:"varint,4,opt,name=createTime,proto3" json:"createTime,omitempty"`
//挖矿时间
//
挖矿时间
MinerTime
int64
`protobuf:"varint,5,opt,name=minerTime,proto3" json:"minerTime,omitempty"`
MinerTime
int64
`protobuf:"varint,5,opt,name=minerTime,proto3" json:"minerTime,omitempty"`
//挖到的币的数目
//
挖到的币的数目
MinerValue
int64
`protobuf:"varint,8,opt,name=minerValue,proto3" json:"minerValue,omitempty"`
MinerValue
int64
`protobuf:"varint,8,opt,name=minerValue,proto3" json:"minerValue,omitempty"`
MinerAddress
string
`protobuf:"bytes,6,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"`
MinerAddress
string
`protobuf:"bytes,6,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"`
// return wallet
// return wallet
ReturnAddress
string
`protobuf:"bytes,7,opt,name=returnAddress,proto3" json:"returnAddress,omitempty"`
ReturnAddress
string
`protobuf:"bytes,7,opt,name=returnAddress,proto3" json:"returnAddress,omitempty"`
// miner Price
Price
int64
`protobuf:"varint,9,opt,name=price,proto3" json:"price,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
@@ -48,17 +50,16 @@ func (m *Ticket) Reset() { *m = Ticket{} }
...
@@ -48,17 +50,16 @@ func (m *Ticket) Reset() { *m = Ticket{} }
func
(
m
*
Ticket
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
Ticket
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Ticket
)
ProtoMessage
()
{}
func
(
*
Ticket
)
ProtoMessage
()
{}
func
(
*
Ticket
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
Ticket
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
0
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
0
}
}
}
func
(
m
*
Ticket
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
Ticket
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Ticket
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_Ticket
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
Ticket
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
Ticket
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Ticket
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_Ticket
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
Ticket
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
Ticket
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Ticket
.
Merge
(
m
,
src
)
xxx_messageInfo_Ticket
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
Ticket
)
XXX_Size
()
int
{
func
(
m
*
Ticket
)
XXX_Size
()
int
{
return
xxx_messageInfo_Ticket
.
Size
(
m
)
return
xxx_messageInfo_Ticket
.
Size
(
m
)
...
@@ -125,6 +126,13 @@ func (m *Ticket) GetReturnAddress() string {
...
@@ -125,6 +126,13 @@ func (m *Ticket) GetReturnAddress() string {
return
""
return
""
}
}
func
(
m
*
Ticket
)
GetPrice
()
int64
{
if
m
!=
nil
{
return
m
.
Price
}
return
0
}
// message for execs.ticket
// message for execs.ticket
type
TicketAction
struct
{
type
TicketAction
struct
{
// Types that are valid to be assigned to Value:
// Types that are valid to be assigned to Value:
...
@@ -144,17 +152,16 @@ func (m *TicketAction) Reset() { *m = TicketAction{} }
...
@@ -144,17 +152,16 @@ func (m *TicketAction) Reset() { *m = TicketAction{} }
func
(
m
*
TicketAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketAction
)
ProtoMessage
()
{}
func
(
*
TicketAction
)
ProtoMessage
()
{}
func
(
*
TicketAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
1
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
1
}
}
}
func
(
m
*
TicketAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketAction
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketAction
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketAction
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketAction
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketAction
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketAction
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketAction
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketAction
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketAction
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketAction
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketAction
)
XXX_Size
()
int
{
func
(
m
*
TicketAction
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketAction
.
Size
(
m
)
return
xxx_messageInfo_TicketAction
.
Size
(
m
)
...
@@ -384,7 +391,7 @@ type TicketMiner struct {
...
@@ -384,7 +391,7 @@ type TicketMiner struct {
Reward
int64
`protobuf:"varint,2,opt,name=reward,proto3" json:"reward,omitempty"`
Reward
int64
`protobuf:"varint,2,opt,name=reward,proto3" json:"reward,omitempty"`
TicketId
string
`protobuf:"bytes,3,opt,name=ticketId,proto3" json:"ticketId,omitempty"`
TicketId
string
`protobuf:"bytes,3,opt,name=ticketId,proto3" json:"ticketId,omitempty"`
Modify
[]
byte
`protobuf:"bytes,4,opt,name=modify,proto3" json:"modify,omitempty"`
Modify
[]
byte
`protobuf:"bytes,4,opt,name=modify,proto3" json:"modify,omitempty"`
//挖到区块时公开
//
挖到区块时公开
PrivHash
[]
byte
`protobuf:"bytes,5,opt,name=privHash,proto3" json:"privHash,omitempty"`
PrivHash
[]
byte
`protobuf:"bytes,5,opt,name=privHash,proto3" json:"privHash,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
@@ -395,17 +402,16 @@ func (m *TicketMiner) Reset() { *m = TicketMiner{} }
...
@@ -395,17 +402,16 @@ func (m *TicketMiner) Reset() { *m = TicketMiner{} }
func
(
m
*
TicketMiner
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketMiner
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketMiner
)
ProtoMessage
()
{}
func
(
*
TicketMiner
)
ProtoMessage
()
{}
func
(
*
TicketMiner
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketMiner
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
2
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
2
}
}
}
func
(
m
*
TicketMiner
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketMiner
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketMiner
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketMiner
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketMiner
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketMiner
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketMiner
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketMiner
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketMiner
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketMiner
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketMiner
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketMiner
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketMiner
)
XXX_Size
()
int
{
func
(
m
*
TicketMiner
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketMiner
.
Size
(
m
)
return
xxx_messageInfo_TicketMiner
.
Size
(
m
)
...
@@ -465,17 +471,16 @@ func (m *TicketMinerOld) Reset() { *m = TicketMinerOld{} }
...
@@ -465,17 +471,16 @@ func (m *TicketMinerOld) Reset() { *m = TicketMinerOld{} }
func
(
m
*
TicketMinerOld
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketMinerOld
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketMinerOld
)
ProtoMessage
()
{}
func
(
*
TicketMinerOld
)
ProtoMessage
()
{}
func
(
*
TicketMinerOld
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketMinerOld
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
3
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
3
}
}
}
func
(
m
*
TicketMinerOld
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketMinerOld
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketMinerOld
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketMinerOld
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketMinerOld
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketMinerOld
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketMinerOld
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketMinerOld
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketMinerOld
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketMinerOld
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketMinerOld
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketMinerOld
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketMinerOld
)
XXX_Size
()
int
{
func
(
m
*
TicketMinerOld
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketMinerOld
.
Size
(
m
)
return
xxx_messageInfo_TicketMinerOld
.
Size
(
m
)
...
@@ -526,17 +531,16 @@ func (m *MinerFlag) Reset() { *m = MinerFlag{} }
...
@@ -526,17 +531,16 @@ func (m *MinerFlag) Reset() { *m = MinerFlag{} }
func
(
m
*
MinerFlag
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
MinerFlag
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
MinerFlag
)
ProtoMessage
()
{}
func
(
*
MinerFlag
)
ProtoMessage
()
{}
func
(
*
MinerFlag
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
MinerFlag
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
4
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
4
}
}
}
func
(
m
*
MinerFlag
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
MinerFlag
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_MinerFlag
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_MinerFlag
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
MinerFlag
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
MinerFlag
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_MinerFlag
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_MinerFlag
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
MinerFlag
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
MinerFlag
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_MinerFlag
.
Merge
(
m
,
src
)
xxx_messageInfo_MinerFlag
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
MinerFlag
)
XXX_Size
()
int
{
func
(
m
*
MinerFlag
)
XXX_Size
()
int
{
return
xxx_messageInfo_MinerFlag
.
Size
(
m
)
return
xxx_messageInfo_MinerFlag
.
Size
(
m
)
...
@@ -573,17 +577,16 @@ func (m *TicketBind) Reset() { *m = TicketBind{} }
...
@@ -573,17 +577,16 @@ func (m *TicketBind) Reset() { *m = TicketBind{} }
func
(
m
*
TicketBind
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketBind
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketBind
)
ProtoMessage
()
{}
func
(
*
TicketBind
)
ProtoMessage
()
{}
func
(
*
TicketBind
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketBind
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
5
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
5
}
}
}
func
(
m
*
TicketBind
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketBind
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketBind
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketBind
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketBind
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketBind
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketBind
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketBind
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketBind
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketBind
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketBind
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketBind
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketBind
)
XXX_Size
()
int
{
func
(
m
*
TicketBind
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketBind
.
Size
(
m
)
return
xxx_messageInfo_TicketBind
.
Size
(
m
)
...
@@ -609,15 +612,15 @@ func (m *TicketBind) GetReturnAddress() string {
...
@@ -609,15 +612,15 @@ func (m *TicketBind) GetReturnAddress() string {
}
}
type
TicketOpen
struct
{
type
TicketOpen
struct
{
//用户挖矿的ticket 地址
//
用户挖矿的ticket 地址
MinerAddress
string
`protobuf:"bytes,1,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"`
MinerAddress
string
`protobuf:"bytes,1,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"`
//购买ticket的数目
//
购买ticket的数目
Count
int32
`protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
Count
int32
`protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
//币实际存储的地址
//
币实际存储的地址
ReturnAddress
string
`protobuf:"bytes,3,opt,name=returnAddress,proto3" json:"returnAddress,omitempty"`
ReturnAddress
string
`protobuf:"bytes,3,opt,name=returnAddress,proto3" json:"returnAddress,omitempty"`
//随机种子
//
随机种子
RandSeed
int64
`protobuf:"varint,4,opt,name=randSeed,proto3" json:"randSeed,omitempty"`
RandSeed
int64
`protobuf:"varint,4,opt,name=randSeed,proto3" json:"randSeed,omitempty"`
//购买ticket时公开
//
购买ticket时公开
PubHashes
[][]
byte
`protobuf:"bytes,5,rep,name=pubHashes,proto3" json:"pubHashes,omitempty"`
PubHashes
[][]
byte
`protobuf:"bytes,5,rep,name=pubHashes,proto3" json:"pubHashes,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
@@ -628,17 +631,16 @@ func (m *TicketOpen) Reset() { *m = TicketOpen{} }
...
@@ -628,17 +631,16 @@ func (m *TicketOpen) Reset() { *m = TicketOpen{} }
func
(
m
*
TicketOpen
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketOpen
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketOpen
)
ProtoMessage
()
{}
func
(
*
TicketOpen
)
ProtoMessage
()
{}
func
(
*
TicketOpen
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketOpen
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
6
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
6
}
}
}
func
(
m
*
TicketOpen
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketOpen
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketOpen
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketOpen
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketOpen
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketOpen
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketOpen
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketOpen
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketOpen
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketOpen
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketOpen
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketOpen
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketOpen
)
XXX_Size
()
int
{
func
(
m
*
TicketOpen
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketOpen
.
Size
(
m
)
return
xxx_messageInfo_TicketOpen
.
Size
(
m
)
...
@@ -697,17 +699,16 @@ func (m *TicketGenesis) Reset() { *m = TicketGenesis{} }
...
@@ -697,17 +699,16 @@ func (m *TicketGenesis) Reset() { *m = TicketGenesis{} }
func
(
m
*
TicketGenesis
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketGenesis
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketGenesis
)
ProtoMessage
()
{}
func
(
*
TicketGenesis
)
ProtoMessage
()
{}
func
(
*
TicketGenesis
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketGenesis
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
7
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
7
}
}
}
func
(
m
*
TicketGenesis
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketGenesis
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketGenesis
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketGenesis
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketGenesis
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketGenesis
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketGenesis
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketGenesis
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketGenesis
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketGenesis
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketGenesis
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketGenesis
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketGenesis
)
XXX_Size
()
int
{
func
(
m
*
TicketGenesis
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketGenesis
.
Size
(
m
)
return
xxx_messageInfo_TicketGenesis
.
Size
(
m
)
...
@@ -751,17 +752,16 @@ func (m *TicketClose) Reset() { *m = TicketClose{} }
...
@@ -751,17 +752,16 @@ func (m *TicketClose) Reset() { *m = TicketClose{} }
func
(
m
*
TicketClose
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketClose
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketClose
)
ProtoMessage
()
{}
func
(
*
TicketClose
)
ProtoMessage
()
{}
func
(
*
TicketClose
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketClose
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
8
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
8
}
}
}
func
(
m
*
TicketClose
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketClose
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketClose
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketClose
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketClose
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketClose
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketClose
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketClose
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketClose
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketClose
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketClose
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketClose
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketClose
)
XXX_Size
()
int
{
func
(
m
*
TicketClose
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketClose
.
Size
(
m
)
return
xxx_messageInfo_TicketClose
.
Size
(
m
)
...
@@ -798,17 +798,16 @@ func (m *TicketList) Reset() { *m = TicketList{} }
...
@@ -798,17 +798,16 @@ func (m *TicketList) Reset() { *m = TicketList{} }
func
(
m
*
TicketList
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketList
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketList
)
ProtoMessage
()
{}
func
(
*
TicketList
)
ProtoMessage
()
{}
func
(
*
TicketList
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketList
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
9
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
9
}
}
}
func
(
m
*
TicketList
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketList
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketList
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketList
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketList
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketList
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketList
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketList
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketList
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketList
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketList
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketList
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketList
)
XXX_Size
()
int
{
func
(
m
*
TicketList
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketList
.
Size
(
m
)
return
xxx_messageInfo_TicketList
.
Size
(
m
)
...
@@ -844,17 +843,16 @@ func (m *TicketInfos) Reset() { *m = TicketInfos{} }
...
@@ -844,17 +843,16 @@ func (m *TicketInfos) Reset() { *m = TicketInfos{} }
func
(
m
*
TicketInfos
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TicketInfos
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TicketInfos
)
ProtoMessage
()
{}
func
(
*
TicketInfos
)
ProtoMessage
()
{}
func
(
*
TicketInfos
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TicketInfos
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
10
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
10
}
}
}
func
(
m
*
TicketInfos
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TicketInfos
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TicketInfos
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_TicketInfos
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
TicketInfos
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TicketInfos
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TicketInfos
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_TicketInfos
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
TicketInfos
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
TicketInfos
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TicketInfos
.
Merge
(
m
,
src
)
xxx_messageInfo_TicketInfos
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
TicketInfos
)
XXX_Size
()
int
{
func
(
m
*
TicketInfos
)
XXX_Size
()
int
{
return
xxx_messageInfo_TicketInfos
.
Size
(
m
)
return
xxx_messageInfo_TicketInfos
.
Size
(
m
)
...
@@ -883,17 +881,16 @@ func (m *ReplyTicketList) Reset() { *m = ReplyTicketList{} }
...
@@ -883,17 +881,16 @@ func (m *ReplyTicketList) Reset() { *m = ReplyTicketList{} }
func
(
m
*
ReplyTicketList
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReplyTicketList
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReplyTicketList
)
ProtoMessage
()
{}
func
(
*
ReplyTicketList
)
ProtoMessage
()
{}
func
(
*
ReplyTicketList
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ReplyTicketList
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
11
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
11
}
}
}
func
(
m
*
ReplyTicketList
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ReplyTicketList
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReplyTicketList
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ReplyTicketList
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
ReplyTicketList
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
ReplyTicketList
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReplyTicketList
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_ReplyTicketList
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
ReplyTicketList
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
ReplyTicketList
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReplyTicketList
.
Merge
(
m
,
src
)
xxx_messageInfo_ReplyTicketList
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
ReplyTicketList
)
XXX_Size
()
int
{
func
(
m
*
ReplyTicketList
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReplyTicketList
.
Size
(
m
)
return
xxx_messageInfo_ReplyTicketList
.
Size
(
m
)
...
@@ -923,17 +920,16 @@ func (m *ReplyWalletTickets) Reset() { *m = ReplyWalletTickets{} }
...
@@ -923,17 +920,16 @@ func (m *ReplyWalletTickets) Reset() { *m = ReplyWalletTickets{} }
func
(
m
*
ReplyWalletTickets
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReplyWalletTickets
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReplyWalletTickets
)
ProtoMessage
()
{}
func
(
*
ReplyWalletTickets
)
ProtoMessage
()
{}
func
(
*
ReplyWalletTickets
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ReplyWalletTickets
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
12
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
12
}
}
}
func
(
m
*
ReplyWalletTickets
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ReplyWalletTickets
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReplyWalletTickets
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ReplyWalletTickets
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
ReplyWalletTickets
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
ReplyWalletTickets
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReplyWalletTickets
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_ReplyWalletTickets
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
ReplyWalletTickets
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
ReplyWalletTickets
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReplyWalletTickets
.
Merge
(
m
,
src
)
xxx_messageInfo_ReplyWalletTickets
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
ReplyWalletTickets
)
XXX_Size
()
int
{
func
(
m
*
ReplyWalletTickets
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReplyWalletTickets
.
Size
(
m
)
return
xxx_messageInfo_ReplyWalletTickets
.
Size
(
m
)
...
@@ -972,17 +968,16 @@ func (m *ReceiptTicket) Reset() { *m = ReceiptTicket{} }
...
@@ -972,17 +968,16 @@ func (m *ReceiptTicket) Reset() { *m = ReceiptTicket{} }
func
(
m
*
ReceiptTicket
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReceiptTicket
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptTicket
)
ProtoMessage
()
{}
func
(
*
ReceiptTicket
)
ProtoMessage
()
{}
func
(
*
ReceiptTicket
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ReceiptTicket
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
13
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
13
}
}
}
func
(
m
*
ReceiptTicket
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ReceiptTicket
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReceiptTicket
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ReceiptTicket
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
ReceiptTicket
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
ReceiptTicket
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReceiptTicket
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_ReceiptTicket
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
ReceiptTicket
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
ReceiptTicket
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReceiptTicket
.
Merge
(
m
,
src
)
xxx_messageInfo_ReceiptTicket
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
ReceiptTicket
)
XXX_Size
()
int
{
func
(
m
*
ReceiptTicket
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReceiptTicket
.
Size
(
m
)
return
xxx_messageInfo_ReceiptTicket
.
Size
(
m
)
...
@@ -1034,17 +1029,16 @@ func (m *ReceiptTicketBind) Reset() { *m = ReceiptTicketBind{} }
...
@@ -1034,17 +1029,16 @@ func (m *ReceiptTicketBind) Reset() { *m = ReceiptTicketBind{} }
func
(
m
*
ReceiptTicketBind
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReceiptTicketBind
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptTicketBind
)
ProtoMessage
()
{}
func
(
*
ReceiptTicketBind
)
ProtoMessage
()
{}
func
(
*
ReceiptTicketBind
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ReceiptTicketBind
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
14
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
14
}
}
}
func
(
m
*
ReceiptTicketBind
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ReceiptTicketBind
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReceiptTicketBind
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ReceiptTicketBind
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
ReceiptTicketBind
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
ReceiptTicketBind
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReceiptTicketBind
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_ReceiptTicketBind
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
ReceiptTicketBind
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
ReceiptTicketBind
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReceiptTicketBind
.
Merge
(
m
,
src
)
xxx_messageInfo_ReceiptTicketBind
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
ReceiptTicketBind
)
XXX_Size
()
int
{
func
(
m
*
ReceiptTicketBind
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReceiptTicketBind
.
Size
(
m
)
return
xxx_messageInfo_ReceiptTicketBind
.
Size
(
m
)
...
@@ -1090,17 +1084,16 @@ func (m *ReqBindMiner) Reset() { *m = ReqBindMiner{} }
...
@@ -1090,17 +1084,16 @@ func (m *ReqBindMiner) Reset() { *m = ReqBindMiner{} }
func
(
m
*
ReqBindMiner
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReqBindMiner
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReqBindMiner
)
ProtoMessage
()
{}
func
(
*
ReqBindMiner
)
ProtoMessage
()
{}
func
(
*
ReqBindMiner
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ReqBindMiner
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
15
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
15
}
}
}
func
(
m
*
ReqBindMiner
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ReqBindMiner
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReqBindMiner
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ReqBindMiner
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
ReqBindMiner
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
ReqBindMiner
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReqBindMiner
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_ReqBindMiner
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
ReqBindMiner
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
ReqBindMiner
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReqBindMiner
.
Merge
(
m
,
src
)
xxx_messageInfo_ReqBindMiner
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
ReqBindMiner
)
XXX_Size
()
int
{
func
(
m
*
ReqBindMiner
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReqBindMiner
.
Size
(
m
)
return
xxx_messageInfo_ReqBindMiner
.
Size
(
m
)
...
@@ -1150,17 +1143,16 @@ func (m *ReplyBindMiner) Reset() { *m = ReplyBindMiner{} }
...
@@ -1150,17 +1143,16 @@ func (m *ReplyBindMiner) Reset() { *m = ReplyBindMiner{} }
func
(
m
*
ReplyBindMiner
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReplyBindMiner
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReplyBindMiner
)
ProtoMessage
()
{}
func
(
*
ReplyBindMiner
)
ProtoMessage
()
{}
func
(
*
ReplyBindMiner
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ReplyBindMiner
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
98a6c21780e82d22
,
[]
int
{
16
}
return
fileDescriptor_
ticket_7a9181c49b2864d8
,
[]
int
{
16
}
}
}
func
(
m
*
ReplyBindMiner
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ReplyBindMiner
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReplyBindMiner
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ReplyBindMiner
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
ReplyBindMiner
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
ReplyBindMiner
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReplyBindMiner
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_ReplyBindMiner
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
ReplyBindMiner
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
dst
*
ReplyBindMiner
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReplyBindMiner
.
Merge
(
m
,
src
)
xxx_messageInfo_ReplyBindMiner
.
Merge
(
dst
,
src
)
}
}
func
(
m
*
ReplyBindMiner
)
XXX_Size
()
int
{
func
(
m
*
ReplyBindMiner
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReplyBindMiner
.
Size
(
m
)
return
xxx_messageInfo_ReplyBindMiner
.
Size
(
m
)
...
@@ -1198,65 +1190,6 @@ func init() {
...
@@ -1198,65 +1190,6 @@ func init() {
proto
.
RegisterType
((
*
ReplyBindMiner
)(
nil
),
"types.ReplyBindMiner"
)
proto
.
RegisterType
((
*
ReplyBindMiner
)(
nil
),
"types.ReplyBindMiner"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"ticket.proto"
,
fileDescriptor_98a6c21780e82d22
)
}
var
fileDescriptor_98a6c21780e82d22
=
[]
byte
{
// 839 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xb4
,
0x56
,
0xcf
,
0x6f
,
0xe3
,
0x44
,
0x14
,
0x8e
,
0xe3
,
0x3a
,
0x49
,
0x5f
,
0x9d
,
0x96
,
0x1d
,
0x0a
,
0xb2
,
0x22
,
0xb4
,
0x8a
,
0x46
,
0x08
,
0xc2
,
0x0f
,
0x15
,
0x28
,
0x08
,
0x01
,
0x17
,
0xd4
,
0x56
,
0x62
,
0x53
,
0x89
,
0xb0
,
0xd2
,
0x74
,
0xb5
,
0x88
,
0xa3
,
0x6b
,
0xbf
,
0x66
,
0x47
,
0x75
,
0xc6
,
0xc6
,
0x9e
,
0xb4
,
0x9b
,
0x2b
,
0x07
,
0xa4
,
0x3d
,
0xf0
,
0x6f
,
0x70
,
0xe3
,
0x7f
,
0x44
,
0xf3
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
,
0x6d
,
0xfb
,
0xb6
,
0x32
,
0x46
,
0xa8
,
0x70
,
0x55
,
0x3b
,
0xd7
,
0x15
,
0x36
,
0x32
,
0x7e
,
0x8c
,
0x5e
,
0x61
,
0x74
,
0x7b
,
0x1e
,
0x26
,
0xa1
,
0x8a
,
0xca
,
0x6f
,
0xe3
,
0x48
,
0x74
,
0x72
,
0xfc
,
0x23
,
0x38
,
0xa4
,
0xc3
,
0x6e
,
0x98
,
0x1c
,
0x83
,
0xa7
,
0x5f
,
0xcf
,
0xf1
,
0xb5
,
0xa5
,
0x51
,
0x06
,
0xa7
,
0xff
,
0x38
,
0x30
,
0x28
,
0x4f
,
0x86
,
0xfd
,
0x08
,
0x47
,
0x17
,
0xf4
,
0x79
,
0x6d
,
0x6a
,
0xde
,
0xb5
,
0x5e
,
0x68
,
0x6f
,
0x69
,
0xf2
,
0x5e
,
0x9d
,
0x6c
,
0xbf
,
0x9f
,
0xf7
,
0xd8
,
0x17
,
0x70
,
0xf8
,
0xac
,
0x32
,
0xd6
,
0x05
,
0x31
,
0x1d
,
0x37
,
0xf5
,
0xbf
,
0xc8
,
0x64
,
0xe2
,
0xdb
,
0xf0
,
0x52
,
0xe9
,
0x6f
,
0xbf
,
0xe1
,
0x3d
,
0xf6
,
0x15
,
0x8c
,
0xaf
,
0x50
,
0x9f
,
0xad
,
0x75
,
0xba
,
0x90
,
0x4a
,
0xaa
,
0x25
,
0x7b
,
0xc7
,
0x02
,
0xea
,
0x6b
,
0xb4
,
0x2e
,
0xa1
,
0x66
,
0xbc
,
0x77
,
0x3d
,
0xa0
,
0x3f
,
0x8f
,
0xaf
,
0xff
,
0x0d
,
0x00
,
0x00
,
0xff
,
0xff
,
0xd7
,
0x1e
,
0x82
,
0xa2
,
0x9e
,
0x08
,
0x00
,
0x00
,
}
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
context
.
Context
var
_
grpc
.
ClientConn
var
_
grpc
.
ClientConn
...
@@ -1269,12 +1202,12 @@ const _ = grpc.SupportPackageIsVersion4
...
@@ -1269,12 +1202,12 @@ const _ = grpc.SupportPackageIsVersion4
//
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type
TicketClient
interface
{
type
TicketClient
interface
{
//创建绑定挖矿
//
创建绑定挖矿
CreateBindMiner
(
ctx
context
.
Context
,
in
*
ReqBindMiner
,
opts
...
grpc
.
CallOption
)
(
*
ReplyBindMiner
,
error
)
CreateBindMiner
(
ctx
context
.
Context
,
in
*
ReqBindMiner
,
opts
...
grpc
.
CallOption
)
(
*
ReplyBindMiner
,
error
)
//查询钱包票数
//
查询钱包票数
GetTicketCount
(
ctx
context
.
Context
,
in
*
types
.
ReqNil
,
opts
...
grpc
.
CallOption
)
(
*
types
.
Int64
,
error
)
GetTicketCount
(
ctx
context
.
Context
,
in
*
types
.
ReqNil
,
opts
...
grpc
.
CallOption
)
(
*
types
.
Int64
,
error
)
// Miner
// Miner
//设置自动挖矿
//
设置自动挖矿
SetAutoMining
(
ctx
context
.
Context
,
in
*
MinerFlag
,
opts
...
grpc
.
CallOption
)
(
*
types
.
Reply
,
error
)
SetAutoMining
(
ctx
context
.
Context
,
in
*
MinerFlag
,
opts
...
grpc
.
CallOption
)
(
*
types
.
Reply
,
error
)
}
}
...
@@ -1315,12 +1248,12 @@ func (c *ticketClient) SetAutoMining(ctx context.Context, in *MinerFlag, opts ..
...
@@ -1315,12 +1248,12 @@ func (c *ticketClient) SetAutoMining(ctx context.Context, in *MinerFlag, opts ..
// TicketServer is the server API for Ticket service.
// TicketServer is the server API for Ticket service.
type
TicketServer
interface
{
type
TicketServer
interface
{
//创建绑定挖矿
//
创建绑定挖矿
CreateBindMiner
(
context
.
Context
,
*
ReqBindMiner
)
(
*
ReplyBindMiner
,
error
)
CreateBindMiner
(
context
.
Context
,
*
ReqBindMiner
)
(
*
ReplyBindMiner
,
error
)
//查询钱包票数
//
查询钱包票数
GetTicketCount
(
context
.
Context
,
*
types
.
ReqNil
)
(
*
types
.
Int64
,
error
)
GetTicketCount
(
context
.
Context
,
*
types
.
ReqNil
)
(
*
types
.
Int64
,
error
)
// Miner
// Miner
//设置自动挖矿
//
设置自动挖矿
SetAutoMining
(
context
.
Context
,
*
MinerFlag
)
(
*
types
.
Reply
,
error
)
SetAutoMining
(
context
.
Context
,
*
MinerFlag
)
(
*
types
.
Reply
,
error
)
}
}
...
@@ -1402,3 +1335,63 @@ var _Ticket_serviceDesc = grpc.ServiceDesc{
...
@@ -1402,3 +1335,63 @@ var _Ticket_serviceDesc = grpc.ServiceDesc{
Streams
:
[]
grpc
.
StreamDesc
{},
Streams
:
[]
grpc
.
StreamDesc
{},
Metadata
:
"ticket.proto"
,
Metadata
:
"ticket.proto"
,
}
}
func
init
()
{
proto
.
RegisterFile
(
"ticket.proto"
,
fileDescriptor_ticket_7a9181c49b2864d8
)
}
var
fileDescriptor_ticket_7a9181c49b2864d8
=
[]
byte
{
// 852 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xb4
,
0x56
,
0x5d
,
0x6f
,
0xe3
,
0x44
,
0x14
,
0x8d
,
0xe3
,
0x3a
,
0x49
,
0x6f
,
0x9d
,
0x96
,
0x1d
,
0x0a
,
0xb2
,
0x22
,
0xb4
,
0x8a
,
0x46
,
0x08
,
0xc2
,
0x87
,
0x0a
,
0x14
,
0x84
,
0x80
,
0x17
,
0xd4
,
0x56
,
0x62
,
0x53
,
0x89
,
0xb0
,
0xd2
,
0x74
,
0xb5
,
0x88
,
0x47
,
0xd7
,
0xbe
,
0xcd
,
0x8e
,
0xea
,
0x8c
,
0x8d
,
0x3d
,
0x69
,
0x37
,
0x7f
,
0x00
,
0x69
,
0x1f
,
0x78
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0xa5
,
0x7a
,
0xb4
,
0x08
,
0x00
,
0x00
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment