Commit Graph

661 Commits (7b25c672d9cc5c29953389308139c185f8d17d0c)

Author SHA1 Message Date
chao 1ee2ab5866 debugging 5 years ago
flicker-harmony f02b9fbdbd Hardcode staking.Validator 5 years ago
flicker-harmony 4ab439b987 Add empty not nil structs 5 years ago
Edgar Aroutiounian 825a5f0f43
[staking] Provide correct Encoding/Decoding of Directive in StakingTransaction (#1773) 5 years ago
Eugene Kim 860badfb09 Simplify Pangaea/testnet epoch schedule 5 years ago
Dennis Won 7d68c7cc01 add verifyHeaders option to blockchain.insertChain() 5 years ago
chaosma 942456f564 Staking part2 (#1755) 5 years ago
Rongjian Lan 0a4e4d6339 update staking transaction structs (#1756) 5 years ago
Rongjian Lan cbb8659228 update staking transaction structs 5 years ago
chao 05e4c9a916 register v3 header and v2 body 5 years ago
chao bd6a9bee6c fix test error 5 years ago
chao 58448f6b23 remove old design code 5 years ago
chao 0c020d8f6a add staking transaction field in v2 body; add v3 header for future fork 5 years ago
chao 96cb8d095a add validatorList read/write 5 years ago
chaosma 6b0959c01f add api for requesting validator and delegators information (#1744) 5 years ago
chao 19b34b49dd add database access 5 years ago
Edgar Aroutiounian 9f00923ac3
Factor out quorum logic from consensus, undo prior consolidation of values under core (#1717) 5 years ago
chao 6950c450f2 add validator_test.go 5 years ago
chao db44ad08e8 WIP2 5 years ago
Edgar Aroutiounian 2e7c2b9111 [mainnet-release] Address code comments 5 years ago
chao 227d140964 WIP 5 years ago
chaosma 87d3ab231c small optimization on cross shard tx (#1714) 5 years ago
Edgar Aroutiounian 97efce2766
Further progress on staking (#1709) 5 years ago
Edgar Aroutiounian 1297623cfe
Staking dev cycle (#1689) 5 years ago
chao 63ffa3a766 add empty field check for cxreceiptproof 5 years ago
chao 6321395731 fix cross shard verification error; need to recalculate shard state instead of retrieve for cx transaction receipt verification 5 years ago
chao 33aa47b9d3 fix cross shard verification error; need to recalculate shard state instead of retrieve for cx transaction receipt verification 5 years ago
Rongjian Lan e74a2f1bdf fix lint 5 years ago
Rongjian Lan 19b1c03888 Refactor shard state related func and avoid recomputing shard state unnecessarily 5 years ago
flicker-harmony 809d77ebf7 Fix travis 5 years ago
Chao Ma 3980ae6147 use only one index for CXEntryLookup; use shardID instead of fromShardID in RPC returned results 5 years ago
chao f3a89211c8 Add CXReceipt RPC call; Add indexing for CXReceipt by TxHash 5 years ago
chao a81544f3ff add more comments to CxPool 5 years ago
chao 00c2356b5e add tx type check; improve several efficiency issues 5 years ago
chao c78b8fa352 add http rpc call to resend missing cross shard receipt 5 years ago
Rongjian Lan 8376c2a3a0 Add all cross-shard txn fork checks 5 years ago
Rongjian Lan 74bea3cf7f Add cross-shard tx backward compatibility 5 years ago
Dennis Won 242f66a915 fixed cx txn with the change and added comments explanining the 3 differences between header.GetShardState vs core.GetShardState vs. chain.ReadShardState 5 years ago
Eugene Kim e9e09b7650 Enable cross-shard transaction at CrossTxEpoch+1 5 years ago
Eugene Kim 30c8c66b39 Gate cross-shard transaction using CrossTxEpoch 5 years ago
Eugene Kim c996f22f7a Avoid fetching entire block to use just its header 5 years ago
Eugene Kim 0bfded75d1 Introduce CrossTx epoch 5 years ago
Eugene Kim dfd38b12ed Add v1.Header (v2.Header sans CrossLinks) 5 years ago
Eugene Kim 8ac042ad9f Move v1.Header → v2.Header 5 years ago
Eugene Kim 2a7168a46b Fix nil panic if block is not found in database 5 years ago
chao e6089d7f92 prevent cross shard tx before V0 Epoch 5 years ago
Eugene Kim ef87783790 Avoid deep-copying txs for ReadTransaction 5 years ago
Eugene Kim 258037fee7 Add UT for (*Body).En-/DecodeRLP 5 years ago
Eugene Kim 966d9b0b51 Remove unused test struct 5 years ago
Eugene Kim 10add4825f Make Body UT to use factory function and setters 5 years ago