Commit Graph

655 Commits

Author SHA1 Message Date
jzhe 89eef0fced test:add proof test 2021-01-26 14:59:36 +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
Alexader c75adafb2b
Merge pull request #320 from meshplus/fix/subscribe-nil-pier
fix(api): fix panic when subscribe pid is nil
2021-01-25 14:04:53 +08:00
dawn-to-dusk 2c7b983f6a
Merge pull request #319 from meshplus/feat/modify-certificate-validation-method
feat(*): modify the certificate validation method
2021-01-25 10:18:40 +08:00
Alexader 67ab607e88 fix(api): fix panic when subscribe pid is nil 2021-01-22 10:37:31 +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
liweixia 0785bb6f06 test: add vm test 2021-01-21 18:14:57 +08:00
jzhe cb59bacb0f
Merge pull request #309 from meshplus/feat/mempool-timeout
Feat/mempool tx timeout and rebroadcast for raft
2021-01-19 18:36: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
Aiden X 502ae955ac
Merge pull request #318 from meshplus/fix/subscribe-txwrapper
fix(api): fix wrong id when subscribe for interchain tx wrapper
2021-01-18 10:25:10 +08:00
Alexader 4af07cee6c fix(api): fix wrong id when subscribe for interchain tx wrapper 2021-01-17 15:16:56 +08:00
Lizen0512 ff0f832778
Merge pull request #317 from meshplus/batch-file
feat(go.mod): update the version of bitxhub-kit for batch file feature
2021-01-12 20:09:32 +08:00
Lizen0512 2d6fa68650 feat(go.mod): update the version of bitxhub-kit for batch file feature 2021-01-12 19:40:33 +08:00
Lizen0512 ca9be4a806
Merge pull request #315 from meshplus/fix-log-formatter
fix(log):update kit version to use new timestamp formatter
2021-01-12 14:58:02 +08:00
jzhe 32b919d08c fix(log):update kit version to use new timestamp formatter 2021-01-12 14:52:05 +08:00
jzhe 9f9610ab58
Merge pull request #314 from meshplus/fix-geneBlock
fix(mempool): fix skipped txs' ptr when generate block.
2021-01-12 14:46:37 +08:00
Lizen0512 d377460c06 fix(mempool): fix skipped txs' ptr when generate block. 2021-01-12 14:40:48 +08:00
jzhe 16cf3eb102
Merge pull request #313 from meshplus/feat/ha-module
feat: add ha module
2021-01-11 14:51:40 +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
Aiden X 798b9f8574
Merge pull request #304 from meshplus/raft-state-update
feat:add raft state update
2021-01-04 14:32:28 +08:00
jzhe 93d86402d7 feat:add raft state update 2021-01-04 14:18:57 +08:00
Sandy Zhou 65a421c770
Merge pull request #308 from meshplus/signature-perf
perf(*): add localList to mark the txs received from api to reduce the number of signature verifications.
2021-01-04 09:35:16 +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
Sandy Zhou 2985baf07c
Merge pull request #307 from meshplus/solo-peers
fix(solo): fix solo panic bug when call peers releated interface
2020-12-28 15:56:10 +08:00
Lizen0512 2b46f477f8 fix(solo): fix solo panic bug when call peers releated interface 2020-12-28 15:49:21 +08:00
levi9311 34c6c69e09
Merge pull request #301 from meshplus/fix/sendtx-cmd-nonce
fix(cmd): fix cmd client send tx with random nonce
2020-12-25 13:41:15 +08:00
jzhe 18e183f14a
Merge pull request #303 from meshplus/fix/empty-aei-id
fix(executor): check asset exchange id in asset_exchange.go
2020-12-23 14:11:31 +08:00
zhourong 1899e816b6 fix(executor): check asset exchange id in asset_exchange.go 2020-12-23 12:59:18 +08:00
Alexader 6250e76a90 fix(cmd): fix cmd client send tx with random nonce 2020-12-23 12:40:10 +08:00
jzhe 62366d6e95
Merge pull request #299 from meshplus/fix/nil-to-address
fix(api): fix invalid tx sig when tx to is nil
2020-12-23 11:14:27 +08:00
Alexader 9f702db5ed fix(api): fix invalid tx sig when tx to is nil 2020-12-23 10:40:40 +08:00
Sandy Zhou 625fca5795
Merge pull request #297 from meshplus/fix-swarm-connect
fix:fix swarm connect with less peers
2020-12-22 15:56:29 +08:00
jzhe c01553f351 fix:fix swarm connect with less peers 2020-12-22 15:33:35 +08:00
Aiden X d26cec7a9b
Merge pull request #294 from meshplus/fix/make-cluster
fix(scripts): fix make cluster command starting bitxhub cluster error
2020-12-22 00:18:10 +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 911fb8cbc0
Merge pull request #296 from meshplus/fix/abnormal-status
fix(coreapi): fix wrong chain status
2020-12-22 00:16:57 +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
Alexader 28996ffb2f fix(coreapi): fix wrong chain status 2020-12-21 22:10:10 +08:00
Lizen0512 c3ce3b582d refactor(*): 1: solo genetate a batch by timer; 2: refactor order.toml. 2020-12-21 19:42:20 +08:00
Alexader 229fd4f0e5 fix(scripts): fix make cluster command starting bitxhub cluster error 2020-12-21 17:03:42 +08:00
jzhe ba3963e8d0 feat:add state update 2020-12-21 16:25:23 +08:00
Alexader 45985a7b28
Merge pull request #288 from meshplus/fix/cmd-https-error
fix(cmd/client): fix cmd client is not working when https is enabled
2020-12-21 15:55:22 +08:00
Aiden X 1a4bf5f46a
Merge pull request #291 from meshplus/refactor-mempool
refactor(mempool): refactor mempool for raft
2020-12-21 15:46:09 +08:00