-
Notifications
You must be signed in to change notification settings - Fork 390
/
types.go
50 lines (41 loc) · 974 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package abci
import (
"cosmossdk.io/log"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/sdk-tutorials/tutorials/nameservice/base/x/auction/mempool"
"github.com/cosmos/sdk-tutorials/tutorials/nameservice/base/x/auction/provider"
)
type PrepareProposalHandler struct {
logger log.Logger
txConfig client.TxConfig
cdc codec.Codec
mempool *mempool.ThresholdMempool
txProvider provider.TxProvider
runProvider bool
}
type ProcessProposalHandler struct {
TxConfig client.TxConfig
Codec codec.Codec
Logger log.Logger
}
type VoteExtHandler struct {
logger log.Logger
mempool *mempool.ThresholdMempool
cdc codec.Codec
}
type InjectedVoteExt struct {
VoteExtSigner []byte
Bids [][]byte
}
type InjectedVotes struct {
Votes []InjectedVoteExt
}
type AppVoteExtension struct {
Height int64
Bids [][]byte
}
type SpecialTransaction struct {
Height int
Bids [][]byte
}