github.com/annchain/OG@v0.0.9/config.toml (about)

     1  config = "config.toml"
     2  datadir = "D:\\ws\\git\\OG\\build\\solo"
     3  genkey = false
     4  log_line_number = false
     5  max_mined_hash = "0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
     6  max_tx_hash = "0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
     7  mode = "normal"
     8  multifile_by_level = false
     9  multifile_by_module = false
    10  title = "OG configuration"
    11  
    12  [annsensus]
    13    campaign = false
    14    consensus_path = "consensus.json"
    15    disable = true
    16    disable_term_change = true
    17    genesis_pk = "0x0104994735dfcf60eb43bb5286334a7a83b622685fc3feb92247c65cc4b4cd55497fbc767f2e59a222abb650e5f411d9f7b6266b49439cdb348d859e33e89846bcaf;0x01046ce80b57488632dd7fc1488f5c2ed4746b16e2656b9ec7793f6f7d23663a5bd68ba37a00313d55042480c23b98b2cbee334eda939eab12a737f4a5d3e646da93;0x0104329ad4860f4835427efe677cecfda463e9fa0be722b41d64109197499b2804fbe9fa41416191c81fc9f819f83fad0a891a4eb3c5ee7d7122c8a6c948f71c8028;0x0104f25bceb564a148de47ba2725eaa4f88898d54dee044d8bbf75b4f209edd67a0e21ab145e249a5dd236a7bd9d7bb42ef24c30fb9da94d8001faac29588c61c45b"
    18    term_change_interval = 10
    19  
    20  [auto_client]
    21    nonce_self_discipline = false
    22  
    23    [auto_client.archive]
    24      enabled = false
    25      interval_us = 500000
    26  
    27    [auto_client.sequencer]
    28      enabled = true
    29      interval_us = 5000000
    30  
    31    [auto_client.tx]
    32      account_ids = [0,1]
    33      enabled = false
    34      interval_mode = "random"
    35      interval_us = 500000
    36  
    37  [crypto]
    38    algorithm = "secp256k1"
    39  
    40  [dag]
    41    genesis_path = "genesis.json"
    42  
    43  [db]
    44    name = "leveldb"
    45  
    46  [debug]
    47    node_id = 1
    48  
    49  [hub]
    50    disable_encrypt_gossip = false
    51    incoming_buffer_size = 100
    52    message_cache_expiration_seconds = 60
    53    message_cache_max_size = 30000
    54    outgoing_buffer_size = 100
    55    sync_cycle_ms = 10000
    56  
    57  [leveldb]
    58    cache = 16
    59    handles = 16
    60    path = "rw/datadir_1"
    61  
    62  [log]
    63    level = "trace"
    64    log_dir = ""
    65  
    66  [p2p]
    67    bootstrap_node = true
    68    bootstrap_nodes = "onode://8f8e947f52fc5beac771bad7b997f47521c44a16719a585ccd1e8a0557f8c54d993225a6adfb9bb6a40232f0227cf88ab542ea4b1b4fd04116ee5119a552382b@127.0.0.1:8001"
    69    enable_sync = false
    70    enabled = false
    71    max_peers = 50
    72    network_id = "2"
    73    no_encryption = false
    74    node_key = "209f12ba8ace5bfa4421747afd67c2c975288fb731bf26ef88fb5c0f92cca913"
    75    port = 8001
    76  
    77  [profiling]
    78    port = 8003
    79  
    80  [rpc]
    81    enabled = true
    82    port = 8000
    83  
    84  [statedb]
    85    beat_expire_time_s = 300
    86    flush_timer_s = 5
    87    purge_timer_s = 10
    88  
    89  [tx_buffer]
    90    new_tx_queue_size = 1
    91  
    92  [txpool]
    93    queue_size = 100
    94    reset_duration = 10
    95    timeout_confirmation_ms = 10000
    96    timeout_latest_seq_ms = 10000
    97    timeout_pool_queue_ms = 10000
    98    timeout_subscriber_ms = 10000
    99    tips_size = 1000
   100    tx_valid_time = 100
   101    tx_verify_time = 2
   102  
   103  [websocket]
   104    enabled = true
   105    port = 8002