zhourong
fcb7529e70
refactor(mempool): use account nonce to sort transactions
2021-04-09 18:47:00 +08:00
Alexader
df6d5b99a3
fix(mempool): remove pending nonce persist
2021-02-24 11:02:16 +08:00
Alexader
1ee6b7068e
feat(*): remove error panic and storage in mem pool
...
1. add error when new mempool
2. remove storage instance usage from mempool into nonceCache
2021-02-23 00:55:04 +08:00
Alexader
ddcddfad80
feat(mempool): add nonce cache to persist storage
2021-02-23 00:38:24 +08:00
jzhe
38f979462c
test(peermgr):add stop after swarm finish the test
2021-02-07 16:39:18 +08:00
jzhe
253b4e57ea
chore(ci):update node test
2021-02-07 15:40:40 +08:00
jzhe
190143c687
Merge pull request #332 from meshplus/unit-test
...
test(etcdraft): add unit test for etcdraft package
2021-02-05 10:50:23 +08:00
jzhe
c7bf6388a1
test(syncer):modify syncer tests
2021-02-04 17:10:46 +08:00
Lizen0512
8f361682ce
test(etcdraft): add unit test for etcdraft package
2021-02-04 15:32:19 +08:00
dawn-to-dusk
09617a14d3
feat(*): add certificate validation configuration
...
1.Add certificate validation configuration in bitxhub.toml, so we can decide whether or not to enable certificate authentication based on the configuration file.
2021-01-25 19:43:32 +08:00
dawn-to-dusk
9d03878c82
feat(*): modify the certificate validation method
...
1.Delete the certificate validation procedure after connect;
2.Select transport based on go-libp2p-cert when creating libp2p;
3.Delete the certificate related methods because they have been moved to the go-libp2p-cert.
2021-01-22 10:25:53 +08:00
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
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
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