2019-01-22 12:14:52 +00:00
|
|
|
ProtocolConfiguration:
|
2020-06-14 19:40:52 +00:00
|
|
|
Magic: 42
|
2020-11-05 19:01:12 +00:00
|
|
|
MaxTraceableBlocks: 200000
|
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-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-27 14:42:19 +00:00
|
|
|
- 02c429b3ea1aa486cb2edfd6e99d8055c1f81f1a9206664e2c40a586d187257557
|
|
|
|
- 02c4de32252c50fa171dbe25379e4e2d55cdc12f69e382c39f59a44573ecff2f9d
|
2020-08-03 12:00:27 +00:00
|
|
|
ValidatorsCount: 4
|
2019-01-22 12:14:52 +00:00
|
|
|
SeedList:
|
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
|
|
|
- 127.0.0.1:20334
|
|
|
|
- 127.0.0.1:20335
|
|
|
|
- 127.0.0.1:20336
|
2019-10-11 14:46:47 +00:00
|
|
|
VerifyBlocks: true
|
|
|
|
VerifyTransactions: true
|
2020-11-18 08:59:34 +00:00
|
|
|
P2PSigExtensions: true
|
2019-01-22 12:14:52 +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: "inmemory" #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.
|
2019-09-10 20:21:26 +00:00
|
|
|
# LevelDBOptions:
|
|
|
|
# DataDirectoryPath: "./chains/unit_testnet"
|
2019-09-10 14:22:21 +00:00
|
|
|
# RedisDBOptions:
|
|
|
|
# Addr: "localhost:6379"
|
|
|
|
# Password: ""
|
|
|
|
# DB: 0
|
2019-09-14 07:28:43 +00:00
|
|
|
# BoltDBOptions:
|
|
|
|
# FilePath: "./chains/unit_testnet.bolt"
|
2020-04-08 14:14:58 +00:00
|
|
|
# BadgerDBOptions:
|
|
|
|
# BadgerDir: "./chains/unit_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
|
2019-01-22 12:14:52 +00:00
|
|
|
NodePort: 20333
|
|
|
|
Relay: true
|
|
|
|
DialTimeout: 3
|
|
|
|
ProtoTickInterval: 2
|
2020-01-20 16:02:19 +00:00
|
|
|
PingInterval: 30
|
|
|
|
PingTimeout: 90
|
2019-01-22 12:14:52 +00:00
|
|
|
MaxPeers: 50
|
2019-11-06 12:17:20 +00:00
|
|
|
AttemptConnPeers: 5
|
2019-10-31 12:04:28 +00:00
|
|
|
MinPeers: 1
|
2019-11-01 10:23:46 +00:00
|
|
|
RPC:
|
2020-05-09 20:59:21 +00:00
|
|
|
Address: 127.0.0.1
|
2020-12-16 13:11:12 +00:00
|
|
|
MaxGasInvoke: 15
|
2019-11-01 10:23:46 +00:00
|
|
|
Enabled: true
|
|
|
|
EnableCORSWorkaround: false
|
2020-05-09 20:59:21 +00:00
|
|
|
Port: 0 # let the system choose port dynamically
|
2019-12-04 06:48:32 +00:00
|
|
|
Prometheus:
|
2019-10-29 17:51:17 +00:00
|
|
|
Enabled: false #since it's not useful for unit tests.
|
|
|
|
Port: 2112
|
2019-12-04 06:48:32 +00:00
|
|
|
Pprof:
|
|
|
|
Enabled: false #since it's not useful for unit tests.
|
|
|
|
Port: 2113
|