Commit Graph

545 Commits (55add2d52218ad8f205d561e98a5c28c16397549)

Author SHA1 Message Date
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
Eugene Kim ad0434aee4 Convert existing Body field users to use accessors 5 years ago
Eugene Kim 070a42c387 Version block body (types.Body) 5 years ago
Eugene Kim 1a1caa422d Add BodyInterface 5 years ago
Eugene Kim a07417581f Add deep Copy to Transaction and txdata 5 years ago
Eugene Kim 2e01e03d07 Add deep Copy method to CX receipt and friends 5 years ago
Eugene Kim 74a37e05e4 Version block 5 years ago
Eugene Kim 9372b4a18a Remove unused StorageBlock and friends 5 years ago
Dennis Won ade5978225 addressed chao's comment 5 years ago
Dennis Won 479c9ad60f consolidate and use block validator functions properly 5 years ago
Eugene Kim 83dae1fa24 Do not share embedded blockif.Header between block.Header instances 5 years ago
Eugene Kim 13e4fb07e9 Remove obsolete comments 5 years ago
Eugene Kim bc711829b8 Fix goimports 5 years ago
Eugene Kim 8ac058bb2e Version headers 5 years ago
chao d624e3c46a remove crosslink checking in cross tx receipt verification 5 years ago
chao 39214def83 improve cross tx receipts verification to avoid beacon sync dependency 5 years ago