Sửa đổi cần thiết

This commit is contained in:
huuhadz2k 2018-04-12 20:08:17 +07:00
parent 18ca4522da
commit d69cfcc84e
758 changed files with 5748 additions and 5748 deletions

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -27,8 +27,8 @@ import (
"reflect" "reflect"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
) )
const jsondata = ` const jsondata = `

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind package bind
@ -22,10 +22,10 @@ import (
"io" "io"
"io/ioutil" "io/ioutil"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/EtherFact-Project/go-etherfact/accounts/keystore"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
) )
// NewTransactor is a utility method to easily create a transaction signer from // NewTransactor is a utility method to easily create a transaction signer from

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind package bind
@ -21,9 +21,9 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum" "github.com/EtherFact-Project/go-etherfact"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
) )
var ( var (

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package backends package backends
@ -24,21 +24,21 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum" "github.com/EtherFact-Project/go-etherfact"
"github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/EtherFact-Project/go-etherfact/common/math"
"github.com/ethereum/go-ethereum/consensus/ethash" "github.com/EtherFact-Project/go-etherfact/consensus/ethash"
"github.com/ethereum/go-ethereum/core" "github.com/EtherFact-Project/go-etherfact/core"
"github.com/ethereum/go-ethereum/core/bloombits" "github.com/EtherFact-Project/go-etherfact/core/bloombits"
"github.com/ethereum/go-ethereum/core/state" "github.com/EtherFact-Project/go-etherfact/core/state"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/core/vm" "github.com/EtherFact-Project/go-etherfact/core/vm"
"github.com/ethereum/go-ethereum/eth/filters" "github.com/EtherFact-Project/go-etherfact/eth/filters"
"github.com/ethereum/go-ethereum/ethdb" "github.com/EtherFact-Project/go-etherfact/ethdb"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
"github.com/ethereum/go-ethereum/rpc" "github.com/EtherFact-Project/go-etherfact/rpc"
) )
// This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend. // This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend.

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind package bind
@ -22,12 +22,12 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/ethereum/go-ethereum" "github.com/EtherFact-Project/go-etherfact"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/EtherFact-Project/go-etherfact/accounts/abi"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
) )
// SignerFn is a signer function callback when a contract requires a method to // SignerFn is a signer function callback when a contract requires a method to

View file

@ -1,23 +1,23 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// Package bind generates Ethereum contract Go bindings. // Package bind generates Ethereum contract Go bindings.
// //
// Detailed usage document and tutorial available on the go-ethereum Wiki page: // Detailed usage document and tutorial available on the go-etherfact Wiki page:
// https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts // https://github.com/EtherFact-Project/go-etherfact/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
package bind package bind
import ( import (
@ -28,7 +28,7 @@ import (
"text/template" "text/template"
"unicode" "unicode"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/EtherFact-Project/go-etherfact/accounts/abi"
"golang.org/x/tools/imports" "golang.org/x/tools/imports"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind package bind
@ -26,7 +26,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"golang.org/x/tools/imports" "golang.org/x/tools/imports"
) )
@ -819,13 +819,13 @@ func TestBindings(t *testing.T) {
if !common.FileExist(gocmd) { if !common.FileExist(gocmd) {
t.Skip("go sdk not found for testing") t.Skip("go sdk not found for testing")
} }
// Skip the test if the go-ethereum sources are symlinked (https://github.com/golang/go/issues/14845) // Skip the test if the go-etherfact sources are symlinked (https://github.com/golang/go/issues/14845)
linkTestCode := fmt.Sprintf("package linktest\nfunc CheckSymlinks(){\nfmt.Println(backends.NewSimulatedBackend(nil))\n}") linkTestCode := fmt.Sprintf("package linktest\nfunc CheckSymlinks(){\nfmt.Println(backends.NewSimulatedBackend(nil))\n}")
linkTestDeps, err := imports.Process(os.TempDir(), []byte(linkTestCode), nil) linkTestDeps, err := imports.Process(os.TempDir(), []byte(linkTestCode), nil)
if err != nil { if err != nil {
t.Fatalf("failed check for goimports symlink bug: %v", err) t.Fatalf("failed check for goimports symlink bug: %v", err)
} }
if !strings.Contains(string(linkTestDeps), "go-ethereum") { if !strings.Contains(string(linkTestDeps), "go-etherfact") {
t.Skip("symlinked environment doesn't support bind (https://github.com/golang/go/issues/14845)") t.Skip("symlinked environment doesn't support bind (https://github.com/golang/go/issues/14845)")
} }
// Create a temporary workspace for the test suite // Create a temporary workspace for the test suite

View file

@ -1,22 +1,22 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind package bind
import "github.com/ethereum/go-ethereum/accounts/abi" import "github.com/EtherFact-Project/go-etherfact/accounts/abi"
// tmplData is the data structure required to fill the binding template. // tmplData is the data structure required to fill the binding template.
type tmplData struct { type tmplData struct {

View file

@ -1,18 +1,18 @@
// Copyright 2018 The go-ethereum Authors // Copyright 2018 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind package bind
@ -22,9 +22,9 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/EtherFact-Project/go-etherfact/accounts/abi"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
) )
// makeTopics converts a filter query argument list into a filter topic set. // makeTopics converts a filter query argument list into a filter topic set.

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind package bind
@ -21,9 +21,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// WaitMined waits for tx to be mined on the blockchain. // WaitMined waits for tx to be mined on the blockchain.

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bind_test package bind_test
@ -22,12 +22,12 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind"
"github.com/ethereum/go-ethereum/accounts/abi/bind/backends" "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core" "github.com/EtherFact-Project/go-etherfact/core"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
) )
var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// Package abi implements the Ethereum ABI (Application Binary // Package abi implements the Ethereum ABI (Application Binary
// Interface). // Interface).

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -20,8 +20,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
) )
// Event is an event potentially triggered by the EVM's LOG mechanism. The Event // Event is an event potentially triggered by the EVM's LOG mechanism. The Event

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -25,8 +25,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )
@ -244,7 +244,7 @@ func unpackTestEventData(dest interface{}, hexData string, jsonEvent []byte, ass
/* /*
Taken from Taken from
https://github.com/ethereum/go-ethereum/pull/15568 https://github.com/EtherFact-Project/go-etherfact/pull/15568
*/ */
type testResult struct { type testResult struct {

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
) )
// Method represents a callable given a `Name` and whether the method is a constant. // Method represents a callable given a `Name` and whether the method is a constant.

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -20,8 +20,8 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/EtherFact-Project/go-etherfact/common/math"
) )
var ( var (

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -20,8 +20,8 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/EtherFact-Project/go-etherfact/common/math"
) )
// packBytesSlice packs the given bytes as [L, V] as the canonical representation // packBytesSlice packs the given bytes as [L, V] as the canonical representation

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -24,7 +24,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
) )
func TestPack(t *testing.T) { func TestPack(t *testing.T) {

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -22,7 +22,7 @@ import (
"testing" "testing"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
) )
// typeWithoutStringer is a alias for the Type type which simply doesn't implement // typeWithoutStringer is a alias for the Type type which simply doesn't implement

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -22,7 +22,7 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
) )
// reads the integer based on its kind // reads the integer based on its kind

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package abi package abi
@ -26,7 +26,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// Package accounts implements high level Ethereum account management. // Package accounts implements high level Ethereum account management.
package accounts package accounts
@ -20,10 +20,10 @@ package accounts
import ( import (
"math/big" "math/big"
ethereum "github.com/ethereum/go-ethereum" ethereum "github.com/EtherFact-Project/go-etherfact"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
) )
// Account represents an Ethereum account located at a specific location defined // Account represents an Ethereum account located at a specific location defined

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package accounts package accounts

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package accounts package accounts

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package accounts package accounts

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -27,9 +27,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"gopkg.in/fatih/set.v0" "gopkg.in/fatih/set.v0"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -29,8 +29,8 @@ import (
"github.com/cespare/cp" "github.com/cespare/cp"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
) )
var ( var (

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -24,7 +24,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
set "gopkg.in/fatih/set.v0" set "gopkg.in/fatih/set.v0"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2014 The go-ethereum Authors // Copyright 2014 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -29,9 +29,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/pborman/uuid" "github.com/pborman/uuid"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// Package keystore implements encrypted storage of secp256k1 private keys. // Package keystore implements encrypted storage of secp256k1 private keys.
// //
@ -33,11 +33,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
) )
var ( var (

View file

@ -1,18 +1,18 @@
// Copyright 2014 The go-ethereum Authors // Copyright 2014 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
/* /*
@ -36,10 +36,10 @@ import (
"io/ioutil" "io/ioutil"
"path/filepath" "path/filepath"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/EtherFact-Project/go-etherfact/common/math"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/ethereum/go-ethereum/crypto/randentropy" "github.com/EtherFact-Project/go-etherfact/crypto/randentropy"
"github.com/pborman/uuid" "github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/scrypt" "golang.org/x/crypto/scrypt"

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -20,7 +20,7 @@ import (
"io/ioutil" "io/ioutil"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
) )
const ( const (

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -22,7 +22,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
) )
type keyStorePlain struct { type keyStorePlain struct {

View file

@ -1,18 +1,18 @@
// Copyright 2014 The go-ethereum Authors // Copyright 2014 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -27,8 +27,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
) )
func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) { func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) {

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -26,9 +26,9 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
) )
var testSigData = make([]byte, 32) var testSigData = make([]byte, 32)

View file

@ -1,27 +1,27 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
import ( import (
"math/big" "math/big"
ethereum "github.com/ethereum/go-ethereum" ethereum "github.com/EtherFact-Project/go-etherfact"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
) )
// keystoreWallet implements the accounts.Wallet interface for the original // keystoreWallet implements the accounts.Wallet interface for the original

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package keystore package keystore
@ -25,8 +25,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/pborman/uuid" "github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// +build darwin,!ios freebsd linux,!arm64 netbsd solaris // +build darwin,!ios freebsd linux,!arm64 netbsd solaris
@ -21,7 +21,7 @@ package keystore
import ( import (
"time" "time"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/rjeczalik/notify" "github.com/rjeczalik/notify"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// +build ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris // +build ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package accounts package accounts
@ -21,7 +21,7 @@ import (
"sort" "sort"
"sync" "sync"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
) )
// Manager is an overarching account manager that can communicate with various // Manager is an overarching account manager that can communicate with various

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package accounts package accounts

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package usbwallet package usbwallet
@ -22,9 +22,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/karalabe/hid" "github.com/karalabe/hid"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// This file contains the implementation for interacting with the Trezor hardware // This file contains the implementation for interacting with the Trezor hardware
// wallets. The wire protocol spec can be found on the SatoshiLabs website: // wallets. The wire protocol spec can be found on the SatoshiLabs website:

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// This file contains the implementation for interacting with the Ledger hardware // This file contains the implementation for interacting with the Ledger hardware
// wallets. The wire protocol spec can be found in the Ledger Blue GitHub repo: // wallets. The wire protocol spec can be found in the Ledger Blue GitHub repo:
@ -28,12 +28,12 @@ import (
"io" "io"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/EtherFact-Project/go-etherfact/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/ethereum/go-ethereum/rlp" "github.com/EtherFact-Project/go-etherfact/rlp"
) )
// ledgerOpcode is an enumeration encoding the supported Ledger opcodes. // ledgerOpcode is an enumeration encoding the supported Ledger opcodes.

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// This file contains the implementation for interacting with the Trezor hardware // This file contains the implementation for interacting with the Trezor hardware
// wallets. The wire protocol spec can be found on the SatoshiLabs website: // wallets. The wire protocol spec can be found on the SatoshiLabs website:
@ -27,12 +27,12 @@ import (
"io" "io"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/accounts/usbwallet/internal/trezor" "github.com/EtherFact-Project/go-etherfact/accounts/usbwallet/internal/trezor"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/EtherFact-Project/go-etherfact/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// Package usbwallet implements support for USB hardware wallets. // Package usbwallet implements support for USB hardware wallets.
package usbwallet package usbwallet
@ -25,11 +25,11 @@ import (
"sync" "sync"
"time" "time"
ethereum "github.com/ethereum/go-ethereum" ethereum "github.com/EtherFact-Project/go-etherfact"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/karalabe/hid" "github.com/karalabe/hid"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// Package bmt provides a binary merkle tree implementation // Package bmt provides a binary merkle tree implementation
package bmt package bmt

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// simple nonconcurrent reference implementation for hashsize segment based // simple nonconcurrent reference implementation for hashsize segment based
// Binary Merkle tree hash on arbitrary but fixed maximum chunksize // Binary Merkle tree hash on arbitrary but fixed maximum chunksize

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
package bmt package bmt
@ -28,7 +28,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/crypto/sha3" "github.com/EtherFact-Project/go-etherfact/crypto/sha3"
) )
const ( const (

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of the go-ethereum library. // This file is part of the go-etherfact library.
// //
// The go-ethereum library is free software: you can redistribute it and/or modify // The go-etherfact library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// The go-ethereum library is distributed in the hope that it will be useful, // The go-etherfact library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-etherfact library. If not, see <http://www.gnu.org/licenses/>.
// +build none // +build none
@ -58,7 +58,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/internal/build" "github.com/EtherFact-Project/go-etherfact/internal/build"
) )
var ( var (
@ -188,7 +188,7 @@ func doInstall(cmdline []string) {
if minor < 9 { if minor < 9 {
log.Println("You have Go version", runtime.Version()) log.Println("You have Go version", runtime.Version())
log.Println("go-ethereum requires at least Go version 1.9 and cannot") log.Println("go-etherfact requires at least Go version 1.9 and cannot")
log.Println("be compiled with an earlier version. Please upgrade your Go installation.") log.Println("be compiled with an earlier version. Please upgrade your Go installation.")
os.Exit(1) os.Exit(1)
} }
@ -523,7 +523,7 @@ func isUnstableBuild(env build.Environment) bool {
type debMetadata struct { type debMetadata struct {
Env build.Environment Env build.Environment
// go-ethereum version being built. Note that this // go-etherfact version being built. Note that this
// is not the debian package version. The package version // is not the debian package version. The package version
// is constructed by VersionString. // is constructed by VersionString.
Version string Version string
@ -728,7 +728,7 @@ func doAndroidArchive(cmdline []string) {
// Build the Android archive and Maven resources // Build the Android archive and Maven resources
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind")) build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind"))
build.MustRun(gomobileTool("init", "--ndk", os.Getenv("ANDROID_NDK"))) build.MustRun(gomobileTool("init", "--ndk", os.Getenv("ANDROID_NDK")))
build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.ethereum", "-v", "github.com/ethereum/go-ethereum/mobile")) build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.ethereum", "-v", "github.com/EtherFact-Project/go-etherfact/mobile"))
if *local { if *local {
// If we're building locally, copy bundle to build dir and skip Maven // If we're building locally, copy bundle to build dir and skip Maven
@ -849,7 +849,7 @@ func doXCodeFramework(cmdline []string) {
// Build the iOS XCode framework // Build the iOS XCode framework
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind")) build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind"))
build.MustRun(gomobileTool("init")) build.MustRun(gomobileTool("init"))
bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/ethereum/go-ethereum/mobile") bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/EtherFact-Project/go-etherfact/mobile")
if *local { if *local {
// If we're building locally, use the build folder and stop afterwards // If we're building locally, use the build folder and stop afterwards

View file

@ -68,13 +68,13 @@ var (
licenseCommentRE = regexp.MustCompile(`^//\s*(Copyright|This file is part of).*?\n(?://.*?\n)*\n*`) licenseCommentRE = regexp.MustCompile(`^//\s*(Copyright|This file is part of).*?\n(?://.*?\n)*\n*`)
// this text appears at the start of AUTHORS // this text appears at the start of AUTHORS
authorsFileHeader = "# This is the official list of go-ethereum authors for copyright purposes.\n\n" authorsFileHeader = "# This is the official list of go-etherfact authors for copyright purposes.\n\n"
) )
// this template generates the license comment. // this template generates the license comment.
// its input is an info structure. // its input is an info structure.
var licenseT = template.Must(template.New("").Parse(` var licenseT = template.Must(template.New("").Parse(`
// Copyright {{.Year}} The go-ethereum Authors // Copyright {{.Year}} The go-etherfact Authors
// This file is part of {{.Whole false}}. // This file is part of {{.Whole false}}.
// //
// {{.Whole true}} is free software: you can redistribute it and/or modify // {{.Whole true}} is free software: you can redistribute it and/or modify
@ -113,12 +113,12 @@ func (i info) ShortLicense() string {
func (i info) Whole(startOfSentence bool) string { func (i info) Whole(startOfSentence bool) string {
if i.gpl() { if i.gpl() {
return "go-ethereum" return "go-etherfact"
} }
if startOfSentence { if startOfSentence {
return "The go-ethereum library" return "The go-etherfact library"
} }
return "the go-ethereum library" return "the go-etherfact library"
} }
func (i info) gpl() bool { func (i info) gpl() bool {

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -24,8 +24,8 @@ import (
"os" "os"
"strings" "strings"
"github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common/compiler" "github.com/EtherFact-Project/go-etherfact/common/compiler"
) )
var ( var (

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
// bootnode runs a bootstrap node for the Ethereum Discovery Protocol. // bootnode runs a bootstrap node for the Ethereum Discovery Protocol.
package main package main
@ -24,13 +24,13 @@ import (
"net" "net"
"os" "os"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/ethereum/go-ethereum/p2p/discover" "github.com/EtherFact-Project/go-etherfact/p2p/discover"
"github.com/ethereum/go-ethereum/p2p/discv5" "github.com/EtherFact-Project/go-etherfact/p2p/discv5"
"github.com/ethereum/go-ethereum/p2p/nat" "github.com/EtherFact-Project/go-etherfact/p2p/nat"
"github.com/ethereum/go-ethereum/p2p/netutil" "github.com/EtherFact-Project/go-etherfact/p2p/netutil"
) )
func main() { func main() {

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -23,9 +23,9 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/EtherFact-Project/go-etherfact/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/pborman/uuid" "github.com/pborman/uuid"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -21,9 +21,9 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/EtherFact-Project/go-etherfact/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -21,10 +21,10 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/EtherFact-Project/go-etherfact/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2018 The go-ethereum Authors // Copyright 2018 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main

View file

@ -1,18 +1,18 @@
// Copyright 2018 The go-ethereum Authors // Copyright 2018 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -22,7 +22,7 @@ import (
"testing" "testing"
"github.com/docker/docker/pkg/reexec" "github.com/docker/docker/pkg/reexec"
"github.com/ethereum/go-ethereum/internal/cmdtest" "github.com/EtherFact-Project/go-etherfact/internal/cmdtest"
) )
type testEthkey struct { type testEthkey struct {

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -22,9 +22,9 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/console" "github.com/EtherFact-Project/go-etherfact/console"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -21,7 +21,7 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" "github.com/EtherFact-Project/go-etherfact/cmd/evm/internal/compiler"
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -22,7 +22,7 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/ethereum/go-ethereum/core/asm" "github.com/EtherFact-Project/go-etherfact/core/asm"
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package compiler package compiler
@ -20,7 +20,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/ethereum/go-ethereum/core/asm" "github.com/EtherFact-Project/go-etherfact/core/asm"
) )
func Compile(fn string, src []byte, debug bool) (string, error) { func Compile(fn string, src []byte, debug bool) (string, error) {

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -22,9 +22,9 @@ import (
"math/big" "math/big"
"time" "time"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/EtherFact-Project/go-etherfact/common/math"
"github.com/ethereum/go-ethereum/core/vm" "github.com/EtherFact-Project/go-etherfact/core/vm"
) )
type JSONLogger struct { type JSONLogger struct {

View file

@ -1,18 +1,18 @@
// Copyright 2014 The go-ethereum Authors // Copyright 2014 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
// evm executes EVM code snippets. // evm executes EVM code snippets.
package main package main
@ -22,7 +22,7 @@ import (
"math/big" "math/big"
"os" "os"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -27,16 +27,16 @@ import (
goruntime "runtime" goruntime "runtime"
"github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" "github.com/EtherFact-Project/go-etherfact/cmd/evm/internal/compiler"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core" "github.com/EtherFact-Project/go-etherfact/core"
"github.com/ethereum/go-ethereum/core/state" "github.com/EtherFact-Project/go-etherfact/core/state"
"github.com/ethereum/go-ethereum/core/vm" "github.com/EtherFact-Project/go-etherfact/core/vm"
"github.com/ethereum/go-ethereum/core/vm/runtime" "github.com/EtherFact-Project/go-etherfact/core/vm/runtime"
"github.com/ethereum/go-ethereum/ethdb" "github.com/EtherFact-Project/go-etherfact/ethdb"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -23,10 +23,10 @@ import (
"io/ioutil" "io/ioutil"
"os" "os"
"github.com/ethereum/go-ethereum/core/state" "github.com/EtherFact-Project/go-etherfact/core/state"
"github.com/ethereum/go-ethereum/core/vm" "github.com/EtherFact-Project/go-etherfact/core/vm"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/ethereum/go-ethereum/tests" "github.com/EtherFact-Project/go-etherfact/tests"
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
) )
@ -50,7 +50,7 @@ func stateTestCmd(ctx *cli.Context) error {
if len(ctx.Args().First()) == 0 { if len(ctx.Args().First()) == 0 {
return errors.New("path-to-test argument required") return errors.New("path-to-test argument required")
} }
// Configure the go-ethereum logger // Configure the go-etherfact logger
glogger := log.NewGlogHandler(log.StreamHandler(os.Stderr, log.TerminalFormat(false))) glogger := log.NewGlogHandler(log.StreamHandler(os.Stderr, log.TerminalFormat(false)))
glogger.Verbosity(log.Lvl(ctx.GlobalInt(VerbosityFlag.Name))) glogger.Verbosity(log.Lvl(ctx.GlobalInt(VerbosityFlag.Name)))
log.Root().SetHandler(glogger) log.Root().SetHandler(glogger)

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
// faucet is a Ether faucet backed by a light client. // faucet is a Ether faucet backed by a light client.
package main package main
@ -41,23 +41,23 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/EtherFact-Project/go-etherfact/accounts/keystore"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core" "github.com/EtherFact-Project/go-etherfact/core"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/eth" "github.com/EtherFact-Project/go-etherfact/eth"
"github.com/ethereum/go-ethereum/eth/downloader" "github.com/EtherFact-Project/go-etherfact/eth/downloader"
"github.com/ethereum/go-ethereum/ethclient" "github.com/EtherFact-Project/go-etherfact/ethclient"
"github.com/ethereum/go-ethereum/ethstats" "github.com/EtherFact-Project/go-etherfact/ethstats"
"github.com/ethereum/go-ethereum/les" "github.com/EtherFact-Project/go-etherfact/les"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/ethereum/go-ethereum/node" "github.com/EtherFact-Project/go-etherfact/node"
"github.com/ethereum/go-ethereum/p2p" "github.com/EtherFact-Project/go-etherfact/p2p"
"github.com/ethereum/go-ethereum/p2p/discover" "github.com/EtherFact-Project/go-etherfact/p2p/discover"
"github.com/ethereum/go-ethereum/p2p/discv5" "github.com/EtherFact-Project/go-etherfact/p2p/discv5"
"github.com/ethereum/go-ethereum/p2p/nat" "github.com/EtherFact-Project/go-etherfact/p2p/nat"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
"golang.org/x/net/websocket" "golang.org/x/net/websocket"
) )
@ -450,7 +450,7 @@ func (f *faucet) apiHandler(conn *websocket.Conn) {
case *noauthFlag: case *noauthFlag:
username, avatar, address, err = authNoAuth(msg.URL) username, avatar, address, err = authNoAuth(msg.URL)
default: default:
err = errors.New("Something funky happened, please open an issue at https://github.com/ethereum/go-ethereum/issues") err = errors.New("Something funky happened, please open an issue at https://github.com/EtherFact-Project/go-etherfact/issues")
} }
if err != nil { if err != nil {
if err = sendError(conn, err); err != nil { if err = sendError(conn, err); err != nil {

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -20,12 +20,12 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/EtherFact-Project/go-etherfact/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/console" "github.com/EtherFact-Project/go-etherfact/console"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -173,7 +173,7 @@ Fatal: Failed to unlock account f466859ead1932d743d622cb74fc058882e8648a (could
`) `)
} }
// https://github.com/ethereum/go-ethereum/issues/1785 // https://github.com/EtherFact-Project/go-etherfact/issues/1785
func TestUnlockFlagMultiIndex(t *testing.T) { func TestUnlockFlagMultiIndex(t *testing.T) {
datadir := tmpDatadirWithKeystore(t) datadir := tmpDatadirWithKeystore(t)
geth := runGeth(t, geth := runGeth(t,

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -26,10 +26,10 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/ethereum/go-ethereum/cmd/internal/browser" "github.com/EtherFact-Project/go-etherfact/cmd/internal/browser"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
) )
@ -41,9 +41,9 @@ var bugCommand = cli.Command{
Category: "MISCELLANEOUS COMMANDS", Category: "MISCELLANEOUS COMMANDS",
} }
const issueUrl = "https://github.com/ethereum/go-ethereum/issues/new" const issueUrl = "https://github.com/EtherFact-Project/go-etherfact/issues/new"
// reportBug reports a bug by opening a new URL to the go-ethereum GH issue // reportBug reports a bug by opening a new URL to the go-etherfact GH issue
// tracker and setting default values as the issue body. // tracker and setting default values as the issue body.
func reportBug(ctx *cli.Context) error { func reportBug(ctx *cli.Context) error {
// execute template and write contents to buff // execute template and write contents to buff

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -25,17 +25,17 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/console" "github.com/EtherFact-Project/go-etherfact/console"
"github.com/ethereum/go-ethereum/core" "github.com/EtherFact-Project/go-etherfact/core"
"github.com/ethereum/go-ethereum/core/state" "github.com/EtherFact-Project/go-etherfact/core/state"
"github.com/ethereum/go-ethereum/core/types" "github.com/EtherFact-Project/go-etherfact/core/types"
"github.com/ethereum/go-ethereum/eth/downloader" "github.com/EtherFact-Project/go-etherfact/eth/downloader"
"github.com/ethereum/go-ethereum/ethdb" "github.com/EtherFact-Project/go-etherfact/ethdb"
"github.com/ethereum/go-ethereum/event" "github.com/EtherFact-Project/go-etherfact/event"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/ethereum/go-ethereum/trie" "github.com/EtherFact-Project/go-etherfact/trie"
"github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -27,12 +27,12 @@ import (
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/dashboard" "github.com/EtherFact-Project/go-etherfact/dashboard"
"github.com/ethereum/go-ethereum/eth" "github.com/EtherFact-Project/go-etherfact/eth"
"github.com/ethereum/go-ethereum/node" "github.com/EtherFact-Project/go-etherfact/node"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6"
"github.com/naoina/toml" "github.com/naoina/toml"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -24,10 +24,10 @@ import (
"strings" "strings"
"syscall" "syscall"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/console" "github.com/EtherFact-Project/go-etherfact/console"
"github.com/ethereum/go-ethereum/node" "github.com/EtherFact-Project/go-etherfact/node"
"github.com/ethereum/go-ethereum/rpc" "github.com/EtherFact-Project/go-etherfact/rpc"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )
@ -43,7 +43,7 @@ var (
Description: ` Description: `
The Geth console is an interactive shell for the JavaScript runtime environment The Geth console is an interactive shell for the JavaScript runtime environment
which exposes a node admin interface as well as the Ðapp JavaScript API. which exposes a node admin interface as well as the Ðapp JavaScript API.
See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console.`, See https://github.com/EtherFact-Project/go-etherfact/wiki/JavaScript-Console.`,
} }
attachCommand = cli.Command{ attachCommand = cli.Command{
@ -56,7 +56,7 @@ See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console.`,
Description: ` Description: `
The Geth console is an interactive shell for the JavaScript runtime environment The Geth console is an interactive shell for the JavaScript runtime environment
which exposes a node admin interface as well as the Ðapp JavaScript API. which exposes a node admin interface as well as the Ðapp JavaScript API.
See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console. See https://github.com/EtherFact-Project/go-etherfact/wiki/JavaScript-Console.
This command allows to open a console on a running geth node.`, This command allows to open a console on a running geth node.`,
} }
@ -69,7 +69,7 @@ This command allows to open a console on a running geth node.`,
Category: "CONSOLE COMMANDS", Category: "CONSOLE COMMANDS",
Description: ` Description: `
The JavaScript VM exposes a node admin interface as well as the Ðapp The JavaScript VM exposes a node admin interface as well as the Ðapp
JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console`, JavaScript API. See https://github.com/EtherFact-Project/go-etherfact/wiki/JavaScript-Console`,
} }
) )

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -27,7 +27,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
) )
const ( const (

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -23,10 +23,10 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/core" "github.com/EtherFact-Project/go-etherfact/core"
"github.com/ethereum/go-ethereum/ethdb" "github.com/EtherFact-Project/go-etherfact/ethdb"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
) )
// Genesis block for nodes which don't care about the DAO fork (i.e. not configured) // Genesis block for nodes which don't care about the DAO fork (i.e. not configured)

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main

View file

@ -1,18 +1,18 @@
// Copyright 2014 The go-ethereum Authors // Copyright 2014 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
// geth is the official command-line client for Ethereum. // geth is the official command-line client for Ethereum.
package main package main
@ -25,16 +25,16 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/EtherFact-Project/go-etherfact/accounts"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/EtherFact-Project/go-etherfact/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/console" "github.com/EtherFact-Project/go-etherfact/console"
"github.com/ethereum/go-ethereum/eth" "github.com/EtherFact-Project/go-etherfact/eth"
"github.com/ethereum/go-ethereum/ethclient" "github.com/EtherFact-Project/go-etherfact/ethclient"
"github.com/ethereum/go-ethereum/internal/debug" "github.com/EtherFact-Project/go-etherfact/internal/debug"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"github.com/ethereum/go-ethereum/metrics" "github.com/EtherFact-Project/go-etherfact/metrics"
"github.com/ethereum/go-ethereum/node" "github.com/EtherFact-Project/go-etherfact/node"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )
@ -46,7 +46,7 @@ var (
// Git SHA1 commit hash of the release (set via linker flags) // Git SHA1 commit hash of the release (set via linker flags)
gitCommit = "" gitCommit = ""
// The app that holds all commands and flags. // The app that holds all commands and flags.
app = utils.NewApp(gitCommit, "the go-ethereum command line interface") app = utils.NewApp(gitCommit, "the go-etherfact command line interface")
// flags that configure the node // flags that configure the node
nodeFlags = []cli.Flag{ nodeFlags = []cli.Flag{
utils.IdentityFlag, utils.IdentityFlag,
@ -146,7 +146,7 @@ func init() {
// Initialize the CLI app and start Geth // Initialize the CLI app and start Geth
app.Action = geth app.Action = geth
app.HideVersion = true // we have a command to print the version app.HideVersion = true // we have a command to print the version
app.Copyright = "Copyright 2013-2017 The go-ethereum Authors" app.Copyright = "Copyright 2013-2017 The go-etherfact Authors"
app.Commands = []cli.Command{ app.Commands = []cli.Command{
// See chaincmd.go: // See chaincmd.go:
initCommand, initCommand,

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -23,10 +23,10 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/consensus/ethash" "github.com/EtherFact-Project/go-etherfact/consensus/ethash"
"github.com/ethereum/go-ethereum/eth" "github.com/EtherFact-Project/go-etherfact/eth"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -25,9 +25,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/node" "github.com/EtherFact-Project/go-etherfact/node"
"github.com/ethereum/go-ethereum/rpc" "github.com/EtherFact-Project/go-etherfact/rpc"
"github.com/gizak/termui" "github.com/gizak/termui"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2016 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -23,7 +23,7 @@ import (
"testing" "testing"
"github.com/docker/docker/pkg/reexec" "github.com/docker/docker/pkg/reexec"
"github.com/ethereum/go-ethereum/internal/cmdtest" "github.com/EtherFact-Project/go-etherfact/internal/cmdtest"
) )
func tmpdir(t *testing.T) string { func tmpdir(t *testing.T) string {

View file

@ -1,18 +1,18 @@
// Copyright 2015 The go-ethereum Authors // Copyright 2015 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
// Contains the geth command usage template and generator. // Contains the geth command usage template and generator.
@ -24,8 +24,8 @@ import (
"strings" "strings"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/EtherFact-Project/go-etherfact/cmd/utils"
"github.com/ethereum/go-ethereum/internal/debug" "github.com/EtherFact-Project/go-etherfact/internal/debug"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )
@ -33,7 +33,7 @@ import (
var AppHelpTemplate = `NAME: var AppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}} {{.App.Name}} - {{.App.Usage}}
Copyright 2013-2017 The go-ethereum Authors Copyright 2013-2017 The go-etherfact Authors
USAGE: USAGE:
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}} {{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
// p2psim provides a command-line client for a simulation HTTP API. // p2psim provides a command-line client for a simulation HTTP API.
// //
@ -45,12 +45,12 @@ import (
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"github.com/ethereum/go-ethereum/crypto" "github.com/EtherFact-Project/go-etherfact/crypto"
"github.com/ethereum/go-ethereum/p2p" "github.com/EtherFact-Project/go-etherfact/p2p"
"github.com/ethereum/go-ethereum/p2p/discover" "github.com/EtherFact-Project/go-etherfact/p2p/discover"
"github.com/ethereum/go-ethereum/p2p/simulations" "github.com/EtherFact-Project/go-etherfact/p2p/simulations"
"github.com/ethereum/go-ethereum/p2p/simulations/adapters" "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters"
"github.com/ethereum/go-ethereum/rpc" "github.com/EtherFact-Project/go-etherfact/rpc"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -21,11 +21,11 @@ import (
"errors" "errors"
"math" "math"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/EtherFact-Project/go-etherfact/common/hexutil"
"github.com/ethereum/go-ethereum/consensus/ethash" "github.com/EtherFact-Project/go-etherfact/consensus/ethash"
"github.com/ethereum/go-ethereum/core" "github.com/EtherFact-Project/go-etherfact/core"
"github.com/ethereum/go-ethereum/params" "github.com/EtherFact-Project/go-etherfact/params"
) )
// cppEthereumGenesisSpec represents the genesis specification format used by the // cppEthereumGenesisSpec represents the genesis specification format used by the
@ -85,10 +85,10 @@ type cppEthereumGenesisSpecLinearPricing struct {
Word uint64 `json:"word"` Word uint64 `json:"word"`
} }
// newCppEthereumGenesisSpec converts a go-ethereum genesis block into a Parity specific // newCppEthereumGenesisSpec converts a go-etherfact genesis block into a Parity specific
// chain specification format. // chain specification format.
func newCppEthereumGenesisSpec(network string, genesis *core.Genesis) (*cppEthereumGenesisSpec, error) { func newCppEthereumGenesisSpec(network string, genesis *core.Genesis) (*cppEthereumGenesisSpec, error) {
// Only ethash is currently supported between go-ethereum and cpp-ethereum // Only ethash is currently supported between go-etherfact and cpp-ethereum
if genesis.Config.Ethash == nil { if genesis.Config.Ethash == nil {
return nil, errors.New("unsupported consensus engine") return nil, errors.New("unsupported consensus engine")
} }
@ -256,10 +256,10 @@ type parityChainSpecAltBnPairingPricing struct {
Pair uint64 `json:"pair"` Pair uint64 `json:"pair"`
} }
// newParityChainSpec converts a go-ethereum genesis block into a Parity specific // newParityChainSpec converts a go-etherfact genesis block into a Parity specific
// chain specification format. // chain specification format.
func newParityChainSpec(network string, genesis *core.Genesis, bootnodes []string) (*parityChainSpec, error) { func newParityChainSpec(network string, genesis *core.Genesis, bootnodes []string) (*parityChainSpec, error) {
// Only ethash is currently supported between go-ethereum and Parity // Only ethash is currently supported between go-etherfact and Parity
if genesis.Config.Ethash == nil { if genesis.Config.Ethash == nil {
return nil, errors.New("unsupported consensus engine") return nil, errors.New("unsupported consensus engine")
} }
@ -355,10 +355,10 @@ type pyEthereumGenesisSpec struct {
ParentHash common.Hash `json:"parentHash"` ParentHash common.Hash `json:"parentHash"`
} }
// newPyEthereumGenesisSpec converts a go-ethereum genesis block into a Parity specific // newPyEthereumGenesisSpec converts a go-etherfact genesis block into a Parity specific
// chain specification format. // chain specification format.
func newPyEthereumGenesisSpec(network string, genesis *core.Genesis) (*pyEthereumGenesisSpec, error) { func newPyEthereumGenesisSpec(network string, genesis *core.Genesis) (*pyEthereumGenesisSpec, error) {
// Only ethash is currently supported between go-ethereum and pyethereum // Only ethash is currently supported between go-etherfact and pyethereum
if genesis.Config.Ethash == nil { if genesis.Config.Ethash == nil {
return nil, errors.New("unsupported consensus engine") return nil, errors.New("unsupported consensus engine")
} }

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -25,7 +25,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
var ( var (

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -26,7 +26,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// dashboardContent is the actual dashboard HTML content to serve up when users // dashboardContent is the actual dashboard HTML content to serve up when users
@ -202,7 +202,7 @@ var dashboardContent = `
</div> </div>
<div class="x_content"> <div class="x_content">
<p>The Ethereum Wallet is an <a href="https://electron.atom.io/" target="about:blank">Electron</a> based desktop application to manage your Ethereum accounts and funds. Beside the usual account life-cycle operations you would expect to perform, the wallet also provides a means to send transactions from your accounts and to interact with smart contracts deployed on the network.</p> <p>The Ethereum Wallet is an <a href="https://electron.atom.io/" target="about:blank">Electron</a> based desktop application to manage your Ethereum accounts and funds. Beside the usual account life-cycle operations you would expect to perform, the wallet also provides a means to send transactions from your accounts and to interact with smart contracts deployed on the network.</p>
<p>Under the hood the wallet is backed by a go-ethereum full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on <strong>fast-sync</strong>, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.</p> <p>Under the hood the wallet is backed by a go-etherfact full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on <strong>fast-sync</strong>, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.</p>
<br/> <br/>
<p>To connect with the Ethereum Wallet, you'll need to initialize your private network first via Geth as the wallet does not currently support calling Geth directly. To initialize your local chain, download <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> and run: <p>To connect with the Ethereum Wallet, you'll need to initialize your private network first via Geth as the wallet does not currently support calling Geth directly. To initialize your local chain, download <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> and run:
<pre>geth --datadir=$HOME/.{{.Network}} init {{.GethGenesis}}</pre> <pre>geth --datadir=$HOME/.{{.Network}} init {{.GethGenesis}}</pre>
@ -223,7 +223,7 @@ var dashboardContent = `
</div> </div>
<div class="x_content"> <div class="x_content">
<p>The Mist browser is an <a href="https://electron.atom.io/" target="about:blank">Electron</a> based desktop application to load and interact with Ethereum enabled third party web DApps. Beside all the functionality provided by the Ethereum Wallet, Mist is an extended web-browser where loaded pages have access to the Ethereum network via a web3.js provider, and may also interact with users' own accounts (given proper authorization and confirmation of course).</p> <p>The Mist browser is an <a href="https://electron.atom.io/" target="about:blank">Electron</a> based desktop application to load and interact with Ethereum enabled third party web DApps. Beside all the functionality provided by the Ethereum Wallet, Mist is an extended web-browser where loaded pages have access to the Ethereum network via a web3.js provider, and may also interact with users' own accounts (given proper authorization and confirmation of course).</p>
<p>Under the hood the browser is backed by a go-ethereum full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on <strong>fast-sync</strong>, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.</p> <p>Under the hood the browser is backed by a go-etherfact full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on <strong>fast-sync</strong>, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.</p>
<br/> <br/>
<p>To connect with the Mist browser, you'll need to initialize your private network first via Geth as Mist does not currently support calling Geth directly. To initialize your local chain, download <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> and run: <p>To connect with the Mist browser, you'll need to initialize your private network first via Geth as Mist does not currently support calling Geth directly. To initialize your local chain, download <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> and run:
<pre>geth --datadir=$HOME/.{{.Network}} init {{.GethGenesis}}</pre> <pre>geth --datadir=$HOME/.{{.Network}} init {{.GethGenesis}}</pre>
@ -253,10 +253,10 @@ var dashboardContent = `
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<div class="x_content"> <div class="x_content">
<p>Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for Java based Android projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from Android too.</p> <p>Starting with the 1.5 release of go-etherfact, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for Java based Android projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from Android too.</p>
<p>Under the hood the Android library is backed by a go-ethereum light node, meaning that given a not-too-old Android device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.</p> <p>Under the hood the Android library is backed by a go-etherfact light node, meaning that given a not-too-old Android device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.</p>
<br/> <br/>
<p>The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in <a href="https://github.com/ethereum/go-ethereum/wiki/Mobile:-Introduction#android-archive" target="about:blank">Mobile: Introduction &ndash; Android archive</a>. <p>The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in <a href="https://github.com/EtherFact-Project/go-etherfact/wiki/Mobile:-Introduction#android-archive" target="about:blank">Mobile: Introduction &ndash; Android archive</a>.
<p>Before connecting to the Ethereum network, download the <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> genesis json file and either store it in your Android project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.</p> <p>Before connecting to the Ethereum network, download the <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> genesis json file and either store it in your Android project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.</p>
<p>Inside your Java code you can now import the geth archive and connect to Ethereum: <p>Inside your Java code you can now import the geth archive and connect to Ethereum:
<pre>import org.ethereum.geth.*;</pre> <pre>import org.ethereum.geth.*;</pre>
@ -284,10 +284,10 @@ node.start();
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<div class="x_content"> <div class="x_content">
<p>Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for ObjC/Swift based iOS projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from iOS too.</p> <p>Starting with the 1.5 release of go-etherfact, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for ObjC/Swift based iOS projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from iOS too.</p>
<p>Under the hood the iOS library is backed by a go-ethereum light node, meaning that given a not-too-old Apple device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.</p> <p>Under the hood the iOS library is backed by a go-etherfact light node, meaning that given a not-too-old Apple device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.</p>
<br/> <br/>
<p>Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in <a href="https://github.com/ethereum/go-ethereum/wiki/Mobile:-Introduction#ios-framework" target="about:blank">Mobile: Introduction &ndash; iOS framework</a>. <p>Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in <a href="https://github.com/EtherFact-Project/go-etherfact/wiki/Mobile:-Introduction#ios-framework" target="about:blank">Mobile: Introduction &ndash; iOS framework</a>.
<p>Before connecting to the Ethereum network, download the <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> genesis json file and either store it in your iOS project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.</p> <p>Before connecting to the Ethereum network, download the <a href="/{{.GethGenesis}}"><code>{{.GethGenesis}}</code></a> genesis json file and either store it in your iOS project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.</p>
<p>Inside your Swift code you can now import the geth framework and connect to Ethereum (ObjC should be analogous): <p>Inside your Swift code you can now import the geth framework and connect to Ethereum (ObjC should be analogous):
<pre>import Geth</pre> <pre>import Geth</pre>
@ -419,9 +419,9 @@ try! node?.start();
<p>Puppeth is a tool to aid you in creating a new Ethereum network down to the genesis block, bootnodes, signers, ethstats server, crypto faucet, wallet browsers, block explorer, dashboard and more; without the hassle that it would normally entail to manually configure all these services one by one.</p> <p>Puppeth is a tool to aid you in creating a new Ethereum network down to the genesis block, bootnodes, signers, ethstats server, crypto faucet, wallet browsers, block explorer, dashboard and more; without the hassle that it would normally entail to manually configure all these services one by one.</p>
<p>Puppeth uses ssh to dial in to remote servers, and builds its network components out of docker containers using docker-compose. The user is guided through the process via a command line wizard that does the heavy lifting and topology configuration automatically behind the scenes.</p> <p>Puppeth uses ssh to dial in to remote servers, and builds its network components out of docker containers using docker-compose. The user is guided through the process via a command line wizard that does the heavy lifting and topology configuration automatically behind the scenes.</p>
<br/> <br/>
<p>Puppeth is distributed as part of the <a href="https://geth.ethereum.org/downloads/" target="about:blank">Geth &amp; Tools</a> bundles, but can also be installed separately via:<pre>go get github.com/ethereum/go-ethereum/cmd/puppeth</pre></p> <p>Puppeth is distributed as part of the <a href="https://geth.ethereum.org/downloads/" target="about:blank">Geth &amp; Tools</a> bundles, but can also be installed separately via:<pre>go get github.com/EtherFact-Project/go-etherfact/cmd/puppeth</pre></p>
<br/> <br/>
<p><em>Copyright 2017. The go-ethereum Authors.</em></p> <p><em>Copyright 2017. The go-etherfact Authors.</em></p>
</div> </div>
<div style="display: inline-block; vertical-align: bottom; width: 217px;"> <div style="display: inline-block; vertical-align: bottom; width: 217px;">
<img src="puppeth.png" style="height: 256px; margin: 16px 16px 16px 16px"></img> <img src="puppeth.png" style="height: 256px; margin: 16px 16px 16px 16px"></img>
@ -635,7 +635,7 @@ func deployDashboard(client *sshClient, network string, conf *config, config *da
}) })
files[filepath.Join(workdir, "index.html")] = indexfile.Bytes() files[filepath.Join(workdir, "index.html")] = indexfile.Bytes()
// Marshal the genesis spec files for go-ethereum and all the other clients // Marshal the genesis spec files for go-etherfact and all the other clients
genesis, _ := conf.Genesis.MarshalJSON() genesis, _ := conf.Genesis.MarshalJSON()
files[filepath.Join(workdir, network+".json")] = genesis files[filepath.Join(workdir, network+".json")] = genesis

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -25,7 +25,7 @@ import (
"strings" "strings"
"text/template" "text/template"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// ethstatsDockerfile is the Dockerfile required to build an ethstats backend // ethstatsDockerfile is the Dockerfile required to build an ethstats backend

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -25,7 +25,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// explorerDockerfile is the Dockerfile required to run a block explorer. // explorerDockerfile is the Dockerfile required to run a block explorer.

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -26,8 +26,8 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// faucetDockerfile is the Dockerfile required to build an faucet container to // faucetDockerfile is the Dockerfile required to build an faucet container to

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -24,7 +24,7 @@ import (
"path/filepath" "path/filepath"
"strconv" "strconv"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// nginxDockerfile is theis the Dockerfile required to build an nginx reverse- // nginxDockerfile is theis the Dockerfile required to build an nginx reverse-

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -26,8 +26,8 @@ import (
"strings" "strings"
"text/template" "text/template"
"github.com/ethereum/go-ethereum/common" "github.com/EtherFact-Project/go-etherfact/common"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// nodeDockerfile is the Dockerfile required to run an Ethereum node. // nodeDockerfile is the Dockerfile required to run an Ethereum node.

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -25,7 +25,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
) )
// walletDockerfile is the Dockerfile required to run a web wallet. // walletDockerfile is the Dockerfile required to run a web wallet.

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
// puppeth is a command to assemble and maintain private networks. // puppeth is a command to assemble and maintain private networks.
package main package main
@ -23,7 +23,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

View file

@ -1,18 +1,18 @@
// Copyright 2017 The go-ethereum Authors // Copyright 2017 The go-etherfact Authors
// This file is part of go-ethereum. // This file is part of go-etherfact.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-etherfact is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// go-ethereum is distributed in the hope that it will be useful, // go-etherfact is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-etherfact. If not, see <http://www.gnu.org/licenses/>.
package main package main
@ -28,7 +28,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/ethereum/go-ethereum/log" "github.com/EtherFact-Project/go-etherfact/log"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/terminal" "golang.org/x/crypto/ssh/terminal"
) )

Some files were not shown because too many files have changed in this diff Show more