Documentation ¶
Overview ¶
This file is part of go-ethereum go-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. go-ethereum is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
*
- @authors
- Jeffrey Wilcke <i@jev.io>
- Viktor Tron <viktor@ethdev.com>
Index ¶
- func BlockDo(ethereum *eth.Ethereum, hash []byte) error
- func DefaultAssetPath() string
- func FormatTransactionData(data string) []byte
- func GetMiner() *miner.Miner
- func HandleInterrupt()
- func ImportChain(ethereum *eth.Ethereum, fn string) error
- func InitConfig(vmType int, ConfigFile string, Datadir string, EnvPrefix string) *ethutil.ConfigManager
- func KeyTasks(keyManager *crypto.KeyManager, KeyRing string, GenAddr bool, SecretFile string, ...)
- func RegisterInterrupt(cb func(os.Signal))
- func RunInterruptCallbacks(sig os.Signal)
- func StartEthereum(ethereum *eth.Ethereum)
- func StartMining(ethereum *eth.Ethereum) bool
- func StartRpc(ethereum *eth.Ethereum, RpcPort int)
- func StartWebSockets(eth *eth.Ethereum, wsPort int)
- func StopMining(ethereum *eth.Ethereum) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAssetPath ¶
func DefaultAssetPath() string
func FormatTransactionData ¶
func HandleInterrupt ¶
func HandleInterrupt()
go routine that call interrupt handlers in order of registering
func InitConfig ¶
func RegisterInterrupt ¶
Register interrupt handlers callbacks
func RunInterruptCallbacks ¶
func StartEthereum ¶
func StartMining ¶
func StartWebSockets ¶
func StopMining ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.