Commit Graph

291 Commits

Author SHA1 Message Date
zhourong 6ef7e5afbd refactor(Makefile): add build tags 2020-10-16 14:58:26 +08:00
Alexader b3cbfef160
Merge pull request #200 from meshplus/feat/multi-module-support
refactor(executor): support multi-version of executor
2020-10-16 14:24:34 +08:00
zhourong f5c3a39126 refactor(executor): module split 2020-10-16 11:28:22 +08:00
jzhe d4ab5d3f99
Merge pull request #199 from meshplus/fix/fix-remove-proof
fix(proof): fix not remove proof
2020-10-16 10:17:04 +08:00
jzhe 30494e56dd fix(proof): fix not remove proof 2020-10-15 20:29:46 +08:00
jzhe 7fd969696d
Merge pull request #198 from meshplus/post-event-after-persist
refactor(executor): post block event after block is persisted
2020-10-15 14:16:49 +08:00
zhourong 4be06f3276 refactor(executor): post block event after block is persisted 2020-10-14 17:24:47 +08:00
Alexader 9a6019d57e
Merge pull request #197 from meshplus/pprof-perf
feat(pprof): add runtime type for pprof
2020-10-14 14:13:14 +08:00
Lizen0512 80454e00e6 feat(pprof): add runtime type for pprof 2020-10-13 21:40:31 +08:00
Sandy Zhou b15900f250
Merge pull request #195 from meshplus/mempool-test
feat(mempool): add comments and unit tests for mempool, and verify the signature in api module instead of mempool.
2020-10-13 13:24:20 +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
Aiden X eb8baa149a
Merge pull request #194 from meshplus/ci/update-workflows
ci: update codecov
2020-10-13 11:04:51 +08:00
Aiden X 8024d16905 ci: update codecov 2020-10-13 10:53:06 +08:00
jzhe bd2705acc7
Merge pull request #190 from meshplus/test/add-executor-test
test(executor): add more executor unit test
2020-10-13 10:34:55 +08:00
jzhe 93b6dab000
Merge pull request #191 from meshplus/test/storage
test: add storage unit test
2020-10-12 21:00:04 +08:00
Aiden X 947a57cc30 test: add storage unit test 2020-10-12 20:31:05 +08:00
zhourong bd0b04e63e test(executor): add more executor unit test 2020-10-12 14:57:49 +08:00
Treaser(Song) Lou a6a62f47e2
Merge pull request #185 from meshplus/fix/use-category-instead-of-type
fix(*): use category instead of type
2020-10-09 20:03:27 +08:00
zhourong 3b844ee7c7 fix(*): use category instead of type 2020-10-09 19:33:58 +08:00
Alexader ff7e0b0206
Merge pull request #179 from meshplus/feat/add-ledger-test
test(ledger): add more ledger test
2020-09-30 11:21:42 +08:00
Sandy Zhou e400af4add
Merge pull request #180 from meshplus/fix-mempool
fix(mempool): fix two bugs:
2020-09-30 10:44:23 +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
zhourong db52ca33a5 test(ledger): add more unit test 2020-09-29 19:29:14 +08:00
zhourong ff48dba42c fix(test): update test 2020-09-29 15:47:28 +08:00
zhourong bb86b87137 fix(ledger): fix query issue 2020-09-29 15:33:51 +08:00
zhourong 4c113637a6 refactor(*): optimize performance 2020-09-29 15:33:51 +08:00
jzhe 8b4b168ce1
Merge pull request #176 from meshplus/test/add-network-and-consensus-test
test(*):add network and consensus unit test
2020-09-29 15:28:50 +08:00
jiangzhe 5ead8bad8a test(*):add network and consensus unit test 2020-09-29 15:20:13 +08:00
Sandy Zhou 7f31e01cfe
Merge pull request #177 from meshplus/test/tester-cases
test(tester): fix wrong tx nonce problems in tester cases
2020-09-29 15:11:14 +08:00
Alexader 49226b9334 test(tester): fix wrong tx nonce problems in tester cases 2020-09-29 15:01:30 +08:00
Aiden X fd62c11fff
Merge pull request #175 from meshplus/mempool
feat(mempoo): add mempool feature
2020-09-27 18:24:02 +08:00
Lizen 323b852a8a Merge branch 'mempool' of github.com:meshplus/bitxhub into mempool 2020-09-27 18:07:26 +08:00
Lizen 24f56f3d78 add comments for mempool interface 2020-09-27 18:07:16 +08:00
Lizen acc7fbbaa7 add comments for mempool interface 2020-09-27 17:25:33 +08:00
Lizen e8baf7d93c Merge branch 'mempool' of github.com:meshplus/bitxhub into mempool 2020-09-27 17:20:17 +08:00
Lizen b65c466294 delete GetPendingNonceByAccount implement in info.go file 2020-09-27 17:20:05 +08:00
Lizen 6977eb5c16 delete GetPendingNonceByAccount implement in info.go file 2020-09-27 17:03:17 +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
jzhe a5d4752606
Merge pull request #173 from meshplus/refactor/update-tx-hash-computation
refactor(*): update bitxhub-model package
2020-09-27 15:02:48 +08:00
zhourong 6aeb683007 refactor(*): update bitxhub-model package 2020-09-27 14:00:07 +08:00
jzhe 09b925eef3
Merge pull request #170 from meshplus/refactor/add-more-log
refactor(*): add more log to proof verification
2020-09-24 16:43:41 +08:00
zhourong b0466cd993 refactor(*): add more log to proof verification 2020-09-24 16:35:33 +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
jzhe 47c127511c
Merge pull request #168 from meshplus/fix/fix-raft-peers-unorder-error
fix(raft):fix raft peers unorder error in config
2020-09-21 23:11:08 +08:00