github.com/klaytn/klaytn@v1.12.1/cmd/conf/node/node-template.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    # will be added again after bugfix
    53    # block-generation-interval: 1
    54    block-generation-time-limit: 250ms
    55  
    56  account-update:
    57    unlock: ""
    58    password: ""
    59  
    60  vm: 
    61    debug: false
    62    log: 0
    63    internaltx: false
    64  
    65  metrics-collection-reporting: 
    66    enable: false
    67    prometheus: false
    68    prometheus-port: 61001
    69  
    70  autorestart: 
    71    enable: false
    72    timeout: 15m0s
    73    daemon-path: ~/klaytn/bin/kcnd
    74  
    75  api:
    76    filter:
    77      getLogs: 
    78        maxitems: 10000
    79        deadline: 10s
    80  
    81  db: 
    82    type: "levelDB"
    83    single: true
    84    num-statetrie-shards: 4
    85    no-perf-metrics: false
    86    no-parallel-write: false
    87    leveldb:
    88      compression: 0
    89      no-buffer-pool: false
    90      cache-size: 768
    91    dynamo: 
    92      table-name: ""
    93      region: ap-northeast-2
    94      is-provisioned: false
    95      # will be added again after bugfix
    96      # read-capacity: 10000
    97      # write-capacity: 10000
    98      read-only: false
    99    rocksdb:
   100      secondary: false
   101      cache-size: 768
   102      dump-memory-stat: false
   103      compression-type: "lz4"
   104      bottommost-compression-type: "zstd"
   105      filter-policy: "ribbon"
   106      disable-metrics: false
   107  
   108  snapshot-database: 
   109    enable: false
   110    cache-size: 512
   111    async-gen: true
   112  
   113  state: 
   114    cache-size: 512
   115    block-interval: 128
   116    tries-in-memory: 128
   117    trie-cache-limit: -1
   118    trie-cache-save-period: 0s
   119    live-pruning: false
   120    live-pruning-retention: 172800
   121  
   122  cache: 
   123    type: 2
   124    # scale: 0
   125    # level: 
   126    # memory: 0
   127    
   128  statedb: 
   129    cache: 
   130      type: LocalCache
   131      num-fetcher-prefetch-worker: 32
   132      use-snapshot-for-prefetch: false
   133      redis: 
   134        endpoints: ["192.168.11.12"]
   135        cluster: false
   136        publish: false
   137        subscribe: false
   138  
   139  servicechain:
   140    mainbridge: false
   141    mainbridge-port: 50505
   142    subbridge: false
   143    subbridge-port: 50506
   144    parent-chainid: 8217
   145    chain-tx-period: 1
   146    chain-tx-limit: 100
   147    vt-recovery: false
   148    vt-recovery-interval: 5
   149    new-account: false
   150    anchoring: false
   151    parent-operator-gaslimit: 10000000
   152    child-operator-gaslimit: 10000000
   153    consensus: istanbul
   154  
   155  txpool: 
   156    nolocals: false
   157    allow-local-anchortx: false
   158    deny-remote-tx: false
   159    journal: transactions.rlp
   160    journal-interval: 1h0m0s
   161    price-limit: 1
   162    price-bump: 10
   163    exec-slots: 
   164      account: 16
   165      all: 4096
   166    nonexec-slots: 
   167      account: 64
   168      all: 1024
   169    lifetime: 5m0s
   170    keeplocals: false
   171    spamthrottler: 
   172      disable: false
   173  
   174  http-rpc: 
   175    enable: false
   176    addr: localhost
   177    port: 8551
   178    api: ""
   179    gascap: 0
   180    eth-tx-feecap: 0.0
   181    read-timeout: 30
   182    write-timeout: 30
   183    idle-timeout: 120
   184    execution-timeout: 30
   185    concurrency-limit: 3000
   186    # cors-domain: ""
   187    vhosts: localhost
   188    eth-noncompatible: false
   189  
   190  ws-rpc: 
   191    enable: false
   192    addr: localhost
   193    port: 8552
   194    api: ""
   195    origins: ""
   196    max-subscription-per-conn: 3000
   197    # will be added again after bugfix
   198    # read-deadline: 0
   199    write-deadline: 0
   200    max-connections: 3000
   201  
   202  g-rpc: 
   203    enable: false
   204    addr: localhost
   205    port: 8553
   206  
   207  ipc: 
   208    disable: false
   209    path: ""
   210  
   211  console:
   212    js-path: .
   213    # exec: 
   214    # preload: 
   215  
   216  debug-profile: 
   217    verbosity: 3
   218    vmodule: ""
   219    backtrace: ""
   220    print-site: false
   221    pprof: 
   222      enable: false
   223      addr: 127.0.0.1
   224      port: 6060
   225    mem-profile: 
   226      file-name: ""
   227      rate: 524288
   228    block-profile: 
   229      rate: 0
   230    cpu-profile: 
   231      file-name: ""
   232    trace: 
   233      file-name: ""
   234  
   235  db-syncer: 
   236    enable: false
   237    log-mode: false
   238    mode: multi
   239    genquery-th: 50
   240    insert-thread: 30
   241    bulk-size: 20 
   242    event-mode: head
   243    block-channel-size: 5
   244    max-block-diff: 0
   245    db: 
   246      host: ""
   247      port: "3306"
   248      name: ""
   249      user: ""
   250      password: ""
   251      max-idle: 50
   252      max-open: 30
   253      max-lifetime: 1h
   254  
   255  chain-data-fetcher: 
   256    enable: false
   257    mode: kafka
   258    no-default: false
   259    num-handlers: 10
   260    job-channel-size: 50
   261    block-channel-size: 50
   262    max-processing-data-size: 500
   263    kafka: 
   264      # will be added again after bugfix
   265      # replicas: 1
   266      brokers: ["192.168.11.12"]
   267      partitions: 1
   268      topic: 
   269        resource: en-0
   270        environment: local
   271      max-message-bytes: 1000000
   272      segment-size: 1000000
   273      required-acks: 1
   274      msg-version: "1.0"
   275      # producer-id: