Commit Graph

40 Commits

Author SHA1 Message Date
Aiden X c66691ea31 feat(api): add block header signs func 2020-08-26 16:22:10 +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 a62173cc9a refactor(*):refactor p2p 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 c3a51a1fcc refactor(transaction): update return type of GetAssetExchangeSigns 2020-07-31 11:10:51 +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
treasersimplifies cbd2eb7bba fix(account): fix get invalid account balance not return error 2020-07-29 20:02:18 +08:00
Alexader 27f3037c3c fix(go.mod): fix invalid tx signature got verified
tx signature should be signed by tx.From address
2020-07-28 11:41:28 +08:00
liweixia 322eaf002f fix: new kit version 2020-07-28 04:24:20 +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
zhourong e7b8d8b17c feat(transaction): add transaction management 2020-07-17 19:26:21 +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
Aiden X 84b35acd59
Merge pull request #115 from meshplus/fix/fix-parse-block-error-in-restful-service
fix(api):fix parse block struct in restful service
2020-07-10 14:07:05 +08:00
jiangzhe 4e875ab114 fix(api):fix parse block struct in restful service 2020-07-10 13:43:28 +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 Xu 8d24681e0e build(mod): update atomic pkg 2020-07-02 14:41:49 +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
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 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
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