56 lines
2.8 KiB
TOML
56 lines
2.8 KiB
TOML
|
|
[cryptoMaterial]
|
||
|
|
|
||
|
|
certPath = "conf" # The certification path
|
||
|
|
useSMCrypto = "true"
|
||
|
|
# The following configurations take the certPath by default if commented
|
||
|
|
# caCert = "conf/ca.crt" # CA cert file path
|
||
|
|
# If connect to the GM node, default CA cert path is ${certPath}/gm/gmca.crt
|
||
|
|
|
||
|
|
# sslCert = "conf/sdk.crt" # SSL cert file path
|
||
|
|
# If connect to the GM node, the default SDK cert path is ${certPath}/gm/gmsdk.crt
|
||
|
|
|
||
|
|
# sslKey = "conf/sdk.key" # SSL key file path
|
||
|
|
# If connect to the GM node, the default SDK privateKey path is ${certPath}/gm/gmsdk.key
|
||
|
|
|
||
|
|
# enSslCert = "conf/gm/gmensdk.crt" # GM encryption cert file path
|
||
|
|
# default load the GM SSL encryption cert from ${certPath}/gm/gmensdk.crt
|
||
|
|
|
||
|
|
# enSslKey = "conf/gm/gmensdk.key" # GM ssl cert file path
|
||
|
|
# default load the GM SSL encryption privateKey from ${certPath}/gm/gmensdk.key
|
||
|
|
|
||
|
|
[network]
|
||
|
|
peers=["121.196.226.157:20200", "8.137.93.11:20200"] # The peer list to connect
|
||
|
|
|
||
|
|
# Configure a private topic as a topic message sender.
|
||
|
|
# [[amop]]
|
||
|
|
# topicName = "PrivateTopic1"
|
||
|
|
# publicKeys = [ "conf/amop/consumer_public_key_1.pem" ] # Public keys of the nodes that you want to send AMOP message of this topic to.
|
||
|
|
|
||
|
|
# Configure a private topic as a topic subscriber.
|
||
|
|
# [[amop]]
|
||
|
|
# topicName = "PrivateTopic2"
|
||
|
|
# privateKey = "conf/amop/consumer_private_key.p12" # Your private key that used to subscriber verification.
|
||
|
|
# password = "123456"
|
||
|
|
|
||
|
|
[account]
|
||
|
|
keyStoreDir = "account" # The directory to load/store the account file, default is "account"
|
||
|
|
# accountFilePath = "" # The account file path (default load from the path specified by the keyStoreDir)
|
||
|
|
accountFileFormat = "pem" # The storage format of account file (Default is "pem", "p12" as an option)
|
||
|
|
|
||
|
|
accountAddress = "" # The transactions sending account address
|
||
|
|
# Default is a randomly generated account
|
||
|
|
# The randomly generated account is stored in the path specified by the keyStoreDir
|
||
|
|
|
||
|
|
password = "" # The password used to load the account file
|
||
|
|
|
||
|
|
[threadPool]
|
||
|
|
# channelProcessorThreadSize = "16" # The size of the thread pool to process channel callback
|
||
|
|
# Default is the number of cpu cores
|
||
|
|
|
||
|
|
# receiptProcessorThreadSize = "16" # The size of the thread pool to process transaction receipt notification
|
||
|
|
# Default is the number of cpu cores
|
||
|
|
|
||
|
|
maxBlockingQueueSize = "102400" # The max blocking queue size of the thread pool
|
||
|
|
maxTotal = "100"
|
||
|
|
maxPerRoute = "100"
|