Skip to content

Commit 1d1ce21

Browse files
committed
feat(cmd-server-socket): add validator-registry setting
Signed-off-by: Takuma TAKEUCHI <[email protected]>
1 parent 3539566 commit 1d1ce21

File tree

3 files changed

+17
-42
lines changed

3 files changed

+17
-42
lines changed

etc/cactus/default.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ blpRegistry:
1212
logLevel: debug
1313

1414
applicationHostInfo:
15-
hostName: http://xxx.xxx.xxx.xxx
15+
hostName: http://aaa.bbb.ccc.ddd # please change hostName to your IP address
1616
hostPort: 5034
1717

1818
socketOptions:

etc/cactus/verifier-config.yaml renamed to etc/cactus/validator-registry-config.yaml

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ledgerPluginInfo:
22
-
33
validatorID: 84jUisrs
4+
validatorType: socketio
45
validatorURL: https://localhost:5050
56
validatorKeyPath: ./validatorKey/84jUisrs/key84jUisrs.crt
67
ledgerInfo:
@@ -33,6 +34,7 @@ ledgerPluginInfo:
3334

3435
-
3536
validatorID: r9IS4dDf
37+
validatorType: socketio
3638
validatorURL: https://localhost:5040
3739
validatorKeyPath: ./validatorKey/r9IS4dDf/keyr9IS4dDf.crt
3840
ledgerInfo:
@@ -59,14 +61,25 @@ ledgerPluginInfo:
5961

6062
-
6163
validatorID: sUr7d10R
64+
validatorType: socketio
6265
validatorURL: https://localhost:5140
6366
validatorKeyPath: ./validatorKey/sUr7d10R/keysUr7d10R.crt
6467
ledgerInfo:
6568
ledgerAbstract: Sawtooth Ledger
6669
apiInfo: []
6770

71+
-
72+
validatorID: 3PfTJw8g
73+
validatorType: socketio
74+
validatorURL: http://172.16.0.4:8000
75+
validatorKeyPath: ./validatorKey/3PfTJw8g/3PfTJw8g.crt
76+
ledgerInfo:
77+
ledgerAbstract: "Indy Ledger"
78+
apiInfo: []
79+
6880
-
6981
validatorID: vIdO32CB
82+
validatorType: openapi
7083
validatorURL: http://localhost:5053/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/
7184
validatorKeyPath: ""
7285
ledgerInfo:
@@ -75,6 +88,7 @@ ledgerPluginInfo:
7588

7689
-
7790
validatorID: vIdO32CF
91+
validatorType: openapi
7892
validatorURL: http://localhost:5053/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/
7993
validatorKeyPath: ""
8094
ledgerInfo:
@@ -83,21 +97,13 @@ ledgerPluginInfo:
8397

8498
-
8599
validatorID: vIdO32CQ
86-
host: http://localhost:5053/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/
100+
validatorType: openapi
101+
validatorURL: http://localhost:5053/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/
87102
validatorKeyPath: ""
88103
ledgerInfo:
89104
ledgerAbstract: "Cactus Quorum Ledger via http connection"
90105
apiInfo: []
91106

92-
-
93-
validatorID: 3PfTJw8g
94-
validatorURL: http://172.16.0.4:8000
95-
validatorKeyPath: ./validatorKey/3PfTJw8g/3PfTJw8g.crt
96-
ledgerInfo:
97-
ledgerAbstract: "Indy Ledger"
98-
apiInfo: []
99-
100-
101107
signTxInfo:
102108
ethereum:
103109
chainName: geth1

etc/cactus/validator-registry.yaml

-31
This file was deleted.

0 commit comments

Comments
 (0)