2018-03-15 20:45:37 +00:00
|
|
|
ProtocolConfiguration:
|
|
|
|
Magic: 1953787457
|
|
|
|
AddressVersion: 23
|
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
|
|
|
SecondsPerBlock: 15
|
2020-06-23 10:39:19 +00:00
|
|
|
EnableStateRoot: true
|
|
|
|
StateRootEnableIndex: 4380100
|
2020-12-02 13:52:04 +00:00
|
|
|
KeepOnlyLatestState: false
|
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
|
|
|
LowPriorityThreshold: 0.000
|
2020-01-22 14:28:02 +00:00
|
|
|
MemPoolSize: 50000
|
2021-07-29 07:37:37 +00:00
|
|
|
NoBonusHeight: 8000000
|
2018-03-15 20:45:37 +00:00
|
|
|
StandbyValidators:
|
|
|
|
- 0327da12b5c40200e9f65569476bbff2218da4f32548ff43b6387ec1416a231ee8
|
|
|
|
- 026ce35b29147ad09e4afe4ec4a7319095f08198fa8babbe3c56e970b143528d22
|
|
|
|
- 0209e7fd41dfb5c2f8dc72eb30358ac100ea8c72da18847befe06eade68cebfcb9
|
|
|
|
- 039dafd8571a641058ccc832c5e2111ea39b09c0bde36050914384f7a48bce9bf9
|
|
|
|
- 038dddc06ce687677a53d54f096d2591ba2302068cf123c1f2d75c2dddc5425579
|
|
|
|
- 02d02b1873a0863cd042cc717da31cea0d7cf9db32b74d4c72c01b0011503e2e22
|
|
|
|
- 034ff5ceeac41acf22cd5ed2da17a6df4dd8358fcb2bfb1a43208ad0feaab2746b
|
|
|
|
SeedList:
|
2019-09-11 12:10:02 +00:00
|
|
|
- seed1.ngd.network:20333
|
|
|
|
- seed2.ngd.network:20333
|
|
|
|
- seed3.ngd.network:20333
|
|
|
|
- seed4.ngd.network:20333
|
|
|
|
- seed5.ngd.network:20333
|
|
|
|
- seed6.ngd.network:20333
|
|
|
|
- seed7.ngd.network:20333
|
|
|
|
- seed8.ngd.network:20333
|
|
|
|
- seed9.ngd.network:20333
|
|
|
|
- seed10.ngd.network:20333
|
2018-03-15 20:45:37 +00:00
|
|
|
SystemFee:
|
|
|
|
EnrollmentTransaction: 10
|
|
|
|
IssueTransaction: 5
|
|
|
|
PublishTransaction: 5
|
|
|
|
RegisterTransaction: 100
|
2019-10-11 14:46:47 +00:00
|
|
|
VerifyBlocks: true
|
|
|
|
VerifyTransactions: false
|
2020-09-15 15:49:20 +00:00
|
|
|
FreeGasLimit: {0: 10.0, 4840000: 50.0}
|
|
|
|
MaxTransactionsPerBlock: {0: 500, 4840000: 200}
|
|
|
|
MaxFreeTransactionsPerBlock: {0: 20, 4840000: 199}
|
2020-02-18 17:16:38 +00:00
|
|
|
MaxFreeTransactionSize: 1024
|
2020-09-11 12:41:08 +00:00
|
|
|
MinimumNetworkFee: 0
|
2020-02-18 17:16:38 +00:00
|
|
|
FeePerExtraByte: 0.00001
|
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:
|
2020-04-08 14:14:58 +00:00
|
|
|
Type: "leveldb" #other options: 'inmemory','redis','boltdb', 'badgerdb'.
|
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/testnet"
|
|
|
|
# RedisDBOptions:
|
|
|
|
# Addr: "localhost:6379"
|
|
|
|
# Password: ""
|
|
|
|
# DB: 0
|
2019-09-14 07:28:43 +00:00
|
|
|
# BoltDBOptions:
|
|
|
|
# FilePath: "./chains/testnet.bolt"
|
2020-04-08 14:14:58 +00:00
|
|
|
# BadgerDBOptions:
|
|
|
|
# BadgerDir: "./chains/testnet.badger"
|
2019-11-05 12:22:07 +00:00
|
|
|
# Uncomment in order to set up custom address for node.
|
|
|
|
# Address: 127.0.0.1
|
2018-03-15 20:45:37 +00:00
|
|
|
NodePort: 20333
|
|
|
|
Relay: true
|
|
|
|
DialTimeout: 3
|
2018-03-25 10:45:54 +00:00
|
|
|
ProtoTickInterval: 2
|
2020-01-20 16:02:19 +00:00
|
|
|
PingInterval: 30
|
|
|
|
PingTimeout: 90
|
2019-11-06 12:17:20 +00:00
|
|
|
MaxPeers: 100
|
|
|
|
AttemptConnPeers: 20
|
2019-10-31 12:04:28 +00:00
|
|
|
MinPeers: 5
|
2019-11-01 10:23:46 +00:00
|
|
|
RPC:
|
|
|
|
Enabled: true
|
|
|
|
EnableCORSWorkaround: false
|
|
|
|
Port: 20332
|
2020-03-10 11:56:18 +00:00
|
|
|
TLSConfig:
|
|
|
|
Enabled: false
|
|
|
|
Port: 20331
|
|
|
|
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
|
|
|
|
Port: 2112
|
2019-12-04 06:48:32 +00:00
|
|
|
Pprof:
|
|
|
|
Enabled: false
|
|
|
|
Port: 2113
|