Commit Graph

121 Commits

Author SHA1 Message Date
Alexader 1c98689f2d fix(mempool): old ttl key not released in txLiveTimeMap bug 2021-01-19 18:31:09 +08:00
Alexader 2aed7f6ecd refactor(mempool): refactor code according to comments 2021-01-18 20:17:04 +08:00
Alexader f328d1d6a1 fix(order): add rebroadcast timeout non-zero check 2021-01-18 10:26:06 +08:00
Alexader abd840d487 feat(order): add ttl index and local indicator for mempool tx
1. add ttl index to track txs need to be rebroadcast
2. add local indicator for each tx in mempool to judge if this tx is from api module
2021-01-18 10:26:06 +08:00
Alexader 6b52259ad3 feat(order): add timeout rebroadcast mechanism in mempool 2021-01-18 10:26:06 +08:00
Lizen0512 d377460c06 fix(mempool): fix skipped txs' ptr when generate block. 2021-01-12 14:40:48 +08:00
liweixia eea25c305b feat: add ha module 2021-01-07 15:36:20 +08:00
Aiden X 9f8949be00
Merge pull request #311 from meshplus/fix-ping
fix(swarm):fix the bug of oom caused by the continuous increase of go…
2021-01-05 15:08:48 +08:00
jzhe 521fadba05 fix(swarm):fix the bug of oom caused by the continuous increase of goroutine 2021-01-05 14:11:55 +08:00
jzhe 93d86402d7 feat:add raft state update 2021-01-04 14:18:57 +08:00
Lizen0512 2d3e749dff perf(*): add localList to mark the txs received from api to reduce the number of signature verifications 2020-12-30 21:45:30 +08:00
Lizen0512 2b46f477f8 fix(solo): fix solo panic bug when call peers releated interface 2020-12-28 15:49:21 +08:00
jzhe c01553f351 fix:fix swarm connect with less peers 2020-12-22 15:33:35 +08:00
Aiden X e5c43dae32
Merge pull request #295 from meshplus/solo-batch-timeout
refactor(*): 1: solo genetate a batch by timer; 2: refactor order.toml.
2020-12-22 00:17:34 +08:00
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
Lizen0512 c3ce3b582d refactor(*): 1: solo genetate a batch by timer; 2: refactor order.toml. 2020-12-21 19:42:20 +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
Sandy Zhou 92666dd4a2
Merge pull request #290 from meshplus/fix/return-getmultisigns-error
fix(api/grpc): return the error for GetMultiSigns
2020-12-18 16:34:42 +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
dawn-to-dusk 4acd6f2dbb fix(api/grpc): return the error for GetMultiSigns 2020-12-17 21:09:37 +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
jzhe a265db69a4 feat(p2p):add notify in p2p 2020-12-03 12:51:29 +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
liweixia 9bac16d161 refactor: move blockfile to kit lib 2020-11-27 02:25:09 +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 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
dawn-to-dusk 12b13c937a feat(pkg): add mock_peermgr to avoid exception 2020-11-23 19:51:43 +08:00
Alexader cd052a817e
Merge pull request #253 from meshplus/feat/solo-mempool
feat(solo): add mempool for solo plugin
2020-11-20 17:13:19 +08:00
jzhe 4fb6e39eb6 fix(api):fix GetMultiSigns by using solo mode 2020-11-20 16:37:47 +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
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