Commit Graph

87 Commits (cc3675ee736c7d3c3469df50324b7f34fef0075c)

Author SHA1 Message Date
Rongjian Lan e4c6c303c8 Fix cross shard tx unlocking issue, fix txgen random shardId duplication issue, add some more utility funcs in utxoPool 6 years ago
Rongjian Lan 945f25c65b Update utxo with state block; refactor utxo counter func 6 years ago
Rongjian Lan 222d40d92c Remove invalid transactions in pending list 6 years ago
Rongjian Lan 514262be2e explicitly return tx verification error and increase block tx num 6 years ago
Rongjian Lan d0d6715ccd Implement state block verification 6 years ago
Rongjian Lan ea6b76e1b3 Add State struct in Block and populate them in state block 6 years ago
Rongjian Lan c09dc508f3 Add processing after state block consensus 6 years ago
Rongjian Lan 3919360ef6 Wire state block creation and verificaiton into consensus 6 years ago
Rongjian Lan 695e473784 Create state block from utxo pool 6 years ago
Rongjian Lan f93b1eecb9 Add wallet transfer functionality; Add transaction serialization; Refactor wallet utitlity and reuse wallet server; Bytes util; utxoPool crossShard check 6 years ago
Rongjian Lan 100bd4da9c Add utxo lookup by addresses 6 years ago
Rongjian Lan 54a6def5ac Add import private key and check balance functionalities to wallet 6 years ago
Minh Doan 10c9acc8f6 fix error msg: composite literal uses unkeyed fields 6 years ago
Minh Doan b46bdaff40 merkle root data as a header of the block, include it into block hash calculation 6 years ago
Minh Doan c46424272c clean up redundant code 6 years ago
Minh Doan 33ef9a096b add more test 6 years ago
Minh Doan fbee5d821c fix the logic of merkle tree 6 years ago
Minh Doan f2aba09438 add test for merkle tree 6 years ago
Minh Doan 10624beaf2 add merkel tree data structure 6 years ago
Rongjian Lan e0c250561d Add collective sig message and broadcasting it after prepare phase of cosi 6 years ago
Minh Doan 67b371a440 add write to block 6 years ago
Rongjian Lan b7a7aa339c Add bitmap and signature for blocks; populate signature for block 6 years ago
Rongjian Lan 812df64b3b Add transaction signature; Add signing process; Integrate with Consensus and Verification process 6 years ago
Rongjian Lan 99c05a45fe Create signature for the generated transactions in benchmark 6 years ago
Rongjian Lan 13467d48fd Add sign utility func to Transaction.go 6 years ago
Rongjian Lan b046208abb Add dummy signature field in transaction 6 years ago
Rongjian Lan 8c167c1d14 Migrate address from string to [20]byte 6 years ago
Alok Kothari fb7db3d102 commiting changes before change directory 6 years ago
Richard Liu 7ad223816f update for github.com folder structure 6 years ago
Richard Liu 932852b674 rename 6 years ago
Richard Liu 6c5c207d4d update utxo types. 6 years ago
Richard Liu 2c297dedc6 fix build issue. 6 years ago
Richard Liu 5ad778781e fixed null outpoint issue; make outpoint.index uint32. 6 years ago
Richard Liu 09286bb82a add outpoint 6 years ago
Minh Doan 665a0b9a38 remove snapshot and replace by GetSizeInByteOfUtxoMap 6 years ago
Minh Doan f0fd5e6180 clean up work 6 years ago
Rongjian Lan 1f7e6e7ca7 Add more comments for client related codes 6 years ago
Rongjian Lan d9ff51d534 Remove some legacy lines and fix some comments for consensus and blocks 6 years ago
Rongjian Lan c3f65d4402 Fix utxopool udpate bug for invalid cross shard tx (finally the consensus is stable with 30% cross shard tx); reset consensus before retry 7 years ago
Rongjian Lan 0b4c365b2f Get snapshot of utxo when reporting to avoid concurrency issue; disable crossShard for now 7 years ago
Minh Doan 39b9a36feb replace block hash by transaction hash 7 years ago
Rongjian Lan 745755699e Fix cross shard tx bug; add utxo pool sync for client to keep up with the leaders 7 years ago
Rongjian Lan bb5518c852 Modify utxo update code to support cross tx unlock-to-abort 7 years ago
Rongjian Lan 44518d8c35 Add unlock to commit for cross shard tx 7 years ago
Rongjian Lan ff3270d197 Put crossShard tx proofs directly inside Transaction object 7 years ago
Rongjian Lan f291f6a0bc Fix cross tx proof bugs; now the unlock-to-commit/abort message finally reaches leaders 7 years ago
Rongjian Lan 399374592a Add logic to create cross shard Tx, and collect proofs in the tx generator 7 years ago
Rongjian Lan b5dcd76831 Add cross shard TX proof and the logic to keep them for proof-of-accept or proof-of-reject 7 years ago
Rongjian Lan 9baa7c8503 Add lock on UTXO pool operations; fix validator catch up logic 7 years ago
Rongjian Lan 9b5e6df9cb Add cross-shard transaction locking 7 years ago