Commit Graph

78 Commits

Author SHA1 Message Date
Lizen0512 6c7a01d1e6 refactor(order): refactor order module transaction type 2020-10-21 22:19:40 +08:00
jzhe 5d4aa022b1 style(raft):modify log level in sending consensus message 2020-10-21 13:46:57 +08:00
treasersimplifies 65b922b57c fix(storage): dicard bitxhub storage package to use kit storage 2020-10-20 19:56:53 +08:00
Alexader 6813eef5eb feat(order): replace gogfast with gogofaster 2020-10-20 16:25:10 +08:00
Lizen0512 80454e00e6 feat(pprof): add runtime type for pprof 2020-10-13 21:40:31 +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 3b844ee7c7 fix(*): use category instead of type 2020-10-09 19:33:58 +08:00
Lizen 5a53cf1435 fix(mempool): fix two mempool bugs:
1. If some transactions are missing when calling the func constructSameBatch by a
   follower to construct the same block, avoid persistent this block;
2. Increase the chain height of follower after finishing getting the block from mempool;
2020-09-30 10:15:41 +08:00
jiangzhe 5ead8bad8a test(*):add network and consensus unit test 2020-09-29 15:20:13 +08:00
Lizen 24f56f3d78 add comments for mempool interface 2020-09-27 18:07:16 +08:00
Lizen b65c466294 delete GetPendingNonceByAccount implement in info.go file 2020-09-27 17:20:05 +08:00
Lizen d6c101e0a6 fix nil txPointer when delete transaction from mempool 2020-09-27 17:00:47 +08:00
Alexader 940f6857d0 fix(order): fix errors in node_test
1. logger in mempool and txCache passed by Order module instead of loggers
2. fix goroutine not return after receiving signal from close channel in mempool error
3. fix idSlice is not initialized with 0 length in GenerateRaftPeers function
2020-09-27 16:11:50 +08:00
Lizen 76e3690bf0 fix GetPendingNonceByAccount api which may be concurrent reading/writing 2020-09-27 16:10:16 +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
Lizen 9cdd54e5da format the mempool files 2020-09-27 16:09:38 +08:00
Lizen d156957976 feat(mempool): add mempool feature 2020-09-27 16:09:38 +08:00
Alexader bda3e60bb7
Merge pull request #169 from meshplus/feat/add-tps-statistics
feat(*): add api to get TPS
2020-09-22 20:20:23 +08:00
zhourong 112931d37c feat(*): add api to get TPS 2020-09-22 20:05:56 +08:00
jiangzhe 64a2b3fc46 fix(raft):fix raft peers unorder error in config 2020-09-21 19:56:04 +08:00
jiangzhe a89229fddd fix(proof_pool): fix verify ibtp pool panic 2020-09-18 11:19:46 +08:00
jiangzhe be3ef940fa refactor(*):refactor verify interchain tx 2020-09-18 11:19:46 +08:00
zhourong 850a1e6142 refactor(*): update crypto
1. use ecdsa secp256k1 for signature
2. use ecdsa p256 for node certificate
2020-08-13 19:48:49 +08:00
jiangzhe f30991d941 fix(order):fix pack when the number of block txs is full 2020-07-17 14:12:20 +08:00
zhourong 06869782ce refactor(*): deal with DB error in storage 2020-04-28 11:11:34 +08:00
jiangzhe 813a7322db refactor(order):extract order module to pkg module 2020-04-27 17:27:43 +08:00
jiangzhe fc6a894231 fix(bloom_filter): fix bloom filter caused panic 2020-04-09 20:02:53 +08:00
Aiden X d5b4071447 feat(*): init project 2020-03-30 00:11:21 +08:00