Skip to content

Commit

Permalink
repo name change
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSK committed Jul 23, 2018
1 parent afef7ea commit 01c5b8d
Show file tree
Hide file tree
Showing 489 changed files with 1,826 additions and 1,826 deletions.
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Before you do a feature request please check and make sure that it isn't possible
through some other means. The JavaScript enabled console is a powerful feature
in the right hands. Please check our [Bitchin' tricks](https://github.com/teamnsrg/go-ethereum/wiki/bitchin-tricks) wiki page for more info
in the right hands. Please check our [Bitchin' tricks](https://github.com/teamnsrg/ethereum-p2p/wiki/bitchin-tricks) wiki page for more info
and help.

## Contributing
Expand All @@ -11,6 +11,6 @@ If you'd like to contribute to go-ethereum please fork, fix, commit and
send a pull request. Commits which do not comply with the coding standards
are ignored (use gofmt!).

See [Developers' Guide](https://github.com/teamnsrg/go-ethereum/wiki/Developers'-Guide)
See [Developers' Guide](https://github.com/teamnsrg/ethereum-p2p/wiki/Developers'-Guide)
for more details on configuring your environment, testing, and
dependency management.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: go
go_import_path: github.com/teamnsrg/go-ethereum
go_import_path: github.com/teamnsrg/ethereum-p2p
sudo: false
matrix:
include:
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Official golang implementation of the Ethereum protocol.

[![API Reference](
https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667
)](https://godoc.org/github.com/teamnsrg/go-ethereum)
)](https://godoc.org/github.com/teamnsrg/ethereum-p2p)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ethereum/go-ethereum?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Automated builds are available for stable releases and the unstable master branch.
Expand All @@ -13,7 +13,7 @@ Binary archives are published at https://geth.ethereum.org/downloads/.
## Building the source

For prerequisites and detailed build instructions please read the
[Installation Instructions](https://github.com/teamnsrg/go-ethereum/wiki/Building-Ethereum)
[Installation Instructions](https://github.com/teamnsrg/ethereum-p2p/wiki/Building-Ethereum)
on the wiki.

Building geth requires both a Go (version 1.7 or later) and a C compiler.
Expand All @@ -32,8 +32,8 @@ The go-ethereum project comes with several wrappers/executables found in the `cm

| Command | Description |
|:----------:|-------------|
| **`geth`** | Our main Ethereum CLI client. It is the entry point into the Ethereum network (main-, test- or private net), capable of running as a full node (default) archive node (retaining all historical state) or a light node (retrieving data live). It can be used by other processes as a gateway into the Ethereum network via JSON RPC endpoints exposed on top of HTTP, WebSocket and/or IPC transports. `geth --help` and the [CLI Wiki page](https://github.com/teamnsrg/go-ethereum/wiki/Command-Line-Options) for command line options. |
| `abigen` | Source code generator to convert Ethereum contract definitions into easy to use, compile-time type-safe Go packages. It operates on plain [Ethereum contract ABIs](https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI) with expanded functionality if the contract bytecode is also available. However it also accepts Solidity source files, making development much more streamlined. Please see our [Native DApps](https://github.com/teamnsrg/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts) wiki page for details. |
| **`geth`** | Our main Ethereum CLI client. It is the entry point into the Ethereum network (main-, test- or private net), capable of running as a full node (default) archive node (retaining all historical state) or a light node (retrieving data live). It can be used by other processes as a gateway into the Ethereum network via JSON RPC endpoints exposed on top of HTTP, WebSocket and/or IPC transports. `geth --help` and the [CLI Wiki page](https://github.com/teamnsrg/ethereum-p2p/wiki/Command-Line-Options) for command line options. |
| `abigen` | Source code generator to convert Ethereum contract definitions into easy to use, compile-time type-safe Go packages. It operates on plain [Ethereum contract ABIs](https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI) with expanded functionality if the contract bytecode is also available. However it also accepts Solidity source files, making development much more streamlined. Please see our [Native DApps](https://github.com/teamnsrg/ethereum-p2p/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts) wiki page for details. |
| `bootnode` | Stripped down version of our Ethereum client implementation that only takes part in the network node discovery protocol, but does not run any of the higher level application protocols. It can be used as a lightweight bootstrap node to aid in finding peers in private networks. |
| `evm` | Developer utility version of the EVM (Ethereum Virtual Machine) that is capable of running bytecode snippets within a configurable environment and execution mode. Its purpose is to allow isolated, fine-grained debugging of EVM opcodes (e.g. `evm --code 60ff60ff --debug`). |
| `gethrpctest` | Developer utility tool to support our [ethereum/rpc-test](https://github.com/ethereum/rpc-tests) test suite which validates baseline conformity to the [Ethereum JSON RPC](https://github.com/ethereum/wiki/wiki/JSON-RPC) specs. Please see the [test suite's readme](https://github.com/ethereum/rpc-tests/blob/master/README.md) for details. |
Expand All @@ -44,7 +44,7 @@ The go-ethereum project comes with several wrappers/executables found in the `cm
## Running geth

Going through all the possible command line flags is out of scope here (please consult our
[CLI Wiki page](https://github.com/teamnsrg/go-ethereum/wiki/Command-Line-Options)), but we've
[CLI Wiki page](https://github.com/teamnsrg/ethereum-p2p/wiki/Command-Line-Options)), but we've
enumerated a few common parameter combos to get you up to speed quickly on how you can run your
own Geth instance.

Expand All @@ -66,9 +66,9 @@ This command will:
* Bump the memory allowance of the database to 512MB (`--cache=512`), which can help significantly in
sync times especially for HDD users. This flag is optional and you can set it as high or as low as
you'd like, though we'd recommend the 512MB - 2GB range.
* Start up Geth's built-in interactive [JavaScript console](https://github.com/teamnsrg/go-ethereum/wiki/JavaScript-Console),
* Start up Geth's built-in interactive [JavaScript console](https://github.com/teamnsrg/ethereum-p2p/wiki/JavaScript-Console),
(via the trailing `console` subcommand) through which you can invoke all official [`web3` methods](https://github.com/ethereum/wiki/wiki/JavaScript-API)
as well as Geth's own [management APIs](https://github.com/teamnsrg/go-ethereum/wiki/Management-APIs).
as well as Geth's own [management APIs](https://github.com/teamnsrg/ethereum-p2p/wiki/Management-APIs).
This too is optional and if you leave it out you can always attach to an already running Geth instance
with `geth attach`.

Expand Down Expand Up @@ -137,7 +137,7 @@ Do not forget `--rpcaddr 0.0.0.0`, if you want to access RPC from other containe
As a developer, sooner rather than later you'll want to start interacting with Geth and the Ethereum
network via your own programs and not manually through the console. To aid this, Geth has built in
support for a JSON-RPC based APIs ([standard APIs](https://github.com/ethereum/wiki/wiki/JSON-RPC) and
[Geth specific APIs](https://github.com/teamnsrg/go-ethereum/wiki/Management-APIs)). These can be
[Geth specific APIs](https://github.com/teamnsrg/ethereum-p2p/wiki/Management-APIs)). These can be
exposed via HTTP, WebSockets and IPC (unix sockets on unix based platforms, and named pipes on Windows).

The IPC interface is enabled by default and exposes all the APIs supported by Geth, whereas the HTTP
Expand Down Expand Up @@ -290,7 +290,7 @@ Please make sure your contributions adhere to our coding guidelines:
* Commit messages should be prefixed with the package(s) they modify.
* E.g. "eth, rpc: make trace configs optional"

Please see the [Developers' Guide](https://github.com/teamnsrg/go-ethereum/wiki/Developers'-Guide)
Please see the [Developers' Guide](https://github.com/teamnsrg/ethereum-p2p/wiki/Developers'-Guide)
for more details on configuring your environment, managing project dependencies and testing procedures.

## License
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"strings"
"testing"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

const jsondata = `
Expand Down
8 changes: 4 additions & 4 deletions accounts/abi/bind/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"io"
"io/ioutil"

"github.com/teamnsrg/go-ethereum/accounts/keystore"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/core/types"
"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p/accounts/keystore"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/core/types"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

// NewTransactor is a utility method to easily create a transaction signer from
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"errors"
"math/big"

"github.com/teamnsrg/go-ethereum"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/core/types"
"github.com/teamnsrg/ethereum-p2p"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/core/types"
)

var (
Expand Down
22 changes: 11 additions & 11 deletions accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ import (
"sync"
"time"

"github.com/teamnsrg/go-ethereum"
"github.com/teamnsrg/go-ethereum/accounts/abi/bind"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/common/math"
"github.com/teamnsrg/go-ethereum/consensus/ethash"
"github.com/teamnsrg/go-ethereum/core"
"github.com/teamnsrg/go-ethereum/core/state"
"github.com/teamnsrg/go-ethereum/core/types"
"github.com/teamnsrg/go-ethereum/core/vm"
"github.com/teamnsrg/go-ethereum/ethdb"
"github.com/teamnsrg/go-ethereum/params"
"github.com/teamnsrg/ethereum-p2p"
"github.com/teamnsrg/ethereum-p2p/accounts/abi/bind"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/common/math"
"github.com/teamnsrg/ethereum-p2p/consensus/ethash"
"github.com/teamnsrg/ethereum-p2p/core"
"github.com/teamnsrg/ethereum-p2p/core/state"
"github.com/teamnsrg/ethereum-p2p/core/types"
"github.com/teamnsrg/ethereum-p2p/core/vm"
"github.com/teamnsrg/ethereum-p2p/ethdb"
"github.com/teamnsrg/ethereum-p2p/params"
)

// This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend.
Expand Down
10 changes: 5 additions & 5 deletions accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
"fmt"
"math/big"

"github.com/teamnsrg/go-ethereum"
"github.com/teamnsrg/go-ethereum/accounts/abi"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/core/types"
"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p"
"github.com/teamnsrg/ethereum-p2p/accounts/abi"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/core/types"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

// SignerFn is a signer function callback when a contract requires a method to
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/bind/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Package bind generates Ethereum contract Go bindings.
//
// Detailed usage document and tutorial available on the go-ethereum Wiki page:
// https://github.com/teamnsrg/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
// https://github.com/teamnsrg/ethereum-p2p/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
package bind

import (
Expand All @@ -28,7 +28,7 @@ import (
"text/template"
"unicode"

"github.com/teamnsrg/go-ethereum/accounts/abi"
"github.com/teamnsrg/ethereum-p2p/accounts/abi"
"golang.org/x/tools/imports"
)

Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package bind

import "github.com/teamnsrg/go-ethereum/accounts/abi"
import "github.com/teamnsrg/ethereum-p2p/accounts/abi"

// tmplData is the data structure required to fill the binding template.
type tmplData struct {
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"fmt"
"time"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/core/types"
"github.com/teamnsrg/go-ethereum/log"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/core/types"
"github.com/teamnsrg/ethereum-p2p/log"
)

// WaitMined waits for tx to be mined on the blockchain.
Expand Down
12 changes: 6 additions & 6 deletions accounts/abi/bind/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import (
"testing"
"time"

"github.com/teamnsrg/go-ethereum/accounts/abi/bind"
"github.com/teamnsrg/go-ethereum/accounts/abi/bind/backends"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/core"
"github.com/teamnsrg/go-ethereum/core/types"
"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p/accounts/abi/bind"
"github.com/teamnsrg/ethereum-p2p/accounts/abi/bind/backends"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/core"
"github.com/teamnsrg/ethereum-p2p/core/types"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"reflect"
"strings"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

// Event is an event potentially triggered by the EVM's LOG mechanism. The Event
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"strings"
"testing"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

func TestEventId(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"reflect"
"strings"

"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

// Callable method given a `Name` and whether the method is a constant.
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/numbers.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"math/big"
"reflect"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/common/math"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/common/math"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"math/big"
"reflect"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/common/math"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/common/math"
)

// packBytesSlice packs the given bytes as [L, V] as the canonical representation
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
"testing"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/ethereum-p2p/common"
)

func TestPack(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"testing"

"github.com/davecgh/go-spew/spew"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/ethereum-p2p/common"
)

// typeWithoutStringer is a alias for the Type type which simply doesn't implement
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/unpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"math/big"
"reflect"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/ethereum-p2p/common"
)

// unpacker is a utility interface that enables us to have
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/unpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"strings"
"testing"

"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/ethereum-p2p/common"
)

type unpackTest struct {
Expand Down
8 changes: 4 additions & 4 deletions accounts/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ package accounts
import (
"math/big"

ethereum "github.com/teamnsrg/go-ethereum"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/core/types"
"github.com/teamnsrg/go-ethereum/event"
ethereum "github.com/teamnsrg/ethereum-p2p"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/core/types"
"github.com/teamnsrg/ethereum-p2p/event"
)

// Account represents an Ethereum account located at a specific location defined
Expand Down
6 changes: 3 additions & 3 deletions accounts/keystore/account_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
"sync"
"time"

"github.com/teamnsrg/go-ethereum/accounts"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/log"
"github.com/teamnsrg/ethereum-p2p/accounts"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/log"
"gopkg.in/fatih/set.v0"
)

Expand Down
4 changes: 2 additions & 2 deletions accounts/keystore/account_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (

"github.com/cespare/cp"
"github.com/davecgh/go-spew/spew"
"github.com/teamnsrg/go-ethereum/accounts"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/ethereum-p2p/accounts"
"github.com/teamnsrg/ethereum-p2p/common"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/file_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"sync"
"time"

"github.com/teamnsrg/go-ethereum/log"
"github.com/teamnsrg/ethereum-p2p/log"
set "gopkg.in/fatih/set.v0"
)

Expand Down
6 changes: 3 additions & 3 deletions accounts/keystore/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import (
"time"

"github.com/pborman/uuid"
"github.com/teamnsrg/go-ethereum/accounts"
"github.com/teamnsrg/go-ethereum/common"
"github.com/teamnsrg/go-ethereum/crypto"
"github.com/teamnsrg/ethereum-p2p/accounts"
"github.com/teamnsrg/ethereum-p2p/common"
"github.com/teamnsrg/ethereum-p2p/crypto"
)

const (
Expand Down
Loading

0 comments on commit 01c5b8d

Please sign in to comment.