Skip to content

Commit ee5a2bf

Browse files
committed
Rebrand cpp-ethereum to Aleth in the startup script
1 parent 2eb318e commit ee5a2bf

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

clients/aleth:develop/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ COPY --from=builder /version.json /
5353
ADD config.json /config.json
5454

5555
# Inject the startup script
56-
ADD eth.sh /eth.sh
57-
RUN chmod +x /eth.sh
56+
ADD aleth.sh /aleth.sh
57+
RUN chmod +x /aleth.sh
5858

5959
# Export the usual networking ports to allow outside access to the node
6060
EXPOSE 8545 30303
6161

62-
ENTRYPOINT ["/eth.sh"]
62+
ENTRYPOINT ["/aleth.sh"]

clients/aleth:develop/Dockerfile.develop

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ RUN echo "{}" \
3737
ADD config.json /config.json
3838

3939
# Inject the startup script
40-
ADD eth.sh /eth.sh
41-
RUN chmod +x /eth.sh
40+
ADD aleth.sh /aleth.sh
41+
RUN chmod +x /aleth.sh
4242

4343
# Export the usual networking ports to allow outside access to the node
4444
EXPOSE 8545 30303
4545

46-
ENTRYPOINT ["/eth.sh"]
46+
ENTRYPOINT ["/aleth.sh"]

clients/aleth:develop/eth.sh renamed to clients/aleth:develop/aleth.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Startup script to initialize and boot a cpp-ethereum instance.
3+
# Startup script to initialize and boot an Aleth instance.
44
#
55
# This script assumes the following files:
66
# - `eth` binary is located somewhere on the $PATH
@@ -48,7 +48,7 @@ genesis="${genesis/coinbase/author}"
4848

4949
accounts=`echo $genesis | jq ".alloc"` && genesis=`echo $genesis | jq "del(.alloc)"`
5050

51-
# Remove genesis fields unsupported by cpp-ethereum
51+
# Remove unsupported genesis fields
5252
genesis=`echo $genesis | jq "del(.bloom) | del(.hash) | del(.number) | del(.receiptTrie) | del(.stateRoot) | del(.transactionsTrie) | del(.uncleHash) | del(.gasUsed)"`
5353

5454
chainconfig=`echo $chainconfig | jq ". + {\"genesis\": $genesis}"`
@@ -155,8 +155,8 @@ if [ "$HIVE_MINER_EXTRA" != "" ]; then
155155
FLAGS="$FLAGS --extradata $HIVE_MINER_EXTRA"
156156
fi
157157

158-
# Run the cpp implementation with the requested flags
159-
echo "Running cpp-ethereum... "
158+
# Run the client with the requested flags
159+
echo "Running Aleth... "
160160

161161
RUNCMD="python3 /usr/bin/aleth.py --rpc http://0.0.0.0:8545 --aleth-exec $ETHEXEC $FLAGS"
162162
echo "cmd: $RUNCMD"

0 commit comments

Comments
 (0)