-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18e5e66
commit 6d6380d
Showing
10 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM ethereum/client-go | ||
|
||
# our own custom bult geth that mines really fast | ||
#COPY geth /usr/bin/geth | ||
|
||
# script that invokes with all those | ||
# command line options | ||
COPY rungeth.docker /usr/bin/rungeth | ||
|
||
# these two files and directory of geth state belong together and must be | ||
# kept in sync if changes are ever made | ||
# Note we are taking advantage of Docker's copy-on-mount feature | ||
COPY geth.password /root/geth.password | ||
COPY genesis.json /root/genesis.json | ||
COPY ethereum /root/.ethereum | ||
|
||
ENTRYPOINT [/usr/bin/rungeth] | ||
|
||
# use non-standard ports so don't accidently connect to real servers | ||
EXPOSE 8110 | ||
EXPOSE 30310 | ||
EXPOSE 6110 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
docker build -t chrysalis/gethimage:1.2 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
ethereum-data: | ||
container_name: ethereum-data | ||
image: chrysalis/gethimage:1.2 | ||
volumes: | ||
- /home/ethereum/ | ||
ethereum: | ||
container_name: ethereum | ||
image: chrysalis/gethimage:1.2 | ||
volumes_from: | ||
- ethereum-data | ||
ports: | ||
- "30303:30303" | ||
- "8545:8545" | ||
command: geth --rpc --rpcaddr "0.0.0.0" -rpcapi "eth,miner,personal" |
1 change: 1 addition & 0 deletions
1
...um/keystore/UTC--2017-02-11T11-48-59.573798720Z--27dc8de9e9a1cb673543bd5fce89e83af09e228f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"address":"27dc8de9e9a1cb673543bd5fce89e83af09e228f","crypto":{"cipher":"aes-128-ctr","ciphertext":"8945128a41207c5162543d4b5c8842057dc48fedd12430905308c048588f2495","cipherparams":{"iv":"13080070ab6cd91cf160711f2ec3a671"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"ec67454dc9ebfdfc88760af7b2220011f3429a1257fbb9954135ccf9d1947848"},"mac":"ff5f2a191ee61d118b746ff09bd109b3bbe2c7620e99375ad6e9bc70aaa60ebe"},"id":"4dc880c5-71fc-4560-8eed-3592b210118f","version":3} |
11 changes: 11 additions & 0 deletions
11
...um/keystore/UTC--2017-02-28T11-44-33.966873174Z--de1e758511a7c67e7db93d1c23c1060a21db4615
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{"address":"de1e758511a7c67e7db93d1c23c1060a21db4615", | ||
"crypto": | ||
{ | ||
"cipher":"aes-128-ctr", | ||
"ciphertext":"22e5dc093df09bfb7b9884b7c26ad68d7565e648abe14f14c632335ef3c61302", | ||
"cipherparams": | ||
{"iv":"6d8eb4d7dd9b9b0d989d75d79877f092"},"kdf":"scrypt", | ||
"kdfparams": | ||
{"dklen":32,"n":4096,"p":6,"r":8,"salt":"b38fd8258b40750327da60bbe947980ba7a37447c7ec6d86cc5c6f96b1af14cc"}, | ||
"mac":"d36ef78994ed2d00bb74b14e9a644d623d5538e145e98ad93e233ed895af19a6"}, | ||
"id":"0f994109-fe2b-4123-b860-4d1af258c821","version":3} |
1 change: 1 addition & 0 deletions
1
...um/keystore/UTC--2017-02-28T11-47-56.992491126Z--d64a66c28a6ae5150af5e7c34696502793b91ae7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"address":"d64a66c28a6ae5150af5e7c34696502793b91ae7","crypto":{"cipher":"aes-128-ctr","ciphertext":"f4dc755ea14f62fac3873addd70a63cc7121df13929ae5e59a981a73d3e45e66","cipherparams":{"iv":"1eadee076028b7482684beccb383b03b"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"6b2eede2cdd4b19ae55e510f6fc88bebf6965b0e2c389b7ee0170a078ce49ec9"},"mac":"83c923e66b3e345bb712e843cf81edb2b7595cd30f084efe43741f6a6045f7e3"},"id":"44ccbcf5-1e7d-43ea-9da3-46d2e6762917","version":3} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dbc4ccfce8861028aa1ebdf7b2dd1971574c0ab05ebe18cf118d8f88ab41b577 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"nonce": "0x00005a23dw24656e", | ||
"difficulty": "0x20000", | ||
"mixhash": "0x00000000000000000000000000000000000000647572616c65787365646c6578", | ||
"coinbase": "0xde1e758511a7c67e7db93d1c23c1060a21db4615", | ||
"timestamp": "0x00", | ||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"extraData": "0x", | ||
"gasLimit": "0x2FEFD8", | ||
"alloc": { | ||
"0xde1e758511a7c67e7db93d1c23c1060a21db4615": { | ||
"balance": "10000000000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
"0x27dc8de9e9a1cb673543bd5fce89e83af09e228f": { | ||
"balance": "11000000000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
"0xd64a66c28a6ae5150af5e7c34696502793b91ae7": { | ||
"balance": "90000000000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
/usr/bin/geth --datadir /root/.ethereum --password /root/geth.password --unlock "0" --port 30310 --rpc --rpcaddr "0.0.0.0" -rpcapi "eth,web3" --rpcport 8110 --networkid 4567890 --dev --lightkdf --nodiscover --maxpeers 0 --verbosity 6 --pprof --pprofport 6110 --mine --minerthreads 1 $@ 2> /tmp/geth.log |