#
# Copyright 2020-present Using Blockchain Ltd, All Rights Reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
#   1. Redistributions of source code must retain the above copyright notice,
#      this list of conditions and the following disclaimer.
#
#   2. Redistributions in binary form must reproduce the above copyright
#      notice, this list of conditions and the following disclaimer in the
#      documentation and/or other materials provided with the distribution.
# 
#   3. Neither the name of the copyright holder nor the names of its
#      contributors may be used to endorse or promote products derived from
#      this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

# -------------------------------------------------------------------------------------------
# LEDGER BASE CONFIGURATION
# -------------------------------------------------------------------------------------------
blockGenerationTargetTime: 30s
baseNamespace: 'dhealth'
networkType: 104
nemesisGenerationHashSeed: 'ED5761EA890A096C50D3F50B7C2F0CCB4B84AFC9EA870F381E84DDE36D04EF16'
nemesisSignerPublicKey: 907B74B4EAA4F8DA48162B624C933FD1F3F51714A6EE8A78BB1713F5D6959E0A
harvestNetworkFeeSinkAddress: 'NCOMSWYJ5E6WRQV7GBLHCIITDAVDZQ5HEMYJV6I'
mosaicRentalFeeSinkAddress: 'NCOMSWYJ5E6WRQV7GBLHCIITDAVDZQ5HEMYJV6I'
namespaceRentalFeeSinkAddress: 'NCOMSWYJ5E6WRQV7GBLHCIITDAVDZQ5HEMYJV6I'
# March 29 2021 00:39:57
epochAdjustment: 1616978397s
assemblies: api, peer, voter, dual, relay
batchVerificationRandomSource: /dev/urandom
serverVersion: 1.0.0.0
minPartnerNodeVersion: 1.0.0.0
maxPartnerNodeVersion: 1.0.255.255

# -------------------------------------------------------------------------------------------
# SECURITY CONFIGURATION
# -------------------------------------------------------------------------------------------
throttlingBurst: 80
throttlingRate: 60
syncTimeout: 5m
fileDatabaseBatchSize: 100

# -------------------------------------------------------------------------------------------
# DOCKER CONFIGURATION
# -------------------------------------------------------------------------------------------
symbolServerToolsImage: symbolplatform/symbol-server:tools-gcc-1.0.0.0
symbolServerImage: symbolplatform/symbol-server:gcc-1.0.0.0
symbolServerVotingToolsImage: symbolplatform/symbol-server:gcc-10-1.0.2.0
symbolRestImage: symbolplatform/symbol-rest:2.3.5
symbolWalletImage: symbolplatform/symbol-desktop-wallet:1.0.0-alpha
symbolExplorerImage: symbolplatform/symbol-explorer:0.6.3-alpha

# -------------------------------------------------------------------------------------------
# VOTING/IMPORTANCE CONFIGURATION
# -------------------------------------------------------------------------------------------
importanceGrouping: 720
votingSetGrouping: 1440
stepDuration: 5m
maxBlockFutureTime: 300ms
enableRevoteOnBoot: false
minHarvesterBalance: 2000000000
maxHarvesterBalance: 20000000000000
minVoterBalance: 2000000000000
timeSynchronizationMinImportance: 10000000000
nonVotingUnfinalizedBlocksDuration: 8m
votingUnfinalizedBlocksDuration: 0m
minVotingKeyLifetime: 112
maxVotingKeyLifetime: 360
votingKeyDesiredLifetime: 360
votingKeyDesiredFutureLifetime: 60

# -------------------------------------------------------------------------------------------
# SUPPLY CONFIGURATION
# -------------------------------------------------------------------------------------------
initialCurrencyAtomicUnits: 1000000000000000
maxMosaicAtomicUnits: 9000000000000000
totalChainImportance: 1000000000000000
harvestingMosaicId: 39E0C49FA322A459
currencyMosaicId: 39E0C49FA322A459
currencyName: dhp
harvestingName: dhp

# -------------------------------------------------------------------------------------------
# FEES CONFIGURATION
# -------------------------------------------------------------------------------------------
defaultDynamicFeeMultiplier: 100
minFeeMultiplier: 0
harvestNetworkPercentage: 5
harvestBeneficiaryPercentage: 10
rootNamespaceRentalFeePerBlock: 1000000
childNamespaceRentalFee: 100
mosaicRentalFee: 500

# -------------------------------------------------------------------------------------------
# NAMESPACES CONFIGURATION
# -------------------------------------------------------------------------------------------
maxChildNamespaces: 100
minNamespaceDuration: 3650d
maxNamespaceDuration: 3650d
namespaceGracePeriodDuration: 365d
reservedRootNamespaceNames: 'xem, nem, user, account, org, com, biz, net, edu, mil, gov, info, symbl, symbol, xym, dhealth, dhp'

# -------------------------------------------------------------------------------------------
# TRANSACTIONS CONFIGURATION
# -------------------------------------------------------------------------------------------
maxSecretLockDuration: 365d
maxAccountRestrictionValues: 100
minProofSize: 0

# -------------------------------------------------------------------------------------------
# INFLATION CONFIGURATION
# -------------------------------------------------------------------------------------------
inflation:
  starting-at-height-1: 400000000
  starting-at-height-10000: 400000000
  starting-at-height-1250001: 200000000
  starting-at-height-2500001: 100000000
  starting-at-height-3750001: 50000000
  starting-at-height-5000001: 25000000
  starting-at-height-6250001: 12500000
  starting-at-height-7500001: 6250000
  starting-at-height-8750001: 6250000
  starting-at-height-10000001: 1562500
  starting-at-height-11250001: 1562500
  starting-at-height-12500001: 0

# -------------------------------------------------------------------------------------------
# NODES DISCOVERY CONFIGURATION
# -------------------------------------------------------------------------------------------
knownRestGateways:
  - 'http://dual-01.dhealth.cloud:3000'
  - 'http://dhp.allnodes.me:3000'
  - 'http://dual-02.dhealth.cloud:3000'
  - 'http://api-02.dhealth.cloud:3000'
  - 'http://dhealth.vistiel-arch.jp:3000'
  - 'http://api-01.dhealth.cloud:3000'
  - 'http://dhealth.shizuilab.com:3000'
  - 'http://dual-03.dhealth.cloud:3000'
  - 'http://dhealth.adanorthpool.com:3000'
  - 'http://34.244.52.115:3000'
knownPeers:
  api-node:
    - publicKey: 5172C98BD61DF32F447C501DE8090A9D7096F9E71975D788D67F7A82B8C04EFA
      endpoint:
        host: dual-01.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-dual-01
        roles: Api,Peer,Voting
    - publicKey: E1E67896B6409034A8ECD7AE3F7F37DC38333297AC5FEF1CF0B4684ECE28B0C5
      endpoint:
        host: 34.244.52.115
        port: 7900
      metadata:
        name: dHealth-Prime
        roles: Api,Peer,Voting
    - publicKey: 613010BCE1FBF3CE1503DEF3003C76E451EA4DD9205FAD3530BFF7B1D78BC989
      endpoint:
        host: dual-02.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-dual-02
        roles: Api,Peer,Voting
    - publicKey: 36F3DF96F0902F386C455A2206DF75969DFF0C11DA536EBE503E7E37088144BB
      endpoint:
        host: dual-03.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-dual-03
        roles: Api,Peer,Voting
    - publicKey: 17A225334046DED548FA8494CE1340B4305F53824EDBBFB602108655755E3535
      endpoint:
        host: api-01.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-api-01
        roles: Api
    - publicKey: EA5D14DB2345B6B322907DFAFD71017B42AE9DE7AAC4209DD2C0F3D523BF50E5
      endpoint:
        host: dual-02.dhealth.jp
        port: 7900
      metadata:
        name: 'dhealth-dual-02 JP Max:100'
        roles: Api
  peer-node:
    - publicKey: B4D7EFF50E7F71D022C7E728FF5DC7242B5D402A748DC5234092E5AEB5BDC68B
      endpoint:
        host: peer-01.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-peer-01
        roles: Peer,Voting
    - publicKey: 5A22E969BCDC2D2C824A60C4EF2BE975951893A014475660411016011596274E
      endpoint:
        host: dhealth.shizuilab.com
        port: 7900
      metadata:
        name: ibone76
        roles: Api,Peer,Voting
    - publicKey: 613010BCE1FBF3CE1503DEF3003C76E451EA4DD9205FAD3530BFF7B1D78BC989
      endpoint:
        host: dual-02.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-dual-02
        roles: Api,Peer,Voting
    - publicKey: 8B5C151E76024D64DAE6130AFEDFADEF56B86609E64117DDBC0E963A5ABD3A8B
      endpoint:
        host: peer-02.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-peer-02
        roles: Peer
    - publicKey: E1E67896B6409034A8ECD7AE3F7F37DC38333297AC5FEF1CF0B4684ECE28B0C5
      endpoint:
        host: 34.244.52.115
        port: 7900
      metadata:
        name: dHealth-Prime
        roles: Api,Peer,Voting
    - publicKey: 77E33FC92A5B3078C4970D06309D295265707F73E4ECF0D29D10A92FFBBDFE4A
      endpoint:
        host: dhealth-01.symbol.ninja
        port: 7900
      metadata:
        name: nYnja-001
        roles: Api,Peer,Voting
    - publicKey: 4F57EFCE5BE552FA0271235E0D5ED339C30F2173A791D29EAA2B746E6B3BE879
      endpoint:
        host: dhealth-lt.nuaka.net
        port: 7900
      metadata:
        name: nuaka-dhealth-node-lt
        roles: Api,Peer,Voting
    - publicKey: B7BE28F456B983BE76935198090540210BC3B8E6C1898169D9103C539495C895
      endpoint:
        host: peer-03.dhealth.cloud
        port: 7900
      metadata:
        name: dhealth-peer-03
        roles: Peer


