Skip to content

Commit 7638661

Browse files
committed
Add note for zero value on KDF rpcport config param
1 parent 8b17b2a commit 7638661

File tree

1 file changed

+1
-1
lines changed
  • src/pages/komodo-defi-framework/setup/configure-mm2-json

1 file changed

+1
-1
lines changed

src/pages/komodo-defi-framework/setup/configure-mm2-json/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ When running the Komodo DeFi API via commandline with the `kdf` binary, some bas
2020
| allow\_weak\_password | boolean | Optional, defaults to `false`. If `true`, will allow low entropy rpc\_password. If `false` rpc\_password must not have 3 of the same characters in a row, must be between 8-32 characters in length, must contain at least one of each of the following: numeric, uppercase, lowercase, special character (e.g. !#$\*). It also can not contain the word "password", or the chars `<`, `>`, or `&`. |
2121
| dbdir | string | Optional, defaults to a subfolder named `DB` in the path of your `kdf` binary. This path will store the Komodo DeFi-API database data. |
2222
| rpcip | string | Optional, defaults to `127.0.0.1`. IP address to bind to for RPC server. |
23-
| rpcport | integer | Optional, defaults to `7783`. Port to use for RPC communication. |
23+
| rpcport | integer | Optional, defaults to `7783`. Port to use for RPC communication. If set to `0`, an available port will be chosen randomly. |
2424
| rpc\_local\_only | boolean | Optional, defaults to `true`. If `false` the Komodo DeFi Framework API will allow rpc methods sent from external IP addresses. **Warning:** Only use this if you know what you are doing, and have put the appropriate security measures in place. |
2525
| i\_am\_seed | boolean | Optional, defaults to `false`. Runs Komodo DeFi Framework API as a seed node mode (acting as a relay for Komodo DeFi Framework API clients). Use of this mode is not reccomended on the main network (8762) as it could result in a pubkey ban if non-compliant. On alternative testing or private networks, at least one seed node is required to relay information to other Komodo DeFi Framework API clients using the same netID. |
2626
| seednodes | list of strings | Optional. If operating on a test or private netID, the IP address of at least one seed node is required (on the main network, these are already hardcoded) |

0 commit comments

Comments
 (0)