Skip to content

Commit

Permalink
update default config settings for the Java API secure connect
Browse files Browse the repository at this point in the history
  • Loading branch information
aionjay committed Oct 3, 2018
1 parent 699080a commit 2208f82
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion modBoot/resource/custom/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<!--size of thread pool allocated for rpc requests-->
<threads>1</threads>
</rpc>
<java active="false" ip="127.0.0.1" port="8547"></java>
<java active="false" ip="127.0.0.1" port="8547">
<secure-connect>true</secure-connect>
</java>
<nrg-recommendation>
<!--default NRG price used by api if oracle disabled, minimum price recommended by oracle-->
<default>10E9</default>
Expand Down
4 changes: 2 additions & 2 deletions modBoot/resource/mainnet/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<id>[NODE-ID-PLACEHOLDER]</id>
<api>
<!-- rpc config docs: https://github.com/aionnetwork/aion/wiki/JSON-RPC-API-Docs -->
<rpc active="true" ip="127.0.0.1" port="8545">
<rpc active="false" ip="127.0.0.1" port="8545">
<cors-enabled>false</cors-enabled>
<!--comma-separated list, APIs available: web3,net,debug,personal,eth,stratum-->
<apis-enabled>web3,eth,personal,stratum,ops</apis-enabled>
</rpc>
<java active="true" ip="127.0.0.1" port="8547">
<java active="false" ip="127.0.0.1" port="8547">
<secure-connect>true</secure-connect>
</java>

Expand Down
4 changes: 3 additions & 1 deletion modBoot/resource/mastery/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<!--comma-separated list, APIs available: web3,net,debug,personal,eth,stratum-->
<apis-enabled>web3,eth,personal,stratum,ops</apis-enabled>
</rpc>
<java active="false" ip="127.0.0.1" port="8547"></java>
<java active="false" ip="127.0.0.1" port="8547">
<secure-connect>true</secure-connect>
</java>
<nrg-recommendation>
<!--default NRG price used by api if oracle disabled, minimum price recommended by oracle-->
<default>10E9</default>
Expand Down

0 comments on commit 2208f82

Please sign in to comment.