Commit Graph

33 Commits

Author SHA1 Message Date
Aiden X d530d72802 feat: add marshal pb for hash 2020-11-20 16:02:08 +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
Alexader 6faa2029fc feat(grpc): enable tls support for grpc connection 2020-10-16 16:03:29 +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 4c113637a6 refactor(*): optimize performance 2020-09-29 15:33:51 +08:00
Lizen b65c466294 delete GetPendingNonceByAccount implement in info.go file 2020-09-27 17:20:05 +08:00
Alexader f43bb1c09a feat(order): add GetPendingNonceByAccount api
1. add GetPendingNonceByAccount api
2. revise getAccount method for ibtp receipt
2020-09-27 16:10:16 +08:00
zhourong 6aeb683007 refactor(*): update bitxhub-model package 2020-09-27 14:00:07 +08:00
zhourong 112931d37c feat(*): add api to get TPS 2020-09-22 20:05:56 +08:00
jiangzhe 7318b2c5cc feat(*):add union pier in router module 2020-08-24 14:21:01 +08:00
zhourong c3a51a1fcc refactor(transaction): update return type of GetAssetExchangeSigns 2020-07-31 11:10:51 +08:00
zhourong e4f5b05f67 feat(transaction):add method to get status 2020-07-30 23:29:17 +08:00
zhourong 41737ef232 feat(transaction): add asset exchange 2020-07-30 13:41:45 +08:00
treasersimplifies cbd2eb7bba fix(account): fix get invalid account balance not return error 2020-07-29 20:02:18 +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
zhourong e7b8d8b17c feat(transaction): add transaction management 2020-07-17 19:26:21 +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
zhourong 3a48326d24 refactor(*): move interchain counter from block header to interchain meta 2020-06-08 15:21:39 +08:00
zhourong 73a6820e9b refactor(config): read genesis config from genesis.json 2020-05-22 14:40:44 +08:00
jiangzhe 1e47675fd1 feat(monitor):add monitor point 2020-05-21 19:08:53 +08:00
Alexader 574f90cc3a feat(api): add default tx wrapper for return
1. add default tx wrapper for return when a block contains no interchan tx
2. close channel when GetInterchainWrapper and GetBlockHeader finish
2020-04-28 19:09:43 +08:00
Alexader 3ae115af8f feat(*): split merkleWrapper into header and txWrapper
change grpc api SyncMerkleWrapper into GetInterchainTxWrapper and
GetBlockHeader
2020-04-27 11:23:36 +08:00
zhourong 86f946d2d4 refactor(ledger): use KV instead of tree 2020-04-26 20:49:28 +08:00
jiangzhe 2c561b9864 fix(grpc): fix getblocks func 2020-04-22 16:55:59 +08:00
jiangzhe 4fd3c655e7 feat(client): add validators command 2020-04-14 19:38:52 +08:00
Aiden X d5b4071447 feat(*): init project 2020-03-30 00:11:21 +08:00