Minh Doan
522376410d
clean up and fix correct error messages. Now we should watch out of all error messages
6 years ago
Leo Chen
31d92c35c9
[foundational] add account address of 43, 143
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
868aabdfcf
[node] fix comment and add -nopass for local test
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
96e6973276
[foundational] add account address 93
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
4e4ede9a65
[foundational] add account address 142
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
df162f91b3
Merge pull request #892 from harmony-ek/update_li_key
...
Update Li's public key and add mine
6 years ago
Leo Chen
4bd4d38e3b
[foundational] update account address for 92
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
b87c7a19e2
Merge pull request #893 from LeoHChen/foundational_node_leo
...
Foundational node for leo
6 years ago
Eugene Kim
35787cf4c1
Revert Leo's key; it's added in #893
6 years ago
Eugene Kim
7c0cfe5e29
While I'm here add mine and Leo's as well
6 years ago
Leo Chen
231251f1f0
[foundational] add a foundational node for Leo
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
21aa375850
[node] fix the download path of node program
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
1afa48ea57
Update Li's public key
...
His old keypair was generated using an old wallet (on MBP) and isn't
in the right Ethereum keystore format.
6 years ago
Leo Chen
e54d4fd0ca
[drum] change release name
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
8f020cfb03
Merge pull request #889 from harmony-ek/exit_gracefully_if_account_index_is_out_of_range
...
Do not panic upon out-of-range account index
6 years ago
Eugene Kim
b6b1de9657
Do not panic upon out-of-range account index
...
Out-of-range account index (currently >= 200) translates into a shard ID
(>= 4) not found in the genesis table, so its genesis cannot be
initialized. Since this can be induced by misconfiguration, do not
panic but just crit out.
This error was seen during drum testnet launch.
6 years ago
Leo Chen
5137991a21
Merge pull request #888 from LeoHChen/add_foundational_nodes
...
Add foundational nodes
6 years ago
Leo Chen
1c852ba97b
Merge pull request #2 from harmony-ek/add_foundational_nodes
...
Fix groups of 10
6 years ago
Eugene Kim
aad9425d93
Separate groups of 10
6 years ago
Eugene Kim
fb9a20500e
Remove misplaced blank lines
6 years ago
Leo Chen
17c2fc3126
[foundational] add more foundational node pubkeys
...
account index: 92, 141
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
98ae11f594
[foundational] add account address for foundational nodes
...
40, 41, ,42, 90, 91, 140, 190
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
919718bbc0
Merge pull request #839 from harmony-ek/streamline_resharding_timing
...
Streamline resharding timing + block reward
6 years ago
Eugene Kim
e5d0c84ecc
Disable reshaarding
...
This is a temporary measure until we can:
- Fix shard state mutation bug, and
- Implement key passphrase recycle across process restart (exec) for
shard migration.
6 years ago
Eugene Kim
d399a7291e
Add GoDoc to fix golint
6 years ago
Eugene Kim
fde24f7bc0
Remove unused import to unbreak goimports
6 years ago
Eugene Kim
1895a3564e
Merge branch 'master' of github.com:harmony-one/harmony into streamline_resharding_timing
6 years ago
Leo Chen
9dcb3d740b
Merge pull request #887 from LeoHChen/wallet_fix_empty_passphrase
...
Wallet fix empty passphrase
6 years ago
Eugene Kim
cd7d5056f6
Disable DRand processing
...
Suggested-by: Rongjian Lan <rongjian@harmony.one>
6 years ago
Eugene Kim
cf41d88b34
Remove Leader from Committee
...
Leader is authoritatively defined as the first item of NodeList.
6 years ago
Eugene Kim
7eaf379757
Do not fail hard on shard state mismatch
...
This is because CalculateNewShardState() has been seen to be
nondeterministic (different output with the same input).
6 years ago
Eugene Kim
be151a81b9
Make copy of shard state where appropriate
...
That is, 1) when using the current shard state as a mutable working copy
for resharding, and 2) defensively when caching for later retrieval.
6 years ago
Leo Chen
c1b009b4be
[script] upload wallet to pub repo
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
3e31c8ddb2
[node] fix cli parameter and enable pass checking by default
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
6b5d01d38e
[wallet] fix bug of empty passphrase
...
add export command to export the key
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
109922c9b2
[wallet] use dns name for rpc servers
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
f1fb9291ff
Fix confusing naming
...
(I got confused myself...)
6 years ago
Richard Liu
8a5a6753cd
update deploy.sh for duration ( #883 )
...
* update deploy.sh for duration
* enable sync by default
6 years ago
Eugene Kim
0782151f75
Disable block hash caching
...
Our consensus differ from Ethereum's: The proposed block header is
incomplete until the preparer/committer bitmaps and signatures are
known, where Ethereum's proposed block is already immutable. Ethereum
code calls, especially from validator logic, block.Hash() liberally
without ill effect, but in our case the validation logic is called
before the finalization of committer bitmap, and the block.Hash() calls
embedded in the validation fixates and finalizes the block hash
prematurely.
Until we have a better logic to deal with this, disable block hash
caching, and always recompute the block hash using the actual header.
6 years ago
Leo Chen
968daeb12f
[wallet] ask for passphrase twice ( #881 )
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
chao
7cd24dae6c
modify the naming of variables to make code cleaner
...
address pr comments
6 years ago
chao
69cfe9b633
* add view changing logic
...
* add view change message handler
* modify view change message constructor
6 years ago
chao
2ba6d2018b
* cleanup consensus codes
...
* add view change status variables
* add view change message constructor
6 years ago
Eugene Kim
a7ba9a1b67
Fix UTs after Minh's single-source-of-truth fix
6 years ago
Eugene Kim
171fa3d3c1
Log blocks added to the chain from InsertChain
...
This is so that every single one entering the chain is seen.
6 years ago
Eugene Kim
04ba5a3adf
Retrieve parent block by hash, not by number
...
Weird that only hash works; add a TODO.
6 years ago
Eugene Kim
e783c49d55
Don't assume the block has >=1 tx
...
Because we now allow empty blocks.
6 years ago
Eugene Kim
497bba1f77
Fix goimports
6 years ago
Eugene Kim
d43820a797
Fix test compile errors after lint
6 years ago
Eugene Kim
3c1e7ce5b3
Fix golint
6 years ago