Documentation
¶
Index ¶
- func GetMockAllocationId(allocation int) string
- func GetMockBlobberId(index int) string
- func GetMockId(allocation int) string
- func RegisterDefaultHandlers(s *mux.Router)
- func RegisterMinerHandlers(s *mux.Router)
- func RegisterSharderHandlers(s *mux.Router)
- type Server
- type StorageReadPoolConfig
- type StorageStakePoolConfig
- type StorageWritePoolConfig
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMockAllocationId ¶
func GetMockBlobberId ¶
func RegisterDefaultHandlers ¶
func RegisterMinerHandlers ¶
func RegisterSharderHandlers ¶
Types ¶
type Server ¶
func NewDefaultServer ¶
func NewDefaultServer() *Server
NewSharderServer create a local dev sharder server
func NewSharderServer ¶
func NewSharderServer() *Server
NewSharderServer create a local dev sharder server
type StorageReadPoolConfig ¶
type StorageStakePoolConfig ¶
type StorageWritePoolConfig ¶
type Transaction ¶
type Transaction struct {
Hash string `json:"hash,omitempty"`
Version string `json:"version,omitempty"`
ClientID string `json:"client_id,omitempty"`
PublicKey string `json:"public_key,omitempty"`
ToClientID string `json:"to_client_id,omitempty"`
ChainID string `json:"chain_id,omitempty"`
TransactionData string `json:"transaction_data,omitempty"`
Value int64 `json:"transaction_value,omitempty"`
Signature string `json:"signature,omitempty"`
CreationDate int64 `json:"creation_date,omitempty"`
Fee int64 `json:"transaction_fee,omitempty"`
TransactionType int `json:"transaction_type,omitempty"`
TransactionOutput string `json:"transaction_output,omitempty"`
OutputHash string `json:"txn_output_hash"`
Status int `json:"transaction_status,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.