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

     1  # This is a TOML document.
     2  
     3  title = "OG Mainnet configuration"
     4  
     5  [log]
     6  level = "info"
     7  
     8  [rpc]
     9  enabled = true
    10  port = 8000
    11  
    12  [p2p]
    13  enabled = true
    14  bootstrap_node = false
    15  port = 8001
    16  max_peers = 50
    17  network_id = 1
    18  enable_sync = true
    19  
    20  bootstrap_nodes = "onode://6caae3f8faba3a135e2bd21d48a3be09c45653c4484fe396ac28c838ffc6b6d203295a7f963162687ec7d402157bbfaf8b602017a26945b13a98dc5a7eb43b5c@47.100.222.11:8001"
    21  # node_key = "3fa29b2f6b83e037e2573545a6d9c06c0809aeb929cc8c14f992546ae5530b7d"
    22  no_encryption = false 
    23  
    24  [websocket]
    25  enabled = true
    26  port = 8002
    27  
    28  [profiling]
    29  port = 8003
    30  
    31  [db]
    32  name = "leveldb"
    33  
    34  [leveldb]
    35  path = "/rw/datadir_1"
    36  cache = 16
    37  handles = 16
    38  
    39  [statedb]
    40  flush_timer_s = 5
    41  purge_timer_s = 10
    42  beat_expire_time_s = 300
    43  
    44  [txpool]
    45  queue_size = 100
    46  tips_size = 1000
    47  reset_duration = 10
    48  tx_verify_time = 2
    49  tx_valid_time = 100
    50  timeout_pool_queue_ms = 10000
    51  timeout_subscriber_ms = 10000
    52  timeout_confirmation_ms = 10000
    53  timeout_latest_seq_ms = 10000
    54  
    55  [auto_client]
    56  # whether auto_tx will maintain its own nonce records.
    57  # false to query latest nonce every time.
    58  nonce_self_discipline = false
    59  
    60  [auto_client.sequencer]
    61  enabled = false
    62  interval_us = 5_000_000
    63  
    64  [auto_client.tx]
    65  enabled = false
    66  interval_us = 500_000
    67  account_ids = [0,1]
    68  interval_mode = "random"
    69  
    70  [auto_client.archive]
    71  enabled = false
    72  interval_us = 500_000
    73  
    74  [debug]
    75  node_id = 1
    76  
    77  [hub]
    78  sync_cycle_ms = 10000
    79  disable_encrypt_gossip = false
    80  
    81  [crypto]
    82  # ed25519 or secp256k1
    83  algorithm = "secp256k1"
    84  
    85  [dag]
    86  genesis_path = "genesis.json"
    87  
    88  [annsensus]
    89  campaign = false
    90  disable_term_change = true
    91  partner_number = 4
    92  threshold = 4
    93  genesis_pk ="0x0104994735dfcf60eb43bb5286334a7a83b622685fc3feb92247c65cc4b4cd55497fbc767f2e59a222abb650e5f411d9f7b6266b49439cdb348d859e33e89846bcaf;0x01046ce80b57488632dd7fc1488f5c2ed4746b16e2656b9ec7793f6f7d23663a5bd68ba37a00313d55042480c23b98b2cbee334eda939eab12a737f4a5d3e646da93;0x0104329ad4860f4835427efe677cecfda463e9fa0be722b41d64109197499b2804fbe9fa41416191c81fc9f819f83fad0a891a4eb3c5ee7d7122c8a6c948f71c8028;0x0104f25bceb564a148de47ba2725eaa4f88898d54dee044d8bbf75b4f209edd67a0e21ab145e249a5dd236a7bd9d7bb42ef24c30fb9da94d8001faac29588c61c45b"
    94  consensus_path ="consensus.json"
    95  #disable consensus module
    96  disable = false
    97   # after 10 sequencer , will term change
    98  term_change_interval = 10
    99  
   100  mode = "normal"
   101  
   102  # samples below
   103  
   104  #[owner]
   105  #name = "Tom Preston-Werner"
   106  #dob = 1979-05-27T07:32:00-08:00 # First class dates
   107  #
   108  #[database]
   109  #server = "192.168.1.1"
   110  #ports = [ 8001, 8001, 8002 ]
   111  #connection_max = 5000
   112  #enabled = true
   113  #
   114  #[servers]
   115  #
   116  #  # Indentation (tabs and/or spaces) is allowed but not required
   117  #  [servers.alpha]
   118  #  ip = "10.0.0.1"
   119  #  dc = "eqdc10"
   120  #
   121  #  [servers.beta]
   122  #  ip = "10.0.0.2"
   123  #  dc = "eqdc10"
   124  #
   125  #[clients]
   126  #data = [ ["gamma", "delta"], [1, 2] ]
   127  #
   128  ## Line breaks are OK when inside arrays
   129  #hosts = [
   130  #  "alpha",
   131  #  "omega"
   132  #]