Commit Graph

14 Commits

Author SHA1 Message Date
Lizen0512 13a933ff61 factor(*): return consensus status when vp node is un-ready 2020-12-01 21:46:16 +08:00
Alexader e8e5427083 chore(grcp): remove transfer amount can't be 0 limit 2020-10-27 17:29:18 +08:00
Alexader 169e678d31 fix(*): fix nil Hash for quering tx, receipt and block 2020-10-23 16:03:29 +08:00
zhourong 6cea4216ff refactor(*): update tx/hash/address 2020-10-22 13:49:05 +08:00
Aiden X e7244829c4 build: use NewHash and NewAddress 2020-10-21 23:46:21 +08:00
Aiden X cb74880701 build: update core, kit and model in tester 2020-10-21 19:26:41 +08:00
Aiden X 4d44237349 api: using latest tx structure 2020-10-21 16:00:54 +08:00
Lizen0512 41141593db feat(mempool): add comments and unit tests for mempool, and verify the signature in api module instead of mempool. 2020-10-13 12:37:13 +08:00
zhourong 112931d37c feat(*): add api to get TPS 2020-09-22 20:05:56 +08:00
Alexader 079d1ec32a refactor(api): refactor readonly tx api return type
refactor readonly tx api return type from pb.Response to pb.Receipt
2020-07-24 15:08:34 +08:00
Alexader 62314ec280 refactor(*): ledger is not restricted as readonly
readonly tx is only distinguashed by api of executor
the ledger under it will be the same instance of Ledger
2020-07-16 17:33:34 +08:00
Alexader 7f6da37901 fix(ledger): new view ledger instance err
1. move the ledger db initialization part out of Ledger constrcutor
2. revise unit test and tester
2020-07-15 10:55:03 +08:00
Alexader 447f699bf9 feat(*): add readonly transaction api and core implementation
1. add readonly flag in Ledger constructor and add control to Ledger's
functions concerned about writing to ledger
2. refactor error handling in test files
3. add a readolny executor for readonly tx
2020-07-13 20:40:10 +08:00
Aiden X d5b4071447 feat(*): init project 2020-03-30 00:11:21 +08:00