Commit Graph

39 Commits

Author SHA1 Message Date
Lizen0512 6d7b842f42 refactor(mempool): refactor mempool for raft 2020-12-21 15:40:27 +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
Lizen0512 7ab92d6f2b feat(*): add vp node feature 2020-12-18 14:30:40 +08:00
Lizen0512 3212c66f60 fix(raft): fix BC-1333, the leader node cannot be selected 2020-12-16 15:01:15 +08:00
jzhe 00c38a417d test(tester):update network.toml in cluster nodes 2020-12-14 19:18:46 +08:00
Lizen0512 ef5b9e7792 refactor(*): refactor mempool for rbft-1.4 2020-12-01 21:48:23 +08:00
Lizen0512 483cff57ae fix(certs): re-order certs files by its address order 2020-12-01 21:46:16 +08:00
Lizen0512 13a933ff61 factor(*): return consensus status when vp node is un-ready 2020-12-01 21:46:16 +08:00
jzhe 8d9f7a2180 fix(node): add isRestart flag 2020-11-24 15:26:14 +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
Lizen0512 1eeb6bf8b7 feat(mempool): mempool adaptation rbft consensus 2020-10-27 13:24:35 +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
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
Lizen0512 af89883ec8 fix(order): fix unit test for order module 2020-10-22 20:19:47 +08:00
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
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
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