2018-03-15 20:45:37 +00:00
|
|
|
ProtocolConfiguration:
|
2020-05-27 09:41:20 +00:00
|
|
|
Magic: 5195086
|
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:
|
2018-03-15 20:45:37 +00:00
|
|
|
- 03b209fd4f53a7170ea4444e0cb0a6bb6a53c2bd016926989cf85f9b0fba17a70c
|
|
|
|
- 02df48f60e8f3e01c48ff40b9b7f1310d7a8b2a193188befe1c2e3df740e895093
|
|
|
|
- 03b8d9d5771d8f513aa0869b9cc8d50986403b78c6da36890638c3d46a5adce04a
|
|
|
|
- 02ca0e27697b9c248f6f16e085fd0061e26f44da85b58ee835c110caa5ec3ba554
|
|
|
|
- 024c7b7fb6c310fccf1ba33b082519d82964ea93868d676662d4a59ad548df0e7d
|
|
|
|
- 02aaec38470f6aad0042c6e877cfd8087d2676b0f516fddd362801b9bd3936399e
|
|
|
|
- 02486fd15702c4490a26703112a5cc1d0923fd697a33406bd5a1c00e0013b09a70
|
2020-08-03 14:07:24 +00:00
|
|
|
ValidatorsCount: 7
|
2018-03-15 20:45:37 +00:00
|
|
|
SeedList:
|
2020-05-27 09:41:20 +00:00
|
|
|
- seed1.neo.org:10333
|
|
|
|
- seed2.neo.org:10333
|
|
|
|
- seed3.neo.org:10333
|
|
|
|
- seed4.neo.org:10333
|
|
|
|
- seed5.neo.org:10333
|
2019-10-11 14:46:47 +00:00
|
|
|
VerifyBlocks: true
|
|
|
|
VerifyTransactions: false
|
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/mainnet"
|
|
|
|
# RedisDBOptions:
|
|
|
|
# Addr: "localhost:6379"
|
|
|
|
# Password: ""
|
|
|
|
# DB: 0
|
2019-09-14 07:28:43 +00:00
|
|
|
# BoltDBOptions:
|
|
|
|
# FilePath: "./chains/mainnet.bolt"
|
2020-04-08 14:14:58 +00:00
|
|
|
# BadgerDBOptions:
|
|
|
|
# BadgerDir: "./chains/mainnet.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-11-06 08:55:54 +00:00
|
|
|
NodePort: 10333
|
2018-03-15 20:45:37 +00:00
|
|
|
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
|
2020-07-13 17:09:58 +00:00
|
|
|
MaxGasInvoke: 10
|
2019-11-01 10:23:46 +00:00
|
|
|
EnableCORSWorkaround: false
|
2019-11-06 08:55:54 +00:00
|
|
|
Port: 10332
|
2020-03-10 11:56:18 +00:00
|
|
|
TLSConfig:
|
|
|
|
Enabled: false
|
|
|
|
Port: 10331
|
|
|
|
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
|