2018-03-15 20:45:37 +00:00
|
|
|
ProtocolConfiguration:
|
2021-07-20 09:55:45 +00:00
|
|
|
Magic: 877933390
|
2020-11-05 19:01:12 +00:00
|
|
|
MaxTraceableBlocks: 2102400
|
2021-07-20 12:54:56 +00:00
|
|
|
InitialGASSupply: 52000000
|
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:
|
2020-05-27 09:41:20 +00:00
|
|
|
- 023e9b32ea89b94d066e649b124fd50e396ee91369e8e2a6ae1b11c170d022256d
|
|
|
|
- 03009b7540e10f2562e5fd8fac9eaec25166a58b26e412348ff5a86927bfac22a2
|
|
|
|
- 02ba2c70f5996f357a43198705859fae2cfea13e1172962800772b3d588a9d4abd
|
|
|
|
- 03408dcd416396f64783ac587ea1e1593c57d9fea880c8a6a1920e92a259477806
|
|
|
|
- 02a7834be9b32e2981d157cb5bbd3acb42cfd11ea5c3b10224d7a44e98c5910f1b
|
|
|
|
- 0214baf0ceea3a66f17e7e1e839ea25fd8bed6cd82e6bb6e68250189065f44ff01
|
|
|
|
- 030205e9cefaea5a1dfc580af20c8d5aa2468bb0148f1a5e4605fc622c80e604ba
|
2021-07-21 08:10:19 +00:00
|
|
|
- 025831cee3708e87d78211bec0d1bfee9f4c85ae784762f042e7f31c0d40c329b8
|
|
|
|
- 02cf9dc6e85d581480d91e88e8cbeaa0c153a046e89ded08b4cefd851e1d7325b5
|
|
|
|
- 03840415b0a0fcf066bcc3dc92d8349ebd33a6ab1402ef649bae00e5d9f5840828
|
|
|
|
- 026328aae34f149853430f526ecaa9cf9c8d78a4ea82d08bdf63dd03c4d0693be6
|
|
|
|
- 02c69a8d084ee7319cfecf5161ff257aa2d1f53e79bf6c6f164cff5d94675c38b3
|
|
|
|
- 0207da870cedb777fceff948641021714ec815110ca111ccc7a54c168e065bda70
|
|
|
|
- 035056669864feea401d8c31e447fb82dd29f342a9476cfd449584ce2a6165e4d7
|
|
|
|
- 0370c75c54445565df62cfe2e76fbec4ba00d1298867972213530cae6d418da636
|
|
|
|
- 03957af9e77282ae3263544b7b2458903624adc3f5dee303957cb6570524a5f254
|
|
|
|
- 03d84d22b8753cf225d263a3a782a4e16ca72ef323cfde04977c74f14873ab1e4c
|
|
|
|
- 02147c1b1d5728e1954958daff2f88ee2fa50a06890a8a9db3fa9e972b66ae559f
|
|
|
|
- 03c609bea5a4825908027e4ab217e7efc06e311f19ecad9d417089f14927a173d5
|
|
|
|
- 0231edee3978d46c335e851c76059166eb8878516f459e085c0dd092f0f1d51c21
|
|
|
|
- 03184b018d6b2bc093e535519732b3fd3f7551c8cffaf4621dd5a0b89482ca66c9
|
2020-08-03 14:07:24 +00:00
|
|
|
ValidatorsCount: 7
|
2018-03-15 20:45:37 +00:00
|
|
|
SeedList:
|
2021-07-21 08:10:19 +00:00
|
|
|
- seed1t4.neo.org:20333
|
|
|
|
- seed2t4.neo.org:20333
|
|
|
|
- seed3t4.neo.org:20333
|
|
|
|
- seed4t4.neo.org:20333
|
|
|
|
- seed5t4.neo.org:20333
|
2019-10-11 14:46:47 +00:00
|
|
|
VerifyBlocks: true
|
|
|
|
VerifyTransactions: false
|
2021-02-15 16:20:18 +00:00
|
|
|
P2PSigExtensions: false
|
2021-03-11 11:39:51 +00:00
|
|
|
NativeActivations:
|
|
|
|
ContractManagement: [0]
|
|
|
|
StdLib: [0]
|
|
|
|
CryptoLib: [0]
|
|
|
|
LedgerContract: [0]
|
|
|
|
NeoToken: [0]
|
|
|
|
GasToken: [0]
|
|
|
|
PolicyContract: [0]
|
|
|
|
RoleManagement: [0]
|
|
|
|
OracleContract: [0]
|
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
|
2020-09-28 11:58:04 +00:00
|
|
|
Oracle:
|
|
|
|
Enabled: false
|
2021-07-12 10:23:13 +00:00
|
|
|
AllowedContentTypes:
|
|
|
|
- application/json
|
2021-02-15 16:20:18 +00:00
|
|
|
P2PNotary:
|
|
|
|
Enabled: false
|
|
|
|
UnlockWallet:
|
|
|
|
Path: "/notary_wallet.json"
|
|
|
|
Password: "pass"
|
2019-11-01 10:23:46 +00:00
|
|
|
RPC:
|
|
|
|
Enabled: true
|
2020-12-22 09:25:34 +00:00
|
|
|
MaxGasInvoke: 15
|
2019-11-01 10:23:46 +00:00
|
|
|
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
|