Commit Graph

55 Commits

Author SHA1 Message Date
Aiden X 0aa38647a5
Merge pull request #293 from meshplus/state-update
feat:add state update
2020-12-22 00:07:34 +08:00
jzhe 52bc503b5e test:add syncer test 2020-12-21 22:31:17 +08:00
jzhe ba3963e8d0 feat:add state update 2020-12-21 16:25:23 +08:00
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
Sandy Zhou d7a4667998
Merge pull request #250 from meshplus/fix/fix-bugs
Fix/fix bugs
2020-11-24 16:52:24 +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
Alexader 05f184d112 feat(solo): add mempool for solo plugin
1. add mempool module to solo plugin and its unit test
2. add solo related starting scripts and config files
2020-11-19 11:03:17 +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
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
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
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