Commit Graph

25 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 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
jzhe 1a46725b54
Merge pull request #118 from meshplus/fix/fix-pack-when-the-number-of-block-txs-is-full
fix(order):fix pack when the number of block txs is full
2020-07-17 19:16:20 +08:00
jiangzhe f30991d941 fix(order):fix pack when the number of block txs is full 2020-07-17 14:12:20 +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 948f27521f fix(*): fix concurrent map write in swarm.go 2020-05-08 16:08:21 +08:00
zhourong ecb30f79da fix(*): fix concurrent map writes 2020-04-29 15:03:31 +08:00
zhourong 06869782ce refactor(*): deal with DB error in storage 2020-04-28 11:11:34 +08:00
jiangzhe 813a7322db refactor(order):extract order module to pkg module 2020-04-27 17:27:43 +08:00
Aiden X 4739043936 refactor(network): use bitxhub-kit network module 2020-04-22 16:02:56 +08:00
Aiden X 3e40509dbe
Merge pull request #43 from meshplus/refactor/network-interface
refactor(network): add message handler
2020-04-22 15:49:36 +08:00
Aiden X 825bfaea12 refactor(network): add message handler 2020-04-22 15:30:13 +08:00
levi9311 7c896563b1 feat: remove wasm core
remove wasm core function
2020-04-21 21:01:53 +08:00
Aiden X 759f61eac3 refactor(network): rm idStore and modify interface 2020-04-21 17:11:54 +08:00
levi9311 d1af9adfef feat: adjust validation and wasm module
move wasm lib to validation module
wasm instance now need imports to create
2020-04-16 20:10:24 +08:00
jiangzhe fc6a894231 fix(bloom_filter): fix bloom filter caused panic 2020-04-09 20:02:53 +08:00
xialiwei c886be3907 feat(validator): add go internal fabric rule
1. add validation engine
2. now validatior will init in validation engine, validator type will choosed by the address
2020-04-09 11:00:48 +08:00
Aiden X 6a9cce1b76 chore(*): modify README.md 2020-03-30 01:40:47 +08:00
Aiden X d5b4071447 feat(*): init project 2020-03-30 00:11:21 +08:00