Commit Graph

147 Commits

Author SHA1 Message Date
dawn-to-dusk e3608a9949 test(router): add test for interchain 2021-02-03 18:14:54 +08:00
Aiden X 8d7dd33e4c
Merge pull request #327 from meshplus/test/contracts
Test/contracts
2021-01-27 16:43:41 +08:00
Alexader 211fca0a43 test(contracts): add test for interchain menager 2021-01-27 16:25:07 +08:00
Alexader 884e02ec17 test(contracts): add test for contracts 2021-01-26 19:07:43 +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
liweixia eea25c305b feat: add ha module 2021-01-07 15:36:20 +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
zhourong 1899e816b6 fix(executor): check asset exchange id in asset_exchange.go 2020-12-23 12:59:18 +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
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
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
dawn-to-dusk f52360867c fix(internal,tester): add the judgment of whether transactionhash is null
1. Add the judgment of whether transactionhash is null.
2020-12-18 18:50:44 +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
zhourong af93ad5a74 refactor(executor): rename NewBlockEvent to ExecutedEvent and add TxHashList 2020-12-17 18:50:06 +08:00
jzhe 00c38a417d test(tester):update network.toml in cluster nodes 2020-12-14 19:18:46 +08:00
jzhe 4c9c5cbe56 refactor:revert network config 2020-12-14 19:18:46 +08:00
jzhe 76bbf9a4b4
Merge pull request #279 from meshplus/feat/add-delvpnode
feat(api,internal): add delete vp node interface
2020-12-10 13:35:38 +08:00
dawn-to-dusk 93b7c51523 feat(api,internal): add delete vp node interface 2020-12-10 11:19:09 +08:00
zhourong 1b2723dae0 fix(makefile): support TAGS in building order plugin 2020-12-08 16:32:57 +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
Aiden X cf4bc32759
Merge pull request #264 from meshplus/fix/fix-tps-param-type
fix(API): fix block number overflow issue
2020-11-25 19:10:50 +08:00
Aiden X 03fed65ff5
Merge pull request #263 from meshplus/fix/fix-for-bug
fix(executor): fix l2root pointer acquisition in for cycle
2020-11-25 19:09:43 +08:00
zhourong c705bb0da2 fix(API): fix block number overflow issue 2020-11-24 19:21:22 +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
dawn-to-dusk c05f37d1ad fix(internal): fix a bug in unit test
Change the content of the unit test in config_test.go, because the node startup default IP has been changed to 0.0.0.0 in the loadNetworkConfig function
2020-11-23 20:28:58 +08:00
zhourong 26f23b8710 fix(executor): fix l2root pointer acquisition in for cycle 2020-11-23 19:59:37 +08:00
Sandy Zhou 1b1eacc27b
Merge pull request #260 from meshplus/feat/change-node-start-ip
feat(internal/repo): set the default IP for node startup to 0.0.0.0
2020-11-23 19:35:39 +08:00
dawn-to-dusk 734101d219 feat(internal/repo): set the default IP for node startup to 0.0.0.0 2020-11-23 17:37:59 +08:00
zhourong 467228f7bc refactor(executor): adjust log level 2020-11-23 14:19:52 +08:00
jzhe f07ca2841d fix(*): update interchain contract 2020-11-18 10:36:12 +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
liweixia 6c1f7b4ef5 feat: add block file 2020-10-26 21:20:58 +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
Alexader 169e678d31 fix(*): fix nil Hash for quering tx, receipt and block 2020-10-23 16:03:29 +08:00
zhourong 6cea4216ff refactor(*): update tx/hash/address 2020-10-22 13:49:05 +08:00
Aiden X e7244829c4 build: use NewHash and NewAddress 2020-10-21 23:46:21 +08:00