📜  矿工 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:50.999000             🧑  作者: Mango

代码示例1
async_blocks_fetching:
  max_simultaneous_from_miners: 100
  max_simultaneous_from_sharders: 30
cassandra:
  connection:
    delay: 10
    retries: 10
delegate_wallet: ""
development:
  dkg: true
  faucet:
    refill_amount: 1000000000000000
  smart_contract:
    faucet: true
    interest: true
    miner: true
    multisig: true
    storage: true
    vesting: true
    zrc20: true
  state: true
  txn_generation:
    max_transactions: 0
    max_txn_fee: 0.01
    max_txn_value: 10000000000
    min_txn_fee: 0.01
    min_txn_value: 100
    wallets: 50
  view_change: false
integration_tests:
  address: host.docker.internal:15210
  lock_interval: 1s
logging:
  console: false
  goroutines: false
  level: debug
  memlog: false
max_stake: 100
min_stake: 0
minio:
  delete_local_copy: true
  enabled: true
  num_workers: 40
  old_block_round_range: 200
  use_ssl: false
  worker_frequency: 300
network:
  initial_states: config/initial-state.yaml
  large_message_th_size: 5120
  magic_block_file: config/magicBlock.json
  max_concurrent_requests: 40
  n2n_handlers:
    rate_limit: 10000000000
  relay_time: 200
  timeout:
    large_message: 3000
    small_message: 1000
  user_handlers:
    rate_limit: 100000000
number_of_delegates: 10
server_chain:
  async_blocks_fetching:
    max_simultaneous_from_miners: 100
    max_simultaneous_from_sharders: 30
  block:
    consensus:
      threshold_by_count: 66
      threshold_by_stake: 0
    generation:
      retry_wait_time: 5
      timeout: 15
    generators: 2
    max_block_size: 10
    max_byte_size: 1638400
    min_block_size: 1
    proposal:
      max_wait_time: 180
      wait_mode: static
    replicators: 0
    reuse_txns: false
    sharding:
      min_active_replicators: 25
      min_active_sharders: 25
    storage:
      provider: blockstore.FSBlockStore
    validation:
      batch_size: 1000
  client:
    discover: true
    signature_scheme: bls0chain
  decimals: 10
  genesis_block:
    id: ed79cae70d439c11258236da1dfa6fc550f7cc569768304623e8fbd7d70efae4
  health_check:
    deep_scan:
      batch_size: 50
      enabled: false
      repeat_interval_mins: 3
      report_status_mins: 1
      settle_secs: 30
      window: 0
    proximity_scan:
      batch_size: 50
      enabled: true
      repeat_interval_mins: 1
      report_status_mins: 1
      settle_secs: 30
      window: 100
    show_counters: true
  id: 0afc093ffb509f059c55478bc1a60351cef7b4e9c008a53a6cc8241ca8617dfe
  lfb_ticket:
    ahead: 5
    fb_fetching_lifetime: 10s
    rebroadcast_timeout: 15s
  messages:
    verification_tickets_to: all_miners
  owner: edb90b850f2e7e7cbd0a1fa370fdcc5cd378ffbec95363a7bc0e5a98b8ba5759
  round_dkg_storage:
    prune_below_count: 5
  round_magic_block_storage:
    prune_below_count: 5
  round_range: 10000000
  round_timeouts:
    round_restart_mult: 2
    softto_min: 3000
    softto_mult: 3
    timeout_cap: 3
  smart_contract:
    timeout: 8000
  state:
    prune_below_count: 100
    sync:
      timeout: 10
  stuck:
    check_interval: 10
    time_threshold: 60
  tokens: 200000000
  transaction:
    min_fee: 0
    payload:
      max_size: 98304
    timeout: 30
service_charge: 0.1
version: 1
zerochain:
  decimals: 10
  genesis_block:
    id: ed79cae70d439c11258236da1dfa6fc550f7cc569768304623e8fbd7d70efae4
  id: 0afc093ffb509f059c55478bc1a60351cef7b4e9c008a53a6cc8241ca8617dfe