Documentation ¶
Index ¶
- type BodyAddRepoContribs
- type BodyBuyTicket
- type BodyCreateRepo
- type BodyRegisterPushKey
- type BodyRepoVote
- type BodySendCoin
- type BodySetCommission
- type BodyTicketQuery
- type GetRepoOpts
- type ResultAccount
- type ResultAccountNonce
- type ResultBlock
- type ResultBlockInfo
- type ResultCreateRepo
- type ResultDHTProvider
- type ResultGetMethod
- type ResultHash
- type ResultPoolSize
- type ResultPushKey
- type ResultRegisterPushKey
- type ResultRepository
- type ResultTicket
- type ResultTx
- type ResultValidator
- type ResultValidatorInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyAddRepoContribs ¶
type BodyAddRepoContribs struct { RepoName string ProposalID string PushKeys []string FeeCap float64 FeeMode int Nonce uint64 Value float64 Fee float64 Namespace string NamespaceOnly string Policies []*state.ContributorPolicy SigningKey *ed25519.Key }
BodyAddRepoContribs contains arguments for adding repo contributors
type BodyBuyTicket ¶
type BodyBuyTicket struct { Nonce uint64 Fee float64 Value float64 SigningKey *ed25519.Key Delegate ed25519.PublicKey BLSPubKey util.Bytes }
BodyBuyTicket contains arguments for purchasing a ticket
type BodyCreateRepo ¶
type BodyCreateRepo struct { Name string Description string Nonce uint64 Value float64 Fee float64 Config map[string]interface{} SigningKey *ed25519.Key }
BodyCreateRepo contains arguments for creating a repository
type BodyRegisterPushKey ¶
type BodyRegisterPushKey struct { Nonce uint64 Fee float64 PublicKey ed25519.PublicKey Scopes []string FeeCap float64 SigningKey *ed25519.Key }
BodyRegisterPushKey contains arguments for registering a push key
type BodyRepoVote ¶
type BodyRepoVote struct { RepoName string ProposalID string Vote int Fee float64 Nonce uint64 SigningKey *ed25519.Key }
BodyRepoVote contains arguments for voting on a proposal
type BodySendCoin ¶
type BodySendCoin struct { Nonce uint64 Value float64 Fee float64 To identifier.Address SigningKey *ed25519.Key }
BodySendCoin contains arguments for sending coins
type BodySetCommission ¶
type BodySetCommission struct { Nonce uint64 Fee float64 Commission float64 SigningKey *ed25519.Key }
BodySetCommission contains arguments for updating a validators commission value
type BodyTicketQuery ¶
type BodyTicketQuery struct { ProposerPubKey string QueryOption *tickettypes.QueryOptions }
BodyTicketQuery contains arguments for querying tickets
type GetRepoOpts ¶
GetRepoOpts contains arguments for fetching a repository
type ResultAccount ¶
ResultAccount is the result for a request to get an account.
type ResultAccountNonce ¶
type ResultAccountNonce struct {
Nonce string `json:"nonce"`
}
ResultAccountNonce is the result for a request to get an account's nonce.
type ResultBlock ¶
type ResultBlock struct {
*core_types.ResultBlock `json:",flatten"`
}
ResultBlock is the result for a request to get a block.
type ResultBlockInfo ¶
ResultBlockInfo is the result for a request to get summarized block info.
type ResultCreateRepo ¶
ResultCreateRepo is the result for a request to create a repository
type ResultDHTProvider ¶
ResultDHTProvider describes a DHT provider
type ResultGetMethod ¶
type ResultGetMethod struct {
Methods []rpc.MethodInfo
}
ResultGetMethod is the response for RPC server methods
type ResultHash ¶
type ResultHash struct {
Hash string `json:"hash"`
}
ResultHash contains the hash of a transaction request
type ResultPoolSize ¶
ResultPoolSize describes size information of the mempool
type ResultPushKey ¶
ResultPushKey is the result for a request to get a push key.
type ResultRegisterPushKey ¶
ResultRegisterPushKey is the result for a request to register a push key
type ResultRepository ¶
type ResultRepository struct {
*state.Repository `json:",flatten"`
}
ResultRepository is the result for a request to get a repository
type ResultTicket ¶
type ResultTicket struct {
*tickettypes.Ticket `json:",flatten"`
}
ResultTicket represents a ticket