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

     1  ProtocolConfiguration:
     2    Magic: 42
     3    MaxTraceableBlocks: 200000
     4    TimePerBlock: 100ms
     5    MemPoolSize: 100
     6    StandbyCommittee:
     7      - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
     8    ValidatorsCount: 1
     9    VerifyTransactions: true
    10    P2PSigExtensions: true
    11    Hardforks:
    12      Aspidochelone: 25
    13  
    14  ApplicationConfiguration:
    15    SkipBlockVerification: false
    16    # LogPath could be set up in case you need stdout logs to some proper file.
    17    # LogPath: "./log/neogo.log"
    18    DBConfiguration:
    19      Type: "inmemory" #other options: 'inmemory','boltdb'
    20      # DB type options. Uncomment those you need in case you want to switch DB type.
    21    #    LevelDBOptions:
    22    #        DataDirectoryPath: "./chains/unit_testnet"
    23    #    BoltDBOptions:
    24    #      FilePath: "./chains/unit_testnet.bolt"
    25    P2P:
    26      Addresses:
    27        - ":0" # in form of "[host]:[port][:announcedPort]"
    28      DialTimeout: 3s
    29      ProtoTickInterval: 2s
    30      PingInterval: 30s
    31      PingTimeout: 90s
    32      MinPeers: 0
    33      MaxPeers: 10
    34      AttemptConnPeers: 5
    35    Relay: true
    36    Consensus:
    37      Enabled: true
    38      UnlockWallet:
    39        Path: "../testdata/wallet1_solo.json"
    40        Password: "one"
    41    RPC:
    42      MaxGasInvoke: 15
    43      Enabled: true
    44      Addresses:
    45        - "127.0.0.1:0" # let the system choose port dynamically
    46      EnableCORSWorkaround: false
    47    Prometheus:
    48      Enabled: false #since it's not useful for unit tests.
    49      Addresses:
    50        - ":2112"
    51    Pprof:
    52      Enabled: false #since it's not useful for unit tests.
    53      Addresses:
    54        - ":2113"