Commit Graph

19 Commits

Author SHA1 Message Date
zhourong 52e758e5dc refactor(*): update Hash/Address related code in executor and ledger 2020-10-21 19:39:06 +08:00
treasersimplifies 65b922b57c fix(storage): dicard bitxhub storage package to use kit storage 2020-10-20 19:56:53 +08:00
zhourong f5c3a39126 refactor(executor): module split 2020-10-16 11:28:22 +08:00
zhourong bd0b04e63e test(executor): add more executor unit test 2020-10-12 14:57:49 +08:00
zhourong 4c113637a6 refactor(*): optimize performance 2020-09-29 15:33:51 +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
Aiden X c66691ea31 feat(api): add block header signs func 2020-08-26 16:22:10 +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
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 3a48326d24 refactor(*): move interchain counter from block header to interchain meta 2020-06-08 15:21:39 +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 8d71fd392f refactor(*): separate data persistence from block execution 2020-05-08 11:09:13 +08:00
zhourong 86f946d2d4 refactor(ledger): use KV instead of tree 2020-04-26 20:49:28 +08:00
Aiden X b4b07b3f25 docs(README.md): add wechat 2020-03-30 19:14:45 +08:00
Aiden X d5b4071447 feat(*): init project 2020-03-30 00:11:21 +08:00