mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
find replace 3
This commit is contained in:
parent
15d15d5d81
commit
625543fcd8
11 changed files with 11 additions and 11 deletions
|
|
@ -49,7 +49,7 @@ var (
|
|||
Name: "file",
|
||||
Usage: "Test file or directory. Directories are searched for .json files 1 level deep",
|
||||
Value: defaultDir,
|
||||
EnvVar: "ETHEREUM_TEST_PATH",
|
||||
EnvVar: "EXPANSE_TEST_PATH",
|
||||
}
|
||||
ContinueOnErrorFlag = cli.BoolFlag{
|
||||
Name: "continue",
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ type flagGroup struct {
|
|||
// AppHelpFlagGroups is the application flags, grouped by functionality.
|
||||
var AppHelpFlagGroups = []flagGroup{
|
||||
{
|
||||
Name: "ETHEREUM",
|
||||
Name: "EXPANSE",
|
||||
Flags: []cli.Flag{
|
||||
utils.DataDirFlag,
|
||||
utils.NetworkIdFlag,
|
||||
|
|
|
|||
|
|
@ -497,7 +497,7 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *exp.Config {
|
|||
cfg.Shh = true
|
||||
}
|
||||
if !ctx.GlobalIsSet(DataDirFlag.Name) {
|
||||
cfg.DataDir = os.TempDir() + "/ethereum_dev_mode"
|
||||
cfg.DataDir = os.TempDir() + "/expanse_dev_mode"
|
||||
}
|
||||
cfg.PowTest = true
|
||||
cfg.DevMode = true
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ The common package contains the expanse utility library.
|
|||
|
||||
# Installation
|
||||
|
||||
As a subdirectory the main go-ethereum repository, you get it with
|
||||
As a subdirectory the main go-expanse repository, you get it with
|
||||
`go get github.com/expanse-project/go-expanse`.
|
||||
|
||||
# Usage
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ func NewBlockChain(chainDb ethdb.Database, pow pow.PoW, mux *event.TypeMux) (*Bl
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
glog.V(logger.Info).Infoln("WARNING: Wrote default ethereum genesis block")
|
||||
glog.V(logger.Info).Infoln("WARNING: Wrote default expanse genesis block")
|
||||
}
|
||||
if err := bc.loadLastState(); err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import (
|
|||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/ethereum/ethash"
|
||||
"github.com/expanse-project/ethash"
|
||||
"github.com/expanse-project/go-expanse/common"
|
||||
"github.com/expanse-project/go-expanse/core/types"
|
||||
"github.com/expanse-project/go-expanse/core/vm"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import (
|
|||
"testing"
|
||||
|
||||
|
||||
"github.com/ethereum/ethash"
|
||||
"github.com/expanse-project/ethash"
|
||||
"github.com/expanse-project/go-expanse/common"
|
||||
"github.com/expanse-project/go-expanse/core/state"
|
||||
"github.com/expanse-project/go-expanse/core/types"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ func BenchmarkMipmaps(b *testing.B) {
|
|||
key1, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
|
||||
addr1 = crypto.PubkeyToAddress(key1.PublicKey)
|
||||
addr2 = common.BytesToAddress([]byte("jeff"))
|
||||
addr3 = common.BytesToAddress([]byte("ethereum"))
|
||||
addr3 = common.BytesToAddress([]byte("expanse"))
|
||||
addr4 = common.BytesToAddress([]byte("random addresses please"))
|
||||
)
|
||||
defer db.Close()
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/ethash"
|
||||
"github.com/expanse-project/ethash"
|
||||
"github.com/expanse-project/go-expanse/common"
|
||||
"github.com/expanse-project/go-expanse/core/types"
|
||||
"github.com/expanse-project/go-expanse/logger"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ type Stopper interface {
|
|||
Stop()
|
||||
}
|
||||
|
||||
type InitFunc func(conn net.Conn) (Stopper, shared.EthereumApi, error)
|
||||
type InitFunc func(conn net.Conn) (Stopper, shared.ExpanseApi, error)
|
||||
|
||||
type IpcConfig struct {
|
||||
Endpoint string
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ func New(expanse *exp.Expanse, frontend Frontend) *XEth {
|
|||
transactionQueue: make(map[int]*hashQueue),
|
||||
messages: make(map[int]*whisperFilter),
|
||||
agent: miner.NewRemoteAgent(),
|
||||
gpo: exp.NewGasPriceOracle(ethereum),
|
||||
gpo: exp.NewGasPriceOracle(expanse),
|
||||
}
|
||||
if expanse.Whisper() != nil {
|
||||
xeth.whisper = NewWhisper(expanse.Whisper())
|
||||
|
|
|
|||
Loading…
Reference in a new issue