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