github.com/klaytn/klaytn@v1.12.1/cmd/utils/nodecmd/testdata/test-config.yaml (about)

     1  common: 
     2    # identity: 
     3    light-kdf: false
     4    # datadir: 
     5    overwrite-genesis: false
     6    start-block-num: 0
     7    # keystore: 
     8    syncmode: snap
     9    garbage-collection-mode: full
    10    sender-tx-hash-indexing: false
    11    target-gaslimit: 4712388
    12    # block-extra-data: 
    13    srvtype: http
    14    # rewardbase: 0
    15    write-address: false
    16    child-chain-indexing: false
    17    kes-nodetype-service: false
    18    ntp: 
    19      disable: false
    20      server: "pool.ntp.org:123"
    21    # authorized-nodes: 
    22    # gen-key-path: 
    23    # scsigner: 
    24  
    25  txresend: 
    26    interval: 4
    27    max-count: 1000
    28    use-legacy: false
    29  
    30  p2p: 
    31    cypress: false
    32    baobab: false
    33    network-id: 8217
    34    bootnodes: ""
    35    rw-timer-wait-time: 15s
    36    rw-timer-interval: 1000
    37    port: 32323
    38    sub-port: 32324
    39    multi-channel: false
    40    max-connections: 10
    41    max-request-content-length: 524288
    42    max-pend-peers: 0
    43    bn-addr: ":32323"
    44    nat: any
    45    no-discover: false
    46    # net-restrict: 
    47    # node-key: 
    48    # node-key-hex: 
    49  
    50  experimental:
    51    opcode-computation-cost-limit: 100000000
    52    block-generation-interval: 1
    53    block-generation-time-limit: 250ms
    54  
    55  account-update:
    56    unlock: ""
    57    password: ""
    58  
    59  vm: 
    60    debug: false
    61    log: 0
    62    internaltx: false
    63  
    64  metrics-collection-reporting: 
    65    enable: false
    66    prometheus: false
    67    prometheus-port: 61001
    68  
    69  autorestart: 
    70    enable: false
    71    timeout: 15m0s
    72    daemon-path: ~/klaytn/bin/kcnd
    73  
    74  api:
    75    filter:
    76      getLogs: 
    77        maxitems: 10000
    78        deadline: 10s
    79  
    80  db: 
    81    type: "levelDB"
    82    single: false
    83    num-statetrie-shards: 4
    84    no-perf-metrics: false
    85    no-parallel-write: false
    86    leveldb:
    87      compression: 0
    88      no-buffer-pool: false
    89      cache-size: 768
    90    dynamo: 
    91      table-name: ""
    92      region: ap-northeast-2
    93      is-provisioned: false
    94      read-capacity: 10000
    95      write-capacity: 10000
    96      read-only: false
    97    rocksdb:
    98      secondary: false
    99      cache-size: 768
   100      dump-memory-stat: false
   101      compression-type: "lz4"
   102      bottommost-compression-type: "zstd"
   103      filter-policy: "ribbon"
   104      disable-metrics: false
   105  
   106  snapshot-database: 
   107    enable: false
   108    cache-size: 512
   109    async-gen: true
   110  
   111  state: 
   112    cache-size: 512
   113    block-interval: 128
   114    tries-in-memory: 128
   115    trie-cache-limit: -1
   116    trie-cache-save-period: 0s
   117    live-pruning: false
   118    live-pruning-retention: 172800
   119  
   120  cache: 
   121    type: 2
   122    scale: 0
   123    # level: 
   124    memory: 0
   125    
   126  statedb: 
   127    cache: 
   128      type: LocalCache
   129      num-fetcher-prefetch-worker: 32
   130      use-snapshot-for-prefetch: false
   131      redis: 
   132        endpoints: ["192.168.11.12"]
   133        cluster: false
   134        publish: false
   135        subscribe: false
   136  
   137  servicechain:
   138    mainbridge: false
   139    mainbridge-port: 50505
   140    subbridge: false
   141    subbridge-port: 50506
   142    parent-chainid: 8217
   143    chain-tx-period: 1
   144    chain-tx-limit: 100
   145    vt-recovery: false
   146    vt-recovery-interval: 5
   147    new-account: false
   148    anchoring: false
   149    parent-operator-gaslimit: 10000000
   150    child-operator-gaslimit: 10000000
   151    consensus: istanbul
   152  
   153  txpool: 
   154    nolocals: false
   155    allow-local-anchortx: false
   156    deny-remote-tx: false
   157    journal: transactions.rlp
   158    journal-interval: 1h0m0s
   159    price-limit: 1
   160    price-bump: 10
   161    exec-slots: 
   162      account: 16
   163      all: 4096
   164    nonexec-slots: 
   165      account: 64
   166      all: 1024
   167    lifetime: 5m0s
   168    keeplocals: false
   169    spamthrottler: 
   170      disable: false
   171  
   172  http-rpc: 
   173    enable: false
   174    addr: localhost
   175    port: 8551
   176    api: ""
   177    gascap: 0
   178    eth-tx-feecap: 0.0
   179    read-timeout: 30
   180    write-timeout: 30
   181    idle-timeout: 120
   182    execution-timeout: 30
   183    concurrency-limit: 3000
   184    # cors-domain: ""
   185    vhosts: localhost
   186    eth-noncompatible: false
   187  
   188  ws-rpc: 
   189    enable: false
   190    addr: localhost
   191    port: 8552
   192    api: ""
   193    origins: ""
   194    max-subscription-per-conn: 3000
   195    read-deadline: 0
   196    write-deadline: 0
   197    max-connections: 3000
   198  
   199  g-rpc: 
   200    enable: false
   201    addr: localhost
   202    port: 8553
   203  
   204  ipc: 
   205    disable: false
   206    path: ""
   207  
   208  console:
   209    js-path: .
   210    # exec: 
   211    # preload: 
   212  
   213  debug-profile: 
   214    verbosity: 3
   215    vmodule: ""
   216    backtrace: ""
   217    print-site: false
   218    pprof: 
   219      enable: false
   220      addr: 127.0.0.1
   221      port: 6060
   222    mem-profile: 
   223      file-name: ""
   224      rate: 524288
   225    block-profile: 
   226      rate: 0
   227    cpu-profile: 
   228      file-name: ""
   229    trace: 
   230      file-name: ""
   231  
   232  db-syncer: 
   233    enable: false
   234    log-mode: false
   235    mode: multi
   236    genquery-th: 50
   237    insert-thread: 30
   238    bulk-size: 20 
   239    event-mode: head
   240    block-channel-size: 5
   241    max-block-diff: 0
   242    db: 
   243      host: ""
   244      port: "3306"
   245      name: ""
   246      user: ""
   247      password: ""
   248      max-idle: 50
   249      max-open: 30
   250      max-lifetime: 1h
   251  
   252  chain-data-fetcher: 
   253    enable: false
   254    mode: kafka
   255    no-default: false
   256    num-handlers: 10
   257    job-channel-size: 50
   258    block-channel-size: 50
   259    max-processing-data-size: 500
   260    kafka: 
   261      replicas: 5
   262      brokers: ["192.168.11.12"]
   263      partitions: 1
   264      topic: 
   265        resource: en-0
   266        environment: local
   267      max-message-bytes: 1000000
   268      segment-size: 1000000
   269      required-acks: 1
   270      msg-version: "1.0"
   271      # producer-id: