zhourong
f5c3a39126
refactor(executor): module split
2020-10-16 11:28:22 +08:00
Aiden X
947a57cc30
test: add storage unit test
2020-10-12 20:31:05 +08:00
zhourong
3b844ee7c7
fix(*): use category instead of type
2020-10-09 19:33:58 +08:00
jiangzhe
5ead8bad8a
test(*):add network and consensus unit test
2020-09-29 15:20:13 +08:00
Alexader
49226b9334
test(tester): fix wrong tx nonce problems in tester cases
2020-09-29 15:01:30 +08:00
Lizen
b65c466294
delete GetPendingNonceByAccount implement in info.go file
2020-09-27 17:20:05 +08:00
Alexader
940f6857d0
fix(order): fix errors in node_test
...
1. logger in mempool and txCache passed by Order module instead of loggers
2. fix goroutine not return after receiving signal from close channel in mempool error
3. fix idSlice is not initialized with 0 length in GenerateRaftPeers function
2020-09-27 16:11:50 +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
6aeb683007
refactor(*): update bitxhub-model package
2020-09-27 14:00:07 +08:00
zhourong
112931d37c
feat(*): add api to get TPS
2020-09-22 20:05:56 +08:00
jiangzhe
a89229fddd
fix(proof_pool): fix verify ibtp pool panic
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
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
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
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