utils

package
v0.8.4-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2015 License: LGPL-2.1-or-later, GPL-2.0 Imports: 19 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockDo added in v0.7.10

func BlockDo(ethereum *eth.Ethereum, hash []byte) error

Replay block

func DefaultAssetPath added in v0.7.10

func DefaultAssetPath() string

func FormatTransactionData added in v0.7.10

func FormatTransactionData(data string) []byte

func GetMiner added in v0.7.10

func GetMiner() *miner.Miner

func HandleInterrupt added in v0.7.10

func HandleInterrupt()

go routine that call interrupt handlers in order of registering

func ImportChain

func ImportChain(ethereum *eth.Ethereum, fn string) error

func InitConfig added in v0.7.10

func InitConfig(vmType int, ConfigFile string, Datadir string, EnvPrefix string) *ethutil.ConfigManager

func KeyTasks added in v0.7.10

func KeyTasks(keyManager *crypto.KeyManager, KeyRing string, GenAddr bool, SecretFile string, ExportDir string, NonInteractive bool)

func RegisterInterrupt added in v0.7.10

func RegisterInterrupt(cb func(os.Signal))

Register interrupt handlers callbacks

func RunInterruptCallbacks added in v0.7.10

func RunInterruptCallbacks(sig os.Signal)

func StartEthereum added in v0.7.10

func StartEthereum(ethereum *eth.Ethereum)

func StartMining added in v0.7.10

func StartMining(ethereum *eth.Ethereum) bool

func StartRpc added in v0.7.10

func StartRpc(ethereum *eth.Ethereum, RpcPort int)

func StartWebSockets added in v0.7.10

func StartWebSockets(eth *eth.Ethereum, wsPort int)

func StopMining added in v0.7.10

func StopMining(ethereum *eth.Ethereum) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL