Commit Graph

82 Commits

Author SHA1 Message Date
zhourong bd0b04e63e test(executor): add more executor unit test 2020-10-12 14:57:49 +08:00
zhourong db52ca33a5 test(ledger): add more unit test 2020-09-29 19:29:14 +08:00
zhourong bb86b87137 fix(ledger): fix query issue 2020-09-29 15:33:51 +08:00
zhourong 4c113637a6 refactor(*): optimize performance 2020-09-29 15:33:51 +08:00
Alexader f43bb1c09a feat(order): add GetPendingNonceByAccount api
1. add GetPendingNonceByAccount api
2. revise getAccount method for ibtp receipt
2020-09-27 16:10:16 +08:00
Lizen d156957976 feat(mempool): add mempool feature 2020-09-27 16:09:38 +08:00
zhourong 112931d37c feat(*): add api to get TPS 2020-09-22 20:05:56 +08:00
zhourong 8b3665c610 refactor(*): some optimization
1. save block and transactions separately
2. execute block in pipeline
2020-09-18 19:46:25 +08:00
jiangzhe a89229fddd fix(proof_pool): fix verify ibtp pool panic 2020-09-18 11:19:46 +08:00
zhourong 871c2f530e refactor(ledger): support parallel op for get/set state 2020-09-18 11:19:46 +08:00
jiangzhe be3ef940fa refactor(*):refactor verify interchain tx 2020-09-18 11:19:46 +08:00
Aiden X c66691ea31 feat(api): add block header signs func 2020-08-26 16:22:10 +08:00
jiangzhe 4967ae38f4 feat(contract):verify union interchain transaction 2020-08-25 20:01:58 +08:00
jiangzhe 5c3c09e6b9 feat(contract):add handle ibtp from other relay chain in interchain contract 2020-08-24 14:41:13 +08:00
jiangzhe 7318b2c5cc feat(*):add union pier in router module 2020-08-24 14:21:01 +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
zhourong e4f5b05f67 feat(transaction):add method to get status 2020-07-30 23:29:17 +08:00
zhourong 41737ef232 feat(transaction): add asset exchange 2020-07-30 13:41:45 +08:00
dawn-to-dusk f87efbf898 fix(executor):fix the bug when registering rule with unexisted appchain 2020-07-29 14:43:58 +08:00
Alexader 079d1ec32a refactor(api): refactor readonly tx api return type
refactor readonly tx api return type from pb.Response to pb.Receipt
2020-07-24 15:08:34 +08:00
dawn-to-dusk a2aa6d6c51 perf(app):add log output about ulimit
Add a log which will output the value of ulimit.
2020-07-22 11:08:42 +08:00
dawn-to-dusk 1c337c017d perf(app):raise ulimit
maximize the file descriptor allowance of the process to the maximum hard-limit allowed by the OS
2020-07-21 14:45:42 +08:00
zhourong e7b8d8b17c feat(transaction): add transaction management 2020-07-17 19:26:21 +08:00
Alexader 62314ec280 refactor(*): ledger is not restricted as readonly
readonly tx is only distinguashed by api of executor
the ledger under it will be the same instance of Ledger
2020-07-16 17:33:34 +08:00
Alexader 7f6da37901 fix(ledger): new view ledger instance err
1. move the ledger db initialization part out of Ledger constrcutor
2. revise unit test and tester
2020-07-15 10:55:03 +08:00
Alexader 447f699bf9 feat(*): add readonly transaction api and core implementation
1. add readonly flag in Ledger constructor and add control to Ledger's
functions concerned about writing to ledger
2. refactor error handling in test files
3. add a readolny executor for readonly tx
2020-07-13 20:40:10 +08:00
zhourong 9c784ad216 fix(executor): add normalTxs initialization 2020-07-09 16:26:13 +08:00
Aiden X 28513ae460
Merge pull request #100 from meshplus/feat/network-new-config
feat(network): modify bitxhub network.toml config struct
2020-07-03 14:16:45 +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
Aiden X 62d66f2922
Merge pull request #94 from meshplus/fix/router-counter
fix(*): make InterchainRouter's count routine safe
2020-07-02 13:21:08 +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
Aiden X bedbc5be35
Merge pull request #96 from meshplus/fix/ledger-cache
fix(ledger): fix ledger query issue
2020-06-21 22:34:02 +08:00
zhourong b8b83b8327 fix(ledger): fix ledger query issue 2020-06-19 14:52:05 +08:00
zhourong 398f44f407 fix(*): make InterchainRouter'count routine safe 2020-06-12 14:51:53 +08:00
Aiden X b1e58078c5
Merge pull request #91 from meshplus/refactor/move-interchain-counter
refactor(*): move interchain counter from block header to interchain …
2020-06-10 10:19:29 +08:00
zhourong 3a48326d24 refactor(*): move interchain counter from block header to interchain meta 2020-06-08 15:21:39 +08:00
treasersimplifies 57df04f137 fix(solo): disable p2p when start bitxhub in solo mode 2020-06-08 14:32:34 +08:00
Aiden X 60e3ea3909
Merge pull request #86 from jsrzx/master
修正错误的make目标
2020-05-29 09:16:21 +08:00
jasonruan 9813d859e3 修正错误的make目标 2020-05-28 12:27:07 +08:00
zhourong c6e48f257d feat(*): construct interchain txs merkle tree 2020-05-28 10:55:09 +08:00
zhourong 9f07926d1d test(executor): fix occasional test hang 2020-05-26 10:41:46 +08:00
zhourong 73a6820e9b refactor(config): read genesis config from genesis.json 2020-05-22 14:40:44 +08:00
jiangzhe 1e47675fd1 feat(monitor):add monitor point 2020-05-21 19:08:53 +08:00
jiangzhe 4fc2202c7d feat(*):add prometheus monitor 2020-05-15 19:39:01 +08:00
jiangzhe bc681ea6fa feat(*):add query interchain 2020-05-12 19:39:08 +08:00
zhourong 8d71fd392f refactor(*): separate data persistence from block execution 2020-05-08 11:09:13 +08:00
jiangzhe b139e29a17 refactor(contracts): remove appchain manager
1. remove appchain contract to bitxhub-core project.
2. extract IBTP contract from appchain.
2020-05-07 14:54:01 +08:00
Aiden X 94b7d5a8d3 refactor(tester): rm gosdk and use core api 2020-04-29 19:10:25 +08:00
Aiden X 381798c319
Merge pull request #61 from meshplus/ledger
refactor(ledger): add interface to remove journal
2020-04-29 16:40:02 +08:00
levi9311 3609a9fc1c feat: add get public key
Add get public key in interchain.
2020-04-29 15:57:55 +08:00