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