Commit Graph

121 Commits

Author SHA1 Message Date
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
dawn-to-dusk da52ca55a7 test(tester): add test cases
Add test cases to complete integration test.
2020-06-29 14:12:27 +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
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
Aiden X 830d5f4556 fix(*): use latest kit
Closes: #50
2020-05-09 14:18:51 +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
zhourong ecb30f79da fix(*): fix concurrent map writes 2020-04-29 15:03:31 +08:00
Alexader 3ae115af8f feat(*): split merkleWrapper into header and txWrapper
change grpc api SyncMerkleWrapper into GetInterchainTxWrapper and
GetBlockHeader
2020-04-27 11:23:36 +08:00
zhourong 86f946d2d4 refactor(ledger): use KV instead of tree 2020-04-26 20:49:28 +08:00
jiangzhe 2c561b9864 fix(grpc): fix getblocks func 2020-04-22 16:55:59 +08:00
Aiden X 4739043936 refactor(network): use bitxhub-kit network module 2020-04-22 16:02:56 +08:00
levi9311 7c896563b1 feat: remove wasm core
remove wasm core function
2020-04-21 21:01:53 +08:00
jiangzhe 4fd3c655e7 feat(client): add validators command 2020-04-14 19:38:52 +08:00
Alexader 5d68527641 chore(go.mod): update bitxhub-kit and bitxhub-model version 2020-04-13 16:26:01 +08:00
Aiden X 006911d3f7 build(linter): update golangci-linter to v1.23.0 2020-03-30 22:21:50 +08:00
Aiden X 832277ab48 build(mod): update kit, model and sdk to v1.0.0-rc1 2020-03-30 20:11:52 +08:00
Aiden X d5b4071447 feat(*): init project 2020-03-30 00:11:21 +08:00