22 lines
561 B
Go
22 lines
561 B
Go
package app
|
|
|
|
// Status reports real capabilities, not planned ones. The starter project is
|
|
// not yet a blockchain, and it must not be presented as a functional wallet.
|
|
type Status struct {
|
|
Project string `json:"project"`
|
|
Phase string `json:"phase"`
|
|
ChainReady bool `json:"chain_ready"`
|
|
WalletReady bool `json:"wallet_ready"`
|
|
MiningReady bool `json:"mining_ready"`
|
|
}
|
|
|
|
func CurrentStatus() Status {
|
|
return Status{
|
|
Project: "Potatium",
|
|
Phase: "scaffold",
|
|
ChainReady: false,
|
|
WalletReady: false,
|
|
MiningReady: false,
|
|
}
|
|
}
|