Lizen0512
6c7a01d1e6
refactor(order): refactor order module transaction type
2020-10-21 22:19:40 +08:00
zhourong
52e758e5dc
refactor(*): update Hash/Address related code in executor and ledger
2020-10-21 19:39:06 +08:00
Aiden X
cb74880701
build: update core, kit and model in tester
2020-10-21 19:26:41 +08:00
Aiden X
4d44237349
api: using latest tx structure
2020-10-21 16:00:54 +08:00
zhourong
9a78f3f7f2
refactor(*): use new Transaction/Address/Hash in executor and ledger
2020-10-21 14:01:35 +08:00
Treaser(Song) Lou
bd0a38d96e
Merge branch 'master' into fix/storage
2020-10-20 20:29:20 +08:00
jzhe
a31b66c1b3
Merge pull request #207 from meshplus/refactor/com-mod-version-support
...
refactor(mod): support module version switch for commercial bitxhub
2020-10-20 20:26:06 +08:00
treasersimplifies
65b922b57c
fix(storage): dicard bitxhub storage package to use kit storage
2020-10-20 19:56:53 +08:00
Aiden X
f3eeb39cbf
test: add storages unittest
2020-10-20 13:16:11 +08:00
zhourong
2606f0e187
refactor(mod): support module version switch for commercial bitxhub
2020-10-20 10:35:12 +08:00
Alexader
6faa2029fc
feat(grpc): enable tls support for grpc connection
2020-10-16 16:03:29 +08:00
zhourong
f5c3a39126
refactor(executor): module split
2020-10-16 11:28:22 +08:00
zhourong
4be06f3276
refactor(executor): post block event after block is persisted
2020-10-14 17:24:47 +08:00
Lizen0512
80454e00e6
feat(pprof): add runtime type for pprof
2020-10-13 21:40:31 +08:00
Lizen0512
41141593db
feat(mempool): add comments and unit tests for mempool, and verify the signature in api module instead of mempool.
2020-10-13 12:37:13 +08:00
zhourong
bd0b04e63e
test(executor): add more executor unit test
2020-10-12 14:57:49 +08:00
zhourong
db52ca33a5
test(ledger): add more unit test
2020-09-29 19:29:14 +08:00
zhourong
bb86b87137
fix(ledger): fix query issue
2020-09-29 15:33:51 +08:00
zhourong
4c113637a6
refactor(*): optimize performance
2020-09-29 15:33:51 +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
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
jiangzhe
a89229fddd
fix(proof_pool): fix verify ibtp pool panic
2020-09-18 11:19:46 +08:00
zhourong
871c2f530e
refactor(ledger): support parallel op for get/set state
2020-09-18 11:19:46 +08:00
jiangzhe
be3ef940fa
refactor(*):refactor verify interchain tx
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
4967ae38f4
feat(contract):verify union interchain transaction
2020-08-25 20:01:58 +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
7318b2c5cc
feat(*):add union pier in router 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
dawn-to-dusk
f87efbf898
fix(executor):fix the bug when registering rule with unexisted appchain
2020-07-29 14:43:58 +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
dawn-to-dusk
a2aa6d6c51
perf(app):add log output about ulimit
...
Add a log which will output the value of ulimit.
2020-07-22 11:08:42 +08:00
dawn-to-dusk
1c337c017d
perf(app):raise ulimit
...
maximize the file descriptor allowance of the process to the maximum hard-limit allowed by the OS
2020-07-21 14:45:42 +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
zhourong
9c784ad216
fix(executor): add normalTxs initialization
2020-07-09 16:26:13 +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 X
62d66f2922
Merge pull request #94 from meshplus/fix/router-counter
...
fix(*): make InterchainRouter's count routine safe
2020-07-02 13:21:08 +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
Aiden X
bedbc5be35
Merge pull request #96 from meshplus/fix/ledger-cache
...
fix(ledger): fix ledger query issue
2020-06-21 22:34:02 +08:00
zhourong
b8b83b8327
fix(ledger): fix ledger query issue
2020-06-19 14:52:05 +08:00
zhourong
398f44f407
fix(*): make InterchainRouter'count routine safe
2020-06-12 14:51:53 +08:00
Aiden X
b1e58078c5
Merge pull request #91 from meshplus/refactor/move-interchain-counter
...
refactor(*): move interchain counter from block header to interchain …
2020-06-10 10:19:29 +08:00
zhourong
3a48326d24
refactor(*): move interchain counter from block header to interchain meta
2020-06-08 15:21:39 +08:00
treasersimplifies
57df04f137
fix(solo): disable p2p when start bitxhub in solo mode
2020-06-08 14:32:34 +08:00
Aiden X
60e3ea3909
Merge pull request #86 from jsrzx/master
...
修正错误的make目标
2020-05-29 09:16:21 +08:00
jasonruan
9813d859e3
修正错误的make目标
2020-05-28 12:27:07 +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
73a6820e9b
refactor(config): read genesis config from genesis.json
2020-05-22 14:40:44 +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
zhourong
8d71fd392f
refactor(*): separate data persistence from block execution
2020-05-08 11:09:13 +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
Aiden X
381798c319
Merge pull request #61 from meshplus/ledger
...
refactor(ledger): add interface to remove journal
2020-04-29 16:40:02 +08:00
levi9311
3609a9fc1c
feat: add get public key
...
Add get public key in interchain.
2020-04-29 15:57:55 +08:00
zhourong
ecb30f79da
fix(*): fix concurrent map writes
2020-04-29 15:03:31 +08:00
Aiden X
33055dfafc
Merge pull request #62 from meshplus/feat/register-with-pubkey
...
feat: add register pubkey
2020-04-28 19:26:44 +08:00
Alexader
574f90cc3a
feat(api): add default tx wrapper for return
...
1. add default tx wrapper for return when a block contains no interchan tx
2. close channel when GetInterchainWrapper and GetBlockHeader finish
2020-04-28 19:09:43 +08:00
zhourong
a3b2be6909
fix(ledger): fix concurrent map writes
2020-04-28 16:41:27 +08:00
zhourong
e72cb6cbab
refactor(ledger): add interface to remove journal
2020-04-28 16:27:15 +08:00
xialiwei
5796919e82
feat: add register pubkey
...
Now appchain registration need upload public key.
2020-04-28 15:02:55 +08:00
zhourong
06869782ce
refactor(*): deal with DB error in storage
2020-04-28 11:11:34 +08:00
Aiden X
d0511641cd
Merge pull request #58 from meshplus/refactor/extract-order-module
...
refactor(order):extract order module to pkg module
2020-04-27 18:52:46 +08:00
Aiden X
500f802c7c
Merge pull request #59 from meshplus/ledger
...
refactor(ledger): rollback ledger to a certain block according to the…
2020-04-27 18:52:27 +08:00
jiangzhe
813a7322db
refactor(order):extract order module to pkg module
2020-04-27 17:27:43 +08:00
zhourong
e2b5302f22
refactor(ledger): rollback ledger to a certain block according to the journals
2020-04-27 17:18:22 +08:00
Aiden X
d0f58fce83
Merge pull request #57 from meshplus/ledger
...
fix(ledger): get prevJournalHash when new ledger
2020-04-27 14:07:14 +08:00
zhourong
67b059aa45
fix(ledger): get prevJournalHash when new ledger
2020-04-27 14:00:46 +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
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
Chen Quan
89cf230dae
fix(internal/repo/config.go): fix typo
2020-04-20 20:51:30 +08:00
jiangzhe
e2c1bc8db1
fix(node):fix the failure of node test
2020-04-17 17:16:17 +08:00
Alexader
ae54604bf9
feat(executor): handling invalid destination chain id
...
When the destination chain id of ibtp is not exist in bitxhub, its content should still be processed.
close #22
2020-04-17 10:29:45 +08:00
Alexader
ec0bd485d6
refactor(executor): refactor illegal tx handling
...
when the destination chain id is illegal, bitxhub should ignore it instead of returning error. The appchain which invoked this tx will wait for this tx to timeout.
2020-04-16 20:38:08 +08:00
Aiden X
9ebc083a89
Merge pull request #21 from meshplus/feat/new-validation-engine
...
Refactor validation engine
2020-04-16 20:34:11 +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
levi9311
3e602dcd07
feat: add auto determine fabric internal rule
...
Now internal rule manager will automatically use fabric internal rule address when it can not find wasm address
2020-04-16 11:26:56 +08:00
Aiden X
6331259efc
test(*): add integration test
2020-04-16 00:43:16 +08:00
jiangzhe
96ba5e0d90
fix(raft): fix raft consensus error
...
1. add the maximum transaction size to the tx pool.
2. leader election results in repeated ack transactions.
2020-04-09 20:19:27 +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
f3f5ef0c8d
feat(executor): adding access control for interchain contract
2020-04-08 18:34:20 +08:00
Aiden X
b4b07b3f25
docs(README.md): add wechat
2020-03-30 19:14:45 +08:00
Aiden X
91fccf8380
script(*): add config.sh
2020-03-30 16:34:30 +08:00
Aiden X
d5b4071447
feat(*): init project
2020-03-30 00:11:21 +08:00