github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/config/protocol.unit_testnet.yml (about)

     1  ProtocolConfiguration:
     2    Magic: 42
     3    MaxTraceableBlocks: 200000
     4    TimePerBlock: 15s
     5    MemPoolSize: 50000
     6    StandbyCommittee:
     7      - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
     8      - 02103a7f7dd016558597f7960d27c516a4394fd968b9e65155eb4b013e4040406e
     9      - 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
    10      - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
    11      - 02c429b3ea1aa486cb2edfd6e99d8055c1f81f1a9206664e2c40a586d187257557
    12      - 02c4de32252c50fa171dbe25379e4e2d55cdc12f69e382c39f59a44573ecff2f9d
    13    ValidatorsCount: 4
    14    SeedList:
    15      - 127.0.0.1:20334
    16      - 127.0.0.1:20335
    17      - 127.0.0.1:20336
    18    VerifyTransactions: true
    19    P2PSigExtensions: true
    20    Hardforks:
    21      Aspidochelone: 25
    22  
    23  ApplicationConfiguration:
    24    SkipBlockVerification: false
    25    # LogPath could be set up in case you need stdout logs to some proper file.
    26    # LogPath: "./log/neogo.log"
    27    DBConfiguration:
    28      Type: "inmemory" #other options: 'inmemory','boltdb'
    29      # DB type options. Uncomment those you need in case you want to switch DB type.
    30    #    LevelDBOptions:
    31    #        DataDirectoryPath: "./chains/unit_testnet"
    32    #    BoltDBOptions:
    33    #      FilePath: "./chains/unit_testnet.bolt"
    34    P2P:
    35      Addresses:
    36        - ":20333" # in form of "[host]:[port][:announcedPort]"
    37      DialTimeout: 3s
    38      ProtoTickInterval: 2s
    39      PingInterval: 30s
    40      PingTimeout: 90s
    41      MaxPeers: 50
    42      AttemptConnPeers: 5
    43      MinPeers: 0
    44    Relay: true
    45    RPC:
    46      MaxGasInvoke: 15
    47      Enabled: true
    48      Addresses:
    49        - "127.0.0.1:0" # let the system choose port dynamically
    50      EnableCORSWorkaround: false
    51      SessionEnabled: true
    52      SessionExpirationTime: 2 # enough for tests as they run locally.
    53      MaxFindStoragePageSize: 2 # small value to test server-side paging
    54    Prometheus:
    55      Enabled: false #since it's not useful for unit tests.
    56      Addresses:
    57        - ":2112"
    58    Pprof:
    59      Enabled: false #since it's not useful for unit tests.
    60      Addresses:
    61        - ":2113"