-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - Remove default values for networkId and public keys since these can change with network upgrades * - Disable windows binary release until we get a rocksdb build going * - Version 1.0.0 * - Using proper chrysalis networkId * adds config for IOTA AS * - Added config_as.json to Dockerfile and binary releases Co-authored-by: Luca Moser <[email protected]>
- Loading branch information
1 parent
7333b75
commit e27f512
Showing
8 changed files
with
222 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,210 @@ | ||
{ | ||
"restAPI": { | ||
"jwtAuth": { | ||
"enabled": false, | ||
"salt": "HORNET" | ||
}, | ||
"excludeHealthCheckFromAuth": false, | ||
"permittedRoutes": [ | ||
"/health", | ||
"/mqtt", | ||
"/api/v1/info", | ||
"/api/v1/tips", | ||
"/api/v1/messages/:messageID", | ||
"/api/v1/messages/:messageID/metadata", | ||
"/api/v1/messages/:messageID/raw", | ||
"/api/v1/messages/:messageID/children", | ||
"/api/v1/messages", | ||
"/api/v1/transactions/:transactionID/included-message", | ||
"/api/v1/milestones/:milestoneIndex", | ||
"/api/v1/milestones/:milestoneIndex/utxo-changes", | ||
"/api/v1/outputs/:outputID", | ||
"/api/v1/addresses/:address", | ||
"/api/v1/addresses/:address/outputs", | ||
"/api/v1/addresses/ed25519/:address", | ||
"/api/v1/addresses/ed25519/:address/outputs", | ||
"/api/v1/treasury" | ||
], | ||
"whitelistedAddresses": [ | ||
"127.0.0.1", | ||
"::1" | ||
], | ||
"bindAddress": "0.0.0.0:14265", | ||
"powEnabled": true, | ||
"powWorkerCount": 1, | ||
"limits": { | ||
"bodyLength": "1M", | ||
"maxResults": 1000 | ||
} | ||
}, | ||
"dashboard": { | ||
"bindAddress": "localhost:8081", | ||
"auth": { | ||
"sessionTimeout": "72h", | ||
"username": "admin", | ||
"passwordHash": "0000000000000000000000000000000000000000000000000000000000000000", | ||
"passwordSalt": "0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"db": { | ||
"engine": "rocksdb", | ||
"path": "mainnetdb", | ||
"autoRevalidation": false | ||
}, | ||
"snapshots": { | ||
"depth": 50, | ||
"interval": 200, | ||
"fullPath": "snapshots/mainnet/full_snapshot.bin", | ||
"deltaPath": "snapshots/mainnet/delta_snapshot.bin", | ||
"deltaSizeThresholdPercentage": 50.0, | ||
"downloadURLs": [ | ||
{ | ||
"full": "https://s3.eu-central-1.amazonaws.com/dbfiles.as-network.iota-as.net/snapshots/hornet/latest-full_snapshot.bin", | ||
"delta": "https://s3.eu-central-1.amazonaws.com/dbfiles.as-network.iota-as.net/snapshots/hornet/latest-delta_snapshot.bin" | ||
} | ||
] | ||
}, | ||
"pruning": { | ||
"enabled": true, | ||
"delay": 60480, | ||
"pruneReceipts": false | ||
}, | ||
"protocol": { | ||
"networkID": "as-chrysalis", | ||
"bech32HRP": "asit", | ||
"minPoWScore": 4000, | ||
"milestonePublicKeyCount": 2, | ||
"publicKeyRanges": [ | ||
{ | ||
"key": "3d98f288146c2dedd44daf97bebcb5ab38589ea2cb035ca77b96d94d618aeec8", | ||
"start": 0, | ||
"end": 3110400 | ||
}, | ||
{ | ||
"key": "0a8c945ad7712c1c31c0d5d33c5860ca62ff20fed4553b927f296a8b717ce433", | ||
"start": 0, | ||
"end": 3110400 | ||
} | ||
] | ||
}, | ||
"pow": { | ||
"refreshTipsInterval": "5s" | ||
}, | ||
"requests": { | ||
"discardOlderThan": "15s", | ||
"pendingReEnqueueInterval": "5s" | ||
}, | ||
"receipts": { | ||
"backup": { | ||
"enabled": false, | ||
"folder": "receipts" | ||
}, | ||
"validator": { | ||
"validate": false, | ||
"api": { | ||
"address": "http://localhost:14266", | ||
"timeout": "5s" | ||
}, | ||
"coordinator": { | ||
"address": "UDYXTZBE9GZGPM9SSQV9LTZNDLJIZMPUVVXYXFYVBLIEUHLSEWFTKZZLXYRHHWVQV9MNNX9KZC9D9UZWZ", | ||
"merkleTreeDepth": 24 | ||
} | ||
} | ||
}, | ||
"tangle": { | ||
"milestoneTimeout": "30s" | ||
}, | ||
"tipsel": { | ||
"maxDeltaMsgYoungestConeRootIndexToCMI": 8, | ||
"maxDeltaMsgOldestConeRootIndexToCMI": 13, | ||
"belowMaxDepth": 15, | ||
"nonLazy": { | ||
"retentionRulesTipsLimit": 100, | ||
"maxReferencedTipAge": "3s", | ||
"maxChildren": 30, | ||
"spammerTipsThreshold": 0 | ||
}, | ||
"semiLazy": { | ||
"retentionRulesTipsLimit": 20, | ||
"maxReferencedTipAge": "3s", | ||
"maxChildren": 2, | ||
"spammerTipsThreshold": 30 | ||
} | ||
}, | ||
"node": { | ||
"alias": "HORNET node", | ||
"profile": "auto", | ||
"disablePlugins": [], | ||
"enablePlugins": [ | ||
"Spammer" | ||
] | ||
}, | ||
"p2p": { | ||
"bindMultiAddresses": [ | ||
"/ip4/0.0.0.0/tcp/15600" | ||
], | ||
"connectionManager": { | ||
"highWatermark": 10, | ||
"lowWatermark": 5 | ||
}, | ||
"gossipUnknownPeersLimit": 4, | ||
"identityPrivateKey": "", | ||
"peerStore": { | ||
"path": "./p2pstore" | ||
}, | ||
"reconnectInterval": "30s" | ||
}, | ||
"p2pdisc": { | ||
"advertiseInterval": "30s", | ||
"maxDiscoveredPeerConns": 4, | ||
"rendezvousPoint": "between-two-vertices", | ||
"routingTableRefreshPeriod": "60s" | ||
}, | ||
"logger": { | ||
"level": "info", | ||
"disableCaller": true, | ||
"encoding": "console", | ||
"outputPaths": [ | ||
"stdout" | ||
] | ||
}, | ||
"warpsync": { | ||
"advancementRange": 150 | ||
}, | ||
"spammer": { | ||
"message": "IOTA - A new dawn", | ||
"index": "HORNET Spammer", | ||
"indexSemiLazy": "HORNET Spammer Semi-Lazy", | ||
"cpuMaxUsage": 0.8, | ||
"mpsRateLimit": 5.0, | ||
"workers": 0, | ||
"autostart": false | ||
}, | ||
"mqtt": { | ||
"bindAddress": "localhost:1883", | ||
"wsPort": 1888, | ||
"workerCount": 100 | ||
}, | ||
"profiling": { | ||
"bindAddress": "localhost:6060" | ||
}, | ||
"prometheus": { | ||
"bindAddress": "localhost:9311", | ||
"fileServiceDiscovery": { | ||
"enabled": false, | ||
"path": "target.json", | ||
"target": "localhost:9311" | ||
}, | ||
"databaseMetrics": true, | ||
"nodeMetrics": true, | ||
"gossipMetrics": true, | ||
"cachesMetrics": true, | ||
"restAPIMetrics": true, | ||
"migrationMetrics": true, | ||
"coordinatorMetrics": true, | ||
"debugMetrics": false, | ||
"goMetrics": false, | ||
"processMetrics": false, | ||
"promhttpMetrics": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ var ( | |
Name = "HORNET" | ||
|
||
// Version of the app. | ||
Version = "1.0.0-alpha" | ||
Version = "1.0.0" | ||
) | ||
|
||
var ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters