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

     1  # This is a TOML document.
     2  # Private net will not embed bootstrap node, networkid and mode inside toml
     3  title = "OG Private Net With Server archive mode configuration"
     4  
     5  [log]
     6  level = "info"
     7  
     8  [rpc]
     9  enabled = true
    10  port = 8000
    11  
    12  [p2p]
    13  enabled = true
    14  bootstrap_config_server = "http://ogboot:8008"
    15  #bootstrap_node = false
    16  port = 8001
    17  max_peers = 50
    18  #network_id = 1
    19  enable_sync = true
    20  
    21  #bootstrap_nodes = "onode://6caae3f8faba3a135e2bd21d48a3be09c45653c4484fe396ac28c838ffc6b6d203295a7f963162687ec7d402157bbfaf8b602017a26945b13a98dc5a7eb43b5c@47.100.222.11:8001"
    22  # node_key = "3fa29b2f6b83e037e2573545a6d9c06c0809aeb929cc8c14f992546ae5530b7d"
    23  no_encryption = false 
    24  
    25  [websocket]
    26  enabled = true
    27  port = 8002
    28  
    29  [profiling]
    30  port = 8003
    31  
    32  [db]
    33  name = "leveldb"
    34  
    35  [leveldb]
    36  path = "/rw/datadir_1"
    37  cache = 256
    38  handles = 256
    39  
    40  [statedb]
    41  flush_timer_s = 5
    42  purge_timer_s = 10
    43  beat_expire_time_s = 300
    44  
    45  [txpool]
    46  queue_size = 100
    47  tips_size = 1000
    48  reset_duration = 10
    49  tx_verify_time = 2
    50  tx_valid_time = 100
    51  timeout_pool_queue_ms = 10000
    52  timeout_subscriber_ms = 10000
    53  timeout_confirmation_ms = 10000
    54  timeout_latest_seq_ms = 10000
    55  
    56  [auto_client]
    57  # whether auto_tx will maintain its own nonce records.
    58  # false to query latest nonce every time.
    59  nonce_self_discipline = false
    60  
    61  [auto_client.sequencer]
    62  enabled = false
    63  interval_us = 5_000_000
    64  
    65  [auto_client.tx]
    66  enabled = false
    67  interval_us = 500_000
    68  account_ids = [0,1]
    69  interval_mode = "random"
    70  
    71  [auto_client.archive]
    72  enabled = false
    73  interval_us = 500_000
    74  
    75  [debug]
    76  node_id = 1
    77  
    78  [hub]
    79  sync_cycle_ms = 10000
    80  disable_encrypt_gossip = false
    81  
    82  [crypto]
    83  # ed25519 or secp256k1
    84  algorithm = "secp256k1"
    85  
    86  [dag]
    87  genesis_path = "genesis.json"
    88  
    89  [annsensus]
    90  campaign = true
    91  disable_term_change = true
    92  sequencerTime = 2000
    93  #partner_number = 4
    94  #threshold = 4
    95  #genesis_pk ="0x0104994735dfcf60eb43bb5286334a7a83b622685fc3feb92247c65cc4b4cd55497fbc767f2e59a222abb650e5f411d9f7b6266b49439cdb348d859e33e89846bcaf;0x01046ce80b57488632dd7fc1488f5c2ed4746b16e2656b9ec7793f6f7d23663a5bd68ba37a00313d55042480c23b98b2cbee334eda939eab12a737f4a5d3e646da93;0x0104329ad4860f4835427efe677cecfda463e9fa0be722b41d64109197499b2804fbe9fa41416191c81fc9f819f83fad0a891a4eb3c5ee7d7122c8a6c948f71c8028;0x0104f25bceb564a148de47ba2725eaa4f88898d54dee044d8bbf75b4f209edd67a0e21ab145e249a5dd236a7bd9d7bb42ef24c30fb9da94d8001faac29588c61c45b"
    96  consensus_path ="consensus.json"
    97  #disable consensus module
    98  disable = false
    99   # after 10 sequencer , will term change
   100  term_change_interval = 10
   101  
   102  mode = "archive"