2018-03-15 20:45:37 +00:00
|
|
|
ProtocolConfiguration:
|
|
|
|
Magic: 56753
|
2025-02-19 13:09:55 +03:00
|
|
|
MaxTraceableBlocks: 10
|
|
|
|
TimePerBlock: 1s
|
2020-01-22 17:28:02 +03:00
|
|
|
MemPoolSize: 50000
|
2020-08-03 17:07:24 +03: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 13:30:05 +01:00
|
|
|
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
|
|
|
- 02103a7f7dd016558597f7960d27c516a4394fd968b9e65155eb4b013e4040406e
|
|
|
|
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
|
|
|
|
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
|
2020-08-10 15:33:26 +03:00
|
|
|
ValidatorsCount: 4
|
2018-03-15 20:45:37 +00:00
|
|
|
SeedList:
|
2025-02-19 13:09:55 +03:00
|
|
|
- node_one:20333
|
|
|
|
- node_two:20334
|
|
|
|
- node_three:20335
|
|
|
|
- node_four:20336
|
2019-10-11 17:46:47 +03:00
|
|
|
VerifyTransactions: true
|
2025-02-19 13:09:55 +03:00
|
|
|
P2PSigExtensions: true
|
|
|
|
StateRootInHeader: true
|
2018-03-15 20:45:37 +00:00
|
|
|
|
|
|
|
ApplicationConfiguration:
|
2025-02-19 13:09:55 +03:00
|
|
|
GarbageCollectionPeriod: 1
|
|
|
|
RemoveUntraceableBlocks: true
|
|
|
|
# research
|
2022-12-06 18:13:40 +03:00
|
|
|
SkipBlockVerification: false
|
2019-11-05 15:22:07 +03:00
|
|
|
# LogPath could be set up in case you need stdout logs to some proper file.
|
|
|
|
# LogPath: "./log/neogo.log"
|
2019-09-10 17:22:21 +03:00
|
|
|
DBConfiguration:
|
2025-02-19 13:09:55 +03:00
|
|
|
Type: "boltdb" #other options: 'inmemory','boltdb'
|
2019-09-10 17:22:21 +03:00
|
|
|
# DB type options. Uncomment those you need in case you want to switch DB type.
|
2025-02-19 13:09:55 +03:00
|
|
|
# LevelDBOptions:
|
|
|
|
# DataDirectoryPath: "/chains/one"
|
|
|
|
BoltDBOptions:
|
|
|
|
FilePath: "./chains/privnet1.bolt"
|
2022-12-06 22:35:37 +03:00
|
|
|
P2P:
|
|
|
|
Addresses:
|
2025-02-19 13:09:55 +03:00
|
|
|
- ":20333" # in form of "[host]:[port][:announcedPort]"
|
2022-12-06 22:35:37 +03:00
|
|
|
DialTimeout: 3s
|
|
|
|
ProtoTickInterval: 2s
|
|
|
|
PingInterval: 30s
|
|
|
|
PingTimeout: 90s
|
|
|
|
MaxPeers: 10
|
|
|
|
AttemptConnPeers: 5
|
2025-02-19 13:09:55 +03:00
|
|
|
MinPeers: 2
|
2018-03-15 20:45:37 +00:00
|
|
|
Relay: true
|
2025-02-19 13:09:55 +03:00
|
|
|
Oracle:
|
2022-12-06 12:29:12 +03:00
|
|
|
Enabled: false
|
2025-02-19 13:09:55 +03:00
|
|
|
AllowedContentTypes:
|
|
|
|
- application/json
|
|
|
|
Nodes:
|
|
|
|
- http://node_one:30333
|
|
|
|
- http://node_two:30334
|
|
|
|
- http://node_three:30335
|
|
|
|
- http://node_four:30336
|
|
|
|
RequestTimeout: 5s
|
2022-12-06 12:29:12 +03:00
|
|
|
UnlockWallet:
|
2025-02-19 13:09:55 +03:00
|
|
|
Path: "/wallet1.json"
|
|
|
|
Password: "one"
|
2021-02-15 19:20:18 +03:00
|
|
|
P2PNotary:
|
2025-02-19 13:09:55 +03:00
|
|
|
Enabled: true
|
2021-02-15 19:20:18 +03:00
|
|
|
UnlockWallet:
|
2025-02-19 13:09:55 +03:00
|
|
|
Path: "/wallet1.json"
|
|
|
|
Password: "one"
|
2019-11-01 13:23:46 +03:00
|
|
|
RPC:
|
|
|
|
Enabled: true
|
2025-02-19 13:09:55 +03:00
|
|
|
TLSConfig:
|
|
|
|
Enabled: false
|
2022-11-25 13:20:53 +03:00
|
|
|
Addresses:
|
2025-02-19 13:09:55 +03:00
|
|
|
- ":30333"
|
|
|
|
MaxGasInvoke: 150
|
2019-11-01 13:23:46 +03:00
|
|
|
EnableCORSWorkaround: false
|
2022-06-15 21:23:29 +03:00
|
|
|
SessionEnabled: true
|
2019-12-04 09:48:32 +03:00
|
|
|
Prometheus:
|
2019-10-29 20:51:17 +03:00
|
|
|
Enabled: true
|
2022-11-25 13:20:53 +03:00
|
|
|
Addresses:
|
2025-02-19 13:09:55 +03:00
|
|
|
- ":20001"
|
2019-12-04 09:48:32 +03:00
|
|
|
Pprof:
|
|
|
|
Enabled: false
|
2022-11-25 13:20:53 +03:00
|
|
|
Addresses:
|
2025-02-19 13:09:55 +03:00
|
|
|
- ":20011"
|
|
|
|
Consensus:
|
|
|
|
Enabled: true
|
|
|
|
UnlockWallet:
|
|
|
|
Path: "/wallet1.json"
|
|
|
|
Password: "one"
|