Commit Graph

51 Commits

Author SHA1 Message Date
zhourong 6f4581c2f0 fix(API): check account address in getting pending nonce 2021-04-25 14:45:48 +08:00
dawn-to-dusk 0765965e0c feat(cmd): add governance cmd 2021-03-19 14:33:27 +08:00
dawn-to-dusk 2902f16647 feat(*): add governance module
1.Add governance built-in contract;
2.Add governance related tests.
2021-03-19 09:41:19 +08:00
jzhe 8a170a4a36 feat(ratelimit):add rate limit in grpc 2021-03-02 15:33:07 +08:00
Alexader 67ab607e88 fix(api): fix panic when subscribe pid is nil 2021-01-22 10:37:31 +08:00
Alexader 4af07cee6c fix(api): fix wrong id when subscribe for interchain tx wrapper 2021-01-17 15:16:56 +08:00
liweixia eea25c305b feat: add ha module 2021-01-07 15:36:20 +08:00
Alexader 9f702db5ed fix(api): fix invalid tx sig when tx to is nil 2020-12-23 10:40:40 +08:00
jzhe ba3963e8d0 feat:add state update 2020-12-21 16:25:23 +08:00
Sandy Zhou 92666dd4a2
Merge pull request #290 from meshplus/fix/return-getmultisigns-error
fix(api/grpc): return the error for GetMultiSigns
2020-12-18 16:34:42 +08:00
Lizen0512 918605170b fix(test): refactor certs of unit tests 2020-12-18 14:45:47 +08:00
Lizen0512 e8521998ff refactor(*): refactor network config 2020-12-18 14:30:40 +08:00
Lizen0512 131b086563 feat(*): add delete vp node feature 2020-12-18 14:30:40 +08:00
dawn-to-dusk 4acd6f2dbb fix(api/grpc): return the error for GetMultiSigns 2020-12-17 21:09:37 +08:00
zhourong af93ad5a74 refactor(executor): rename NewBlockEvent to ExecutedEvent and add TxHashList 2020-12-17 18:50:06 +08:00
dawn-to-dusk 93b7c51523 feat(api,internal): add delete vp node interface 2020-12-10 11:19:09 +08:00
Lizen0512 13a933ff61 factor(*): return consensus status when vp node is un-ready 2020-12-01 21:46:16 +08:00
Aiden X d530d72802 feat: add marshal pb for hash 2020-11-20 16:02:08 +08:00
Alexader cd48404394 fix(api): fix bad gateway when tls is enabled
replace new format of pem file and set tls enabled by default
2020-11-17 15:35:35 +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