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
|
|
|
|
LowPriorityThreshold: 0.000
|
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
|
2018-03-15 20:45:37 +00:00
|
|
|
|
|
|
|
ApplicationConfiguration:
|
2019-09-10 14:22:21 +00:00
|
|
|
DBConfiguration:
|
2019-09-14 07:28:43 +00:00
|
|
|
Type: "leveldb" #other options: 'inmemory','redis','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/testnet"
|
|
|
|
# RedisDBOptions:
|
|
|
|
# Addr: "localhost:6379"
|
|
|
|
# Password: ""
|
|
|
|
# DB: 0
|
2019-09-14 07:28:43 +00:00
|
|
|
# BoltDBOptions:
|
|
|
|
# FilePath: "./chains/testnet.bolt"
|
2018-03-15 20:45:37 +00:00
|
|
|
NodePort: 20333
|
|
|
|
Relay: true
|
|
|
|
DialTimeout: 3
|
2018-03-25 10:45:54 +00:00
|
|
|
ProtoTickInterval: 2
|
2018-03-15 20:45:37 +00:00
|
|
|
MaxPeers: 50
|
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
|
2019-10-29 17:51:17 +00:00
|
|
|
Monitoring:
|
|
|
|
Enabled: true
|
|
|
|
Port: 2112
|