Commit Graph

55 Commits

Author SHA1 Message Date
Frank.R.Wu
ea6781adb2 fix: fix bugs in event mechanism
now EventCenter.subInCenter will resend event to the previous node to sub in sub-center (when receiving NodeConsumer), or send msg to sub-center (when receiving ContractConsumer)
2022-07-29 22:59:20 +08:00
Frank.R.Wu
3dec7e9f47 feat: update ContractManager
add ContractManager.getExecutor to get the executor of some contract
2022-07-29 22:59:20 +08:00
CaiHQ
2b595271c9 add join support 2022-06-28 19:49:54 +08:00
CaiHQ
2b2f57b7cf front: support startMulitipoint with args
fix: ContractClient missing arguments error
update: @Router arguments format
fix: ContractStatusRecorder null exception
2022-06-26 17:54:30 +08:00
CaiHQ
2f874832b8 Merge branch 'master' of https://gitee.com/BDWare/cm 2022-06-10 16:12:55 +08:00
CaiHQ
b251e7e603 contract client 2022-06-10 16:10:51 +08:00
garvey-wong
540fbd65f8 feat: enable ContractPrinter by isDebug 2022-06-10 11:48:32 +08:00
CaiHQ
3db9180ceb debug raft 2022-05-27 17:48:25 +08:00
CaiHQ
90a9d8af37 doc: docker deploy
feat: support docker debug
2022-05-23 17:06:54 +08:00
CaiHQ
9f79db3a63 update docker configs 2022-05-05 13:39:17 +08:00
WangXuxin
c84cd3fac0 feat: support @RouteInfo byFunc 2022-04-27 10:49:45 +08:00
CaiHQ
71fa74ac14 feat: support createParam
feat: docker script
2022-04-21 10:18:48 +08:00
CaiHQ
32cc66dad1 support ledgerparams
add startContract at cmconfig.json
add docker scripts
2022-03-22 23:52:02 +08:00
汪旭鑫
a2f8ab528b Merge branch 'master' into feat/consistency-sdk 2022-02-15 15:03:57 +08:00
汪旭鑫
a87549a4c9 refactor: sdk for consensus algorithm 2022-02-15 14:44:17 +08:00
Frank.R.Wu
bb368c8bee feat: update event mechanism
add second centers for event topics
2022-01-20 20:55:49 +08:00
CaiHQ
1ec1cac894 upgrad doipsdk 2022-01-09 00:04:04 +08:00
CaiHQ
4315992b73 fix: fix sort contract info bugs 2022-01-06 20:35:33 +08:00
CaiHQ
893be2e954 add doip-sdk-jar 2022-01-04 11:10:11 +08:00
CaiHQ
b1eb54c26b prune: use stable doip-sdk 2022-01-04 10:15:46 +08:00
CaiHQ
ec21fc9500 optimize: use jquery 2.1.4.min
refactor: DOA Contract
update: use doip sdk 1.0.2
2021-12-22 22:07:51 +08:00
CaiHQ
7d04d48f50 optimize build.gradle 2021-12-21 17:48:31 +08:00
Frank.R.Wu
c3f1407b6f fix: fix NullPointerException
fix NullPointerException in ContractStatusRecorder.killContract when killing a nonexistent contract process
2021-12-12 17:12:49 +08:00
Frank.R.Wu
f59775da3f feat: add log for debug 2021-12-12 12:26:51 +08:00
Frank.R.Wu
f2e39a634d feat: update logs in event mechanism
update LOGGER.warn in exception handling in ContractConsumer to LOGGER.error
2021-12-10 17:39:49 +08:00
Frank.R.Wu
a9ba6fea6e fix: fix bugs in DHTUtil
fix the bug in DHTUtil which is wrong arguments when calling constructor of BigInteger
2021-12-09 15:32:36 +08:00
Frank.R.Wu
14e918fa18 feat: update DHTUtil
update DHTUtil.getClusterByKey to ignore prefix '04' of nodeIds
2021-12-09 15:04:39 +08:00
Frank.R.Wu
896cbfeb5b fix: fix bugs in event mechanism
fix bugs in EventCenter and NodeConsumer which they provide arguments in wrong order when delivering events into node center
2021-12-09 14:42:15 +08:00
Frank.R.Wu
9137563db8 feat: update event mechanism
update EventBroker and EventCenter to use ContractManager.instance.masterStub to deliver event, and use DHTUtil to compute target nodes
2021-12-06 18:05:48 +08:00
Frank.R.Wu
9657f1930f fix: fix bugs in event mechanism 2021-12-03 15:28:33 +08:00
CaiHQ
ecc51330db feat: support jsontype in execute contract 2021-12-03 11:19:29 +08:00
CaiHQ
3c4c33bb1b optimize verifykey 2021-11-30 17:17:55 +08:00
CaiHQ
f35c257697 refactor: move pbft classes 2021-11-28 14:52:36 +08:00
Frank.R.Wu
cf885a53fa fix: fix bugs in event mechanism
fix bugs in event delivering cross nodes
2021-11-26 15:54:35 +08:00
Frank.R.Wu
5b4221dd29 merge 2021-11-22 14:38:28 +08:00
Frank.R.Wu
9876ccc2e2 merge 2021-11-22 12:03:52 +08:00
CaiHQ
b136681526 merge pbft algorithm 2021-11-22 11:50:40 +08:00
CaiHQ
6bf6343c50 merge dengshuang-feature
refactor: NetworkManager
2021-11-21 23:20:44 +08:00
CaiHQ
ca20ea58f5 merge feature-dengshuang
step1. prune ContractExecutor
2021-11-18 19:52:01 +08:00
Frank.R.Wu
d3fa52546f feat: update ContractExecutor and implementation classes
use default function of interface to update ContractExecutor; add TODO logs in SelfAdaptiveShardingExecutor
2021-11-18 13:47:04 +08:00
Frank.R.Wu
54e5159082 fix: fix bugs
fix bugs in ContractManager.startContractAndRedirect to support SelfAdaptiveSharding contracts
2021-11-17 17:37:22 +08:00
Frank.R.Wu
2701f7286d feat: update usage of JsonUtil 2021-11-17 14:41:06 +08:00
Frank.R.Wu
70c8313226 fix: fix bugs
fix bugs in ContractManager.executeContractInternal
2021-11-15 17:52:16 +08:00
Frank.R.Wu
bb811da070 feat: modify exportedFunctions to support quick seekFunction
modify exportedFunctions from List to Map to support quick seekFunction
2021-11-11 12:53:21 +08:00
Frank.R.Wu
08f86a445f feat: add field status in return value of WSClientConsumer.publishEvent 2021-11-05 14:53:20 +08:00
bitvincent
82e7003083 fix:typo error (shading->sharding) 2021-11-04 18:32:17 +08:00
Frank.R.Wu
f0ca9ab85d feat(cm): update event mechanism
update resultCallback used in contract consumer part of EventBroker.deliverEvent; add exception handling for WSClientConsumer
2021-11-01 22:24:27 +08:00
CaiHQ
6a35a67631 feat: support requestID auto append in agent websocket 2021-11-01 18:52:02 +08:00
CaiHQ
e11d151b55 prune: delete ResultBack 2021-11-01 17:31:35 +08:00
Frank.R.Wu
ec7ee3f302 refactor: prune unused code 2021-11-01 15:04:57 +08:00