2018-03-15 20:45:37 +00:00
|
|
|
ProtocolConfiguration:
|
|
|
|
Magic: 56753
|
2020-11-05 19:01:12 +00:00
|
|
|
MaxTraceableBlocks: 200000
|
2022-12-02 16:26:10 +00:00
|
|
|
TimePerBlock: 15s
|
2020-01-22 14:28:02 +00:00
|
|
|
MemPoolSize: 50000
|
2020-08-03 14:07:24 +00:00
|
|
|
StandbyCommittee:
|
Implement rpc server method: sendrawtransaction (#174)
* Added new config attributes: 'SecondsPerBlock','LowPriorityThreshold'
* Added new files:
* Added new method: CompareTo
* Fixed empty Slice case
* Added new methods: LessThan, GreaterThan, Equal, CompareTo
* Added new method: InputIntersection
* Added MaxTransactionSize, GroupOutputByAssetID
* Added ned method: ScriptHash
* Added new method: IsDoubleSpend
* Refactor blockchainer, Added Feer interface, Verify and GetMemPool method
* 1) Added MemPool
2) Added new methods to satisfy the blockchainer interface: IsLowPriority, Verify, GetMemPool
* Added new methods: RelayTxn, RelayDirectly
* Fixed tests
* Implemented RPC server method sendrawtransaction
* Refactor getrawtransaction, sendrawtransaction in separate methods
* Moved 'secondsPerBlock' to config file
* Implemented Kim suggestions:
1) Fixed data race issues
2) refactor Verify method
3) Get rid of unused InputIntersection method due to refactoring Verify method
4) Fixed bug in https://github.com/CityOfZion/neo-go/pull/174#discussion_r264108135
5) minor simplications of the code
* Fixed minor issues related to
1) space
2) getter methods do not need pointer on the receiver
3) error message
4) refactoring CompareTo method in uint256.go
* Fixed small issues
* Use sync.RWMutex instead of sync.Mutex
* Refined (R)Lock/(R)Unlock
* return error instead of bool in Verify methods
2019-03-20 12:30:05 +00:00
|
|
|
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
|
|
|
- 02103a7f7dd016558597f7960d27c516a4394fd968b9e65155eb4b013e4040406e
|
|
|
|
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
|
|
|
|
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
|
2020-08-10 12:33:26 +00:00
|
|
|
ValidatorsCount: 4
|
2018-03-15 20:45:37 +00:00
|
|
|
SeedList:
|
2022-06-30 13:18:41 +00:00
|
|
|
- localhost:20333
|
|
|
|
- localhost:20334
|
|
|
|
- localhost:20335
|
|
|
|
- localhost:20336
|
2019-10-11 14:46:47 +00:00
|
|
|
VerifyBlocks: true
|
|
|
|
VerifyTransactions: true
|
2021-02-15 16:20:18 +00:00
|
|
|
P2PSigExtensions: false
|
2021-03-11 11:39:51 +00:00
|
|
|
NativeActivations:
|
|
|
|
ContractManagement: [0]
|
|
|
|
StdLib: [0]
|
|
|
|
CryptoLib: [0]
|
|
|
|
LedgerContract: [0]
|
|
|
|
NeoToken: [0]
|
|
|
|
GasToken: [0]
|
|
|
|
PolicyContract: [0]
|
|
|
|
RoleManagement: [0]
|
|
|
|
OracleContract: [0]
|
2018-03-15 20:45:37 +00:00
|
|
|
|
|
|
|
ApplicationConfiguration:
|
2019-11-05 12:22:07 +00:00
|
|
|
# LogPath could be set up in case you need stdout logs to some proper file.
|
|
|
|
# LogPath: "./log/neogo.log"
|
2019-09-10 14:22:21 +00:00
|
|
|
DBConfiguration:
|
2021-08-18 12:39:12 +00:00
|
|
|
Type: "leveldb" #other options: 'inmemory','boltdb'
|
2019-09-10 14:22:21 +00:00
|
|
|
# DB type options. Uncomment those you need in case you want to switch DB type.
|
|
|
|
LevelDBOptions:
|
|
|
|
DataDirectoryPath: "./chains/privnet"
|
2019-09-14 07:28:43 +00:00
|
|
|
# BoltDBOptions:
|
|
|
|
# FilePath: "./chains/privnet.bolt"
|
2022-12-06 19:35:37 +00:00
|
|
|
P2P:
|
|
|
|
Addresses:
|
|
|
|
- ":20332" # in form of "[host]:[port][:announcedPort]"
|
|
|
|
DialTimeout: 3s
|
|
|
|
ProtoTickInterval: 2s
|
|
|
|
PingInterval: 30s
|
|
|
|
PingTimeout: 90s
|
|
|
|
MaxPeers: 10
|
|
|
|
AttemptConnPeers: 5
|
|
|
|
MinPeers: 3
|
2018-03-15 20:45:37 +00:00
|
|
|
Relay: true
|
2022-12-06 09:29:12 +00:00
|
|
|
Consensus:
|
|
|
|
Enabled: false
|
|
|
|
UnlockWallet:
|
|
|
|
Path: "/cn_wallet.json"
|
|
|
|
Password: "pass"
|
2021-02-15 16:20:18 +00:00
|
|
|
P2PNotary:
|
|
|
|
Enabled: false
|
|
|
|
UnlockWallet:
|
|
|
|
Path: "/notary_wallet.json"
|
|
|
|
Password: "pass"
|
2019-11-01 10:23:46 +00:00
|
|
|
RPC:
|
|
|
|
Enabled: true
|
2022-11-25 10:20:53 +00:00
|
|
|
Addresses:
|
|
|
|
- ":20331"
|
2020-12-22 09:25:34 +00:00
|
|
|
MaxGasInvoke: 15
|
2019-11-01 10:23:46 +00:00
|
|
|
EnableCORSWorkaround: false
|
2022-06-15 18:23:29 +00:00
|
|
|
SessionEnabled: true
|
|
|
|
SessionExpirationTime: 180 # higher expiration time for manual requests and tests.
|
2020-03-10 11:56:18 +00:00
|
|
|
TLSConfig:
|
|
|
|
Enabled: false
|
2022-11-25 10:20:53 +00:00
|
|
|
Addresses:
|
|
|
|
- ":20330"
|
2020-03-10 11:56:18 +00:00
|
|
|
CertFile: serv.crt
|
|
|
|
KeyFile: serv.key
|
2019-12-04 06:48:32 +00:00
|
|
|
Prometheus:
|
2019-10-29 17:51:17 +00:00
|
|
|
Enabled: true
|
2022-11-25 10:20:53 +00:00
|
|
|
Addresses:
|
|
|
|
- ":2112"
|
2019-12-04 06:48:32 +00:00
|
|
|
Pprof:
|
|
|
|
Enabled: false
|
2022-11-25 10:20:53 +00:00
|
|
|
Addresses:
|
|
|
|
- ":2113"
|