Documentation ¶
Index ¶
- Variables
- func AmanaGenesis() *core.Genesis
- func AmanaMixnetGenesis() *core.Genesis
- func AmanaPrivnetGenesis() *core.Genesis
- func AmanaTestnetGenesis() *core.Genesis
- func Cleanup(cfg *config.Config)
- func Genesis() *core.Genesis
- func MakeConfig(datadir string) (*eth.Config, error)
- func MakeParams(cfg *config.Config) (*eth.Config, []string, error)
- func UseLogger(logger l.Logger)
- type AmanaInfo
- type AmanaService
- type PublicAmanaServiceAPI
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ClientIdentifier = mconsensus.Identifier
)
Functions ¶
func AmanaGenesis ¶ added in v1.0.21
func AmanaMixnetGenesis ¶ added in v1.0.21
func AmanaPrivnetGenesis ¶ added in v1.0.21
func AmanaTestnetGenesis ¶ added in v1.0.21
Types ¶
type AmanaInfo ¶
type AmanaInfo struct { ID string `json:"id"` Name string `json:"name"` Enode string `json:"enode"` ENR string `json:"enr"` IP string `json:"ip"` Ports struct { Discovery int `json:"discovery"` Listener int `json:"listener"` } `json:"ports"` ListenAddr string `json:"listenAddr"` ChainID uint64 `json:"chainid"` NetworkID uint64 `json:"networkid"` IPC string `json:"ipc,omitempty"` HTTP string `json:"http,omitempty"` WS string `json:"ws,omitempty"` }
type AmanaService ¶
func (*AmanaService) APIs ¶
func (q *AmanaService) APIs() []api.API
func (*AmanaService) Start ¶
func (q *AmanaService) Start() error
func (*AmanaService) Stop ¶
func (q *AmanaService) Stop() error
type PublicAmanaServiceAPI ¶
type PublicAmanaServiceAPI struct {
// contains filtered or unexported fields
}
func NewPublicAmanaServiceAPI ¶
func NewPublicAmanaServiceAPI(q *AmanaService) *PublicAmanaServiceAPI
func (*PublicAmanaServiceAPI) GetAmanaNodeInfo ¶
func (api *PublicAmanaServiceAPI) GetAmanaNodeInfo() (interface{}, error)
func (*PublicAmanaServiceAPI) GetAmanaPeerInfo ¶
func (api *PublicAmanaServiceAPI) GetAmanaPeerInfo() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.