mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 23:33:37 +00:00
1ac60ada19
Refs. #2379, but not completely solves it, one package seriously outweights others: ? github.com/nspcc-dev/neo-go/cli [no test files] ok github.com/nspcc-dev/neo-go/cli/app 0.036s coverage: 100.0% of statements ok github.com/nspcc-dev/neo-go/cli/cmdargs 0.011s coverage: 60.8% of statements ok github.com/nspcc-dev/neo-go/cli/flags 0.009s coverage: 97.7% of statements ? github.com/nspcc-dev/neo-go/cli/input [no test files] ok github.com/nspcc-dev/neo-go/cli/options 0.033s coverage: 50.0% of statements ? github.com/nspcc-dev/neo-go/cli/paramcontext [no test files] ok github.com/nspcc-dev/neo-go/cli/query 2.155s coverage: 45.3% of statements ok github.com/nspcc-dev/neo-go/cli/server 1.373s coverage: 67.8% of statements ok github.com/nspcc-dev/neo-go/cli/smartcontract 8.819s coverage: 94.3% of statements ok github.com/nspcc-dev/neo-go/cli/util 0.006s coverage: 10.9% of statements ? github.com/nspcc-dev/neo-go/cli/vm [no test files] ok github.com/nspcc-dev/neo-go/cli/wallet 72.103s coverage: 88.2% of statements Still a nice thing to have.
66 lines
1.7 KiB
YAML
66 lines
1.7 KiB
YAML
ProtocolConfiguration:
|
|
Magic: 42
|
|
MaxTraceableBlocks: 200000
|
|
SecondsPerBlock: 1
|
|
MemPoolSize: 100
|
|
StandbyCommittee:
|
|
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
|
ValidatorsCount: 1
|
|
VerifyBlocks: true
|
|
VerifyTransactions: true
|
|
P2PSigExtensions: true
|
|
NativeActivations:
|
|
ContractManagement: [0]
|
|
StdLib: [0]
|
|
CryptoLib: [0]
|
|
LedgerContract: [0]
|
|
NeoToken: [0]
|
|
GasToken: [0]
|
|
PolicyContract: [0]
|
|
RoleManagement: [0]
|
|
OracleContract: [0]
|
|
Notary: [0]
|
|
Hardforks:
|
|
Aspidochelone: 25
|
|
|
|
ApplicationConfiguration:
|
|
# LogPath could be set up in case you need stdout logs to some proper file.
|
|
# LogPath: "./log/neogo.log"
|
|
DBConfiguration:
|
|
Type: "inmemory" #other options: 'inmemory','boltdb'
|
|
# DB type options. Uncomment those you need in case you want to switch DB type.
|
|
# LevelDBOptions:
|
|
# DataDirectoryPath: "./chains/unit_testnet"
|
|
# BoltDBOptions:
|
|
# FilePath: "./chains/unit_testnet.bolt"
|
|
# Uncomment in order to set up custom address for node.
|
|
# Address: localhost
|
|
NodePort: 0
|
|
Relay: true
|
|
DialTimeout: 3
|
|
ProtoTickInterval: 2
|
|
PingInterval: 30
|
|
PingTimeout: 90
|
|
MinPeers: 0
|
|
MaxPeers: 10
|
|
AttemptConnPeers: 5
|
|
UnlockWallet:
|
|
Path: "../testdata/wallet1_solo.json"
|
|
Password: "one"
|
|
P2PNotary:
|
|
Enabled: false
|
|
UnlockWallet:
|
|
Path: "/notary_wallet.json"
|
|
Password: "pass"
|
|
RPC:
|
|
Address: localhost
|
|
MaxGasInvoke: 15
|
|
Enabled: true
|
|
EnableCORSWorkaround: false
|
|
Port: 0 # let the system choose port dynamically
|
|
Prometheus:
|
|
Enabled: false #since it's not useful for unit tests.
|
|
Port: 2112
|
|
Pprof:
|
|
Enabled: false #since it's not useful for unit tests.
|
|
Port: 2113
|