Commit Graph

3967 Commits (a4c1972c773e9c38380e598056b464e6c4008324)
 

Author SHA1 Message Date
Richard Liu 8a5a6753cd
update deploy.sh for duration (#883) 6 years ago
Eugene Kim 0782151f75 Disable block hash caching 6 years ago
Leo Chen 968daeb12f
[wallet] ask for passphrase twice (#881) 6 years ago
chao 7cd24dae6c modify the naming of variables to make code cleaner 6 years ago
chao 69cfe9b633 * add view changing logic 6 years ago
chao 2ba6d2018b * cleanup consensus codes 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 6 years ago
Eugene Kim 04ba5a3adf Retrieve parent block by hash, not by number 6 years ago
Eugene Kim e783c49d55 Don't assume the block has >=1 tx 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
Eugene Kim 539ac01635 Make the 10-second block period a named constant 6 years ago
Eugene Kim 6819355e54 Remove a few stale TODO comments 6 years ago
Eugene Kim dc8e3d7b3b Revert parameters to production values 6 years ago
Eugene Kim 2202782ab8 Add long-term feedback as TODOs 6 years ago
Eugene Kim 7445699909 More fixes/improvements 6 years ago
Eugene Kim 664c6c1513 A cumulative collection of fixes/improvements: 6 years ago
Eugene Kim b75896f534 Make {Read,Write}ShardState take epoch number 6 years ago
Eugene Kim 733ae18fd4 go mod tidy 6 years ago
Eugene Kim 9043ec6ddf Add epoch block number storage 6 years ago
Eugene Kim 38b4faa6de Add block logger 6 years ago
Eugene Kim 7c5c7bc3a6 [DEBUG] Log overall sync flow 6 years ago
Eugene Kim fac1f3ca41 Remove unused GetShardStateByHash 6 years ago
Eugene Kim ad10605263 Broadcast resharded state to all nodes 6 years ago
Eugene Kim c4338ad890 Remove ShardState and ShardStateHash from genesis 6 years ago
Eugene Kim cca34560b0 Reorg imports into stdlib–external–internal format 6 years ago
Eugene Kim abdfb5e048 Add epoch block number storage in rawdb 6 years ago
Eugene Kim 413e5703a0 Make local leaders propose end-of-epoch if needed 6 years ago
Eugene Kim 8308c4d0ff Verify non-beacon end-of-epoch proposal 6 years ago
Eugene Kim 5e356054ab Add GetLastBlockNumberFromEpoch 6 years ago
Eugene Kim 4cbc6ba048 Move ValidNewShardState to node level 6 years ago
Eugene Kim 65df03bc9d Add Epoch to block header 6 years ago
Eugene Kim e02f4caade Validate shard state in proposed blocks 6 years ago
Eugene Kim abaef8725d Tidy imports in stdlib-external-internal order 6 years ago
Eugene Kim 2fb4d1ba4c Do not accept block proposal with bad shard state 6 years ago
Eugene Kim d0d130bc4b Make BlockVerifier return an error on failure 6 years ago
Eugene Kim bca1e3522f Verify proposed block contents 6 years ago
Eugene Kim 26c1f753cc Replace post-consensus resharding with TODOs 6 years ago
Eugene Kim 3cb884e7e8 Propose resharding in epoch-last block on beaconchain 6 years ago
Eugene Kim c04b94858d Add ShardState 6 years ago
Eugene Kim 8a22ae1aca
Merge pull request #875 from harmony-ek/use_uint32_as_shard_id 6 years ago
Eugene Kim 3f74e9fc91 Fix UT – the canonical RLP encoding does change 6 years ago
Eugene Kim 18bf30e6c8 Use uint32 as shard ID type instead of [4]byte 6 years ago
Eugene Kim e80398a8f8
Merge pull request #873 from harmony-ek/split_block_bytes_into_annotated_fields 6 years ago
Eugene Kim fcf7fb2363
Merge pull request #874 from harmony-ek/make_shard_state_comparable_recursively 6 years ago
Eugene Kim 7991a56519 goimports 6 years ago
Eugene Kim efc57c47ed Make ShardState comparable (recursively) 6 years ago
Eugene Kim 828f2d0f41 Factor []NodeID type as NodeIDList 6 years ago