Commit Graph

83 Commits

Author SHA1 Message Date
jzhe 32570f1ceb fix(network): disconnect peers if verify cert failed 2020-11-24 14:14:54 +08:00
jzhe 2efdd35e4a fix(*):fix justElected flag 2020-11-24 14:04:07 +08:00
jzhe 17b65d8a27 fix(*):fix new leader changed 2020-11-18 10:37:26 +08:00
jzhe 7569fa80f8 fix(test):fix multi raft node test 2020-11-05 11:33:48 +08:00
jzhe 68a7fca45d feat(p2p):add ping function 2020-11-05 11:04:53 +08:00
zhourong 108b2e8ea8 refactor(*): add executor logger to serial executor 2020-10-27 13:55:57 +08:00
Lizen0512 1eeb6bf8b7 feat(mempool): mempool adaptation rbft consensus 2020-10-27 13:24:35 +08:00
Aiden X 57f824ebf1
Merge pull request #221 from meshplus/feat/add-blockfile
feat: add block file
2020-10-27 10:57:01 +08:00
liweixia 6c1f7b4ef5 feat: add block file 2020-10-26 21:20:58 +08:00
Sandy Zhou 6f6d21fb01
Merge pull request #216 from meshplus/feat/tick-timeout-in-raft
feat(raft):add tick timeout in raft config
2020-10-26 17:25:43 +08:00
zhourong 9b67423590 refactor(*): optimize interchain tx execution 2020-10-23 18:48:53 +08:00
zhourong 51b5cc7d24 refactor(*): add contract register support 2020-10-23 17:11:24 +08:00
Alexader fe97c92905 fix(solo): fix getPendingNonce return 0 nonce error 2020-10-23 16:49:42 +08:00
jzhe d843668620 feat(raft):add tick timeout in raft config 2020-10-23 10:53:39 +08:00
jzhe f379d08167
Merge pull request #212 from meshplus/style/update-send-msg-log-level
style(raft):modify log level in sending consensus message
2020-10-23 10:40:40 +08:00
zhourong c043db63e2 fix(*): fix integration test and contract address creation issue 2020-10-22 21:52:52 +08:00
Lizen0512 a138baa674 fix(executor): get IBTP directly instead of unmarshal 2020-10-22 20:19:59 +08:00
Lizen0512 af89883ec8 fix(order): fix unit test for order module 2020-10-22 20:19:47 +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
Lizen0512 6c7a01d1e6 refactor(order): refactor order module transaction type 2020-10-21 22:19:40 +08:00
Aiden X cb74880701 build: update core, kit and model in tester 2020-10-21 19:26:41 +08:00
Aiden X 3a090da50a build: update core, kit and model 2020-10-21 14:06:58 +08:00
jzhe 5d4aa022b1 style(raft):modify log level in sending consensus message 2020-10-21 13:46:57 +08:00
Treaser(Song) Lou bd0a38d96e
Merge branch 'master' into fix/storage 2020-10-20 20:29:20 +08:00
jzhe a31b66c1b3
Merge pull request #207 from meshplus/refactor/com-mod-version-support
refactor(mod): support module version switch for commercial bitxhub
2020-10-20 20:26:06 +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
zhourong 2606f0e187 refactor(mod): support module version switch for commercial bitxhub 2020-10-20 10:35:12 +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 30494e56dd fix(proof): fix not remove proof 2020-10-15 20:29:46 +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
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
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
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
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 4c113637a6 refactor(*): optimize performance 2020-09-29 15:33:51 +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