Commit Graph

41 Commits

Author SHA1 Message Date
dawn-to-dusk 2902f16647 feat(*): add governance module
1.Add governance built-in contract;
2.Add governance related tests.
2021-03-19 09:41:19 +08:00
jzhe 8a170a4a36 feat(ratelimit):add rate limit in grpc 2021-03-02 15:33:07 +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 2aed7f6ecd refactor(mempool): refactor code according to comments 2021-01-18 20:17:04 +08:00
Alexader 6b52259ad3 feat(order): add timeout rebroadcast mechanism in mempool 2021-01-18 10:26:06 +08:00
jzhe 93d86402d7 feat:add raft state update 2021-01-04 14:18:57 +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
Lizen0512 c3ce3b582d refactor(*): 1: solo genetate a batch by timer; 2: refactor order.toml. 2020-12-21 19:42:20 +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
Lizen0512 6d7b842f42 refactor(mempool): refactor mempool for raft 2020-12-21 15:40:27 +08:00
Alexader 15d1a16f66 fix(client): rebase with master 2020-12-21 15:39:11 +08:00
Alexader a189df6b5a fix(cmd/client): fix cmd client is not working when https is enabled 2020-12-21 15:25:06 +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 7ab92d6f2b feat(*): add vp node feature 2020-12-18 14:30:40 +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
Lizen0512 ef5b9e7792 refactor(*): refactor mempool for rbft-1.4 2020-12-01 21:48:23 +08:00
Lizen0512 13a933ff61 factor(*): return consensus status when vp node is un-ready 2020-12-01 21:46:16 +08:00
jzhe f07ca2841d fix(*): update interchain contract 2020-11-18 10:36:12 +08:00
Alexader cd48404394 fix(api): fix bad gateway when tls is enabled
replace new format of pem file and set tls enabled by default
2020-11-17 15:35:35 +08:00
jzhe 68a7fca45d feat(p2p):add ping function 2020-11-05 11:04:53 +08:00
Lizen0512 9b3d232a00 feat(config): add rbft config into order.toml 2020-10-30 13:40:21 +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
jzhe d843668620 feat(raft):add tick timeout in raft config 2020-10-23 10:53:39 +08:00
Alexader 6faa2029fc feat(grpc): enable tls support for grpc connection 2020-10-16 16:03:29 +08:00
zhourong f5c3a39126 refactor(executor): module split 2020-10-16 11:28:22 +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
Lizen 76e3690bf0 fix GetPendingNonceByAccount api which may be concurrent reading/writing 2020-09-27 16:10:16 +08:00
Lizen d156957976 feat(mempool): add mempool feature 2020-09-27 16:09:38 +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
treasersimplifies 012a5925ae feat(network): rm support for old toml and transform network.toml to pure 2d array 2020-07-02 19:05:09 +08:00
treasersimplifies d698787002 feat(network): modify bitxhub network.toml config struct but compatible with old toml 2020-06-29 20:01:37 +08:00
zhourong 73a6820e9b refactor(config): read genesis config from genesis.json 2020-05-22 14:40:44 +08:00
jiangzhe 4fc2202c7d feat(*):add prometheus monitor 2020-05-15 19:39:01 +08:00
jiangzhe 96ba5e0d90 fix(raft): fix raft consensus error
1. add the maximum transaction size to the tx pool.
2. leader election results in repeated ack transactions.
2020-04-09 20:19:27 +08:00
Aiden X 91fccf8380 script(*): add config.sh 2020-03-30 16:34:30 +08:00
Aiden X d5b4071447 feat(*): init project 2020-03-30 00:11:21 +08:00