Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

also add go-ethereum into test network #30

Closed
sveneh opened this issue Dec 25, 2014 · 7 comments
Closed

also add go-ethereum into test network #30

sveneh opened this issue Dec 25, 2014 · 7 comments
Assignees

Comments

@sveneh
Copy link

sveneh commented Dec 25, 2014

No description provided.

@heikoheiko
Copy link
Member

we also need to set params on the cl when starting, at least:

  • coinbase
  • pubkey/nodeid
  • mining_percentage
  • num_peers
  • bootstrapping host
  • rpc listening port
  • rlpx listening port
  • datadir

@heikoheiko heikoheiko modified the milestones: high priority, middle priority Feb 2, 2015
@tgerring
Copy link

tgerring commented Feb 3, 2015

Here's the initial information to support the requested params:

coinbase -import="/path/to/secretfile"
pubkey/nodeid -identifier="CustomClientName"
mining_percentage -mine=true (Mining as a % of CPU time not currently available)
num_peers -maxpeers=30
bootstrapping host -seednode="ip:port" (pending PR 287)
rpc listening port -rpcport=8080
rlpx listening port -port=30303
datadir -datadir="~/.ethereum"

Some items may need to changes to achieve full functionality. In particular, some clarification around input format and intended functionality for coinbase & pubkey/nodeid would be helpful, as these codebases are under active development.

@sveneh sveneh modified the milestones: milestone 2, high priority Feb 4, 2015
@sveneh sveneh added the ready label Feb 4, 2015
@fjl
Copy link

fjl commented Feb 4, 2015

@heikoheiko two things to keep in mind:

  1. It is not possible to set the node ID directly as a parameter. We can only provide a flag for the private key. The actual node ID will then be derived from that key.
  2. bootstrapping needs the IP, port and node ID.

@heikoheiko
Copy link
Member

@fjl yes, makes sense.
ideally we'd be able to set the privkey (not the path) as a cl parameter. otherwise we have to create additional files in docker.

@fjl
Copy link

fjl commented Feb 4, 2015

I will make sure that this is possible.

@fjl
Copy link

fjl commented Feb 10, 2015

In the poc8-net-integration branch, both mist and ethereum accept the required flags for discovery testing.

As an example, you can generate a key like this:

NODEKEY=`openssl rand -hex 32`

and then run ethereum as

ethereum -nodekeyhex $NODEKEY -bootnodes "enode://244b2b8c8ba050c0b1564bf1ffd414459680f357f00ffca4f4cb78056c2fdc56c67e79ce93984cfc436f39445ae3cd247f933a0b598818c1aaa020993888a021@127.0.0.1:30303"

@sveneh
Copy link
Author

sveneh commented Feb 17, 2015

need to address poc8 integration changes

@sveneh sveneh reopened this Feb 17, 2015
@sveneh sveneh closed this as completed in 32a0006 Feb 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants