coolcottontail
b9ccefb20f
check harmony pubkey
5 years ago
coolcottontail
cd7a57f008
updated node.sh to verify the downloaded harmony binarnies
5 years ago
Leo Chen
22d11af921
[node] fix func not defined issue
...
any_new_binaries function was misplaced, it is missing in the
download_only mode. move it up before the download only mode call.
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
64e48cfd2d
[node] set shard_id to -1 by default to avoid override
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
a872f29fa3
[node] fix the default network type
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
fcb04eeded
[node] add -M support multi-key mode
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
246ede3e0f
[node] option to specify the pub port
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Janet Liang
29bb07702c
[rename network] Make mainnet consistent with the other options, '-N main' is now '-N mainnet'
5 years ago
Janet Liang
7a916758f3
[rename network] Remove '-N dev' option, use '-N devnet' for starting Devnet node
5 years ago
Janet Liang
d7358915e7
[rename network] Remove mention of beta
5 years ago
Janet Liang
726878d72e
[rename network] Rename network names for Testnet & Devnet
...
Use "-N testnet" for Testnet/Pangaea
Use "-N devnet" for Devnet
"-N pangaea" will not be supported
5 years ago
Eugene Kim
237230e8a9
node.sh -Z ⇒ -y, to reduce case confusion
...
Suggested-by: Rongjian Lan <rongjian@harmony.one>
5 years ago
Eugene Kim
977581e2a8
Make node.sh support staking
...
Operational note: This change requires the updated binary that
understands the -staking flag (also in this PR).
5 years ago
Eugene Kim
234981dfcf
Expand tabs
5 years ago
Eugene Kim
e1771cc884
Make node.sh honor -i, if given, for validators
...
This is required for staked nodes for now, and is be superseded by
-staking=true option in harmony binary itself.
5 years ago
Eugene Kim
0bd1beab00
Add node.sh "-N dev" for devnet
5 years ago
Leo Chen
70b0a6258d
[node.sh] updated version
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Eugene Kim
bbcb9f0274
Avoid unconditional download in download-only mode
5 years ago
Eugene Kim
f75abe17a7
Download/verify files listed in md5sum.txt
...
That is, do not hardcode list of files.
5 years ago
Eugene Kim
943d1b38bb
Mandate arguments to any_new_binaries and download_binaries
5 years ago
Eugene Kim
e9013af805
Print filename upon curl failure
5 years ago
Eugene Kim
3aa28fa9e4
Deprecate -N beta with a warning message
5 years ago
Eugene Kim
5827fc231e
Use -network_type=testnet for Pangaea/testnet
...
It should be lockstep-updated after we deprecate/remove
-network_type=pangaea later.
5 years ago
Sebastian Johnsson
02057507df
Remove previous beta/testnet section from node.sh
5 years ago
Sebastian Johnsson
0edfedee1d
Update Pangaea to use the new bootnodes (54.218.73.167 & 18.232.171.117)
5 years ago
Leo Chen
0f33af36b3
[node.sh] add -v -V option to print out version of script/node
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
86dea85d84
[node.sh] use -P to enable public_rpc
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Rongjian Lan
6a3c0b256d
Fix mainnet release todos
5 years ago
Leo Chen
1fe996066f
[node.sh] download only to staging/ directory
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
96154991a6
[node.sh] don't download if not in loop mode
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
5875aa30a3
[node.sh] support download from alternate location
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
b576b17bad
[node.sh] uses separate options to download harmony db
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
343b4e9ff5
Revert "[cleanup] remove is_genesis flag"
...
This reverts commit 97880b2c3a
.
5 years ago
flicker-harmony
49b94e7bbb
# This is a combination of 16 commits.
...
# This is the 1st commit message:
Fix travis
# This is the commit message #2 :
[cleanup] remove is_genesis flag
Signed-off-by: Leo Chen <leo@harmony.one>
# This is the commit message #3 :
[nodetype] add nodetype to replace is_explorer
Signed-off-by: Leo Chen <leo@harmony.one>
# This is the commit message #4 :
fix beacon sync channel blocking issue
# This is the commit message #5 :
use lastMileMux to protect lastMileBlock queue to avoid potential blocking; use sleep instead of ticker
# This is the commit message #6 :
Fix the beacon committee check
# This is the commit message #7 :
[release] add release action to go_executable_build.sh
Signed-off-by: Leo Chen <leo@harmony.one>
# This is the commit message #8 :
[node.sh] add -d option
-d download only
Signed-off-by: Leo Chen <leo@harmony.one>
# This is the commit message #9 :
[node.sh] add -T node_type option
-T node_type support node type (validator/explorer)
Signed-off-by: Leo Chen <leo@harmony.one>
# This is the commit message #10 :
[node.sh] backward compatible with older harmony binary
Signed-off-by: Leo Chen <leo@harmony.one>
# This is the commit message #11 :
[node.sh] support -i shard_id option
-i shard_id specify shard_id, this is applicable only to
explorer node
Signed-off-by: Leo Chen <leo@harmony.one>
# This is the commit message #12 :
Revisited api
# This is the commit message #13 :
Fix rpc integration
# This is the commit message #14 :
address some minor issues in comments and code
# This is the commit message #15 :
addressed comments on others' buckets
# This is the commit message #16 :
Add Global Access to OS Temp Directory Variable and Move DHT Files Into Temp Directory
5 years ago
Leo Chen
cb3b8a05bc
[node.sh] support -i shard_id option
...
-i shard_id specify shard_id, this is applicable only to
explorer node
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
7210e15172
[node.sh] backward compatible with older harmony binary
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
ce3553b897
[node.sh] add -T node_type option
...
-T node_type support node type (validator/explorer)
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
005c9427e9
[node.sh] add -d option
...
-d download only
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Christopher Liu
dcbdab522b
[Pangaea] Reset DNS Server and Bootnode ( #1578 )
5 years ago
Leo Chen
97880b2c3a
[cleanup] remove is_genesis flag
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Christopher Liu
ad55952ff1
[Pangaea] Change to functional DNS server ( #1554 )
5 years ago
Chris
d010f5ac39
[Pangaea] Fix dns zone and rename default to main
5 years ago
Eugene Kim
8f573b62a2
For initial download, check in pwd, not in staging
5 years ago
Eugene Kim
6382cd5a5c
Verify checksum of downloaded file if available
5 years ago
Eugene Kim
19edad3e38
Make any_new_binaries handle outdir is pwd
5 years ago
Eugene Kim
84647a23bc
Do not clean up old files unconditionally
5 years ago
Eugene Kim
858143be82
Make fetch fail on HTTP error status such as 404
...
This is done by the -f flag of curl(1).
Also do not show progress indicator (-s) but still show errors (-S).
5 years ago
Leo Chen
9cc5d584ab
[node.sh] don't download all binary if no new update
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
bb6b54c2c4
[node.sh] use mainnet folder for mainnet node
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
c84b4c95ff
[node.sh] check just md5sum for new binaries
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago