github iotaledger/hornet v0.4.0-rc9
HORNET-0.4.0-rc9

latest releases: v2.0.2, v2.0.1, v2.0.0...
pre-release4 years ago

Breaking change:

Database implementation changed (moved from Badger to Bolt)


Update note: Please remove your database and restart HORNET.

Added

- Coordinator plugin
- Dashboard:
  - Responsive design
  - Visualizer (ported from GoShimmer)
  - Spam transactions graph
  - Show IOTA units
  - Value-tx only filter
- API:
  - `pruneDatabase` call
  - `getLedgerState` call
  - `getFundsOnSpentAddresses` call
- Flag to overwrite coo address at startup

Removed

- `getSnapshot` API call

Changed

- Moved from Badger to Bolt (reduced RAM usage)
- Milestone logic
- Pruning logic
- Database pressure reduced
- Renamed `ZeroMQ` plugin to `ZMQ`
- Dashboard graph colors
- Graph explorer link is now configurable
- Improved spammer plugin
- Local snapshot doesn't write to database if triggered externally
- API:
  - Handle `minWeightMagnitude` as an optional parameter
  - Renamed `createSnapshot` to `createSnapshotFile`
  - Improved error handling in `createSnapshotFile`

Fixed

- Database revalidation
- Websocket messages
- ZMQ `address` topic

Config file changes

Added option:

config.json

+"coordinator": {
+  "address": "EQSAUZXULTTYZCLNJNTXQTQHOMOFZERHTCGTXOLTVAHKSA9OGAZDEKECURBRIXIJWNPFCQIOVFVVXJVD9",
+  "securityLevel": 2,
+  "merkleTreeDepth": 23,
+  "mwm": 14,
+  "stateFilePath": "coordinator.state",
+  "merkleTreeFilePath": "coordinator.tree",
+  "intervalSeconds": 60,
+  "checkpointTransactions": 5
+},
"spammer": {
+  "cpuMaxUsage": 0.5,
},
"graph": {
+  "explorerTxLink": "http://localhost:8081/explorer/tx/",
+  "explorerBundleLink": "http://localhost:8081/explorer/bundle/"
},

config_comnet.json

+"coordinator": {
+  "address": "ZNCCPOTBCDZXCBQYBWUYYFO9PLRHNAROWOS9KGMYWNVIXWGYGUSJBZUTUQBNQRADHPUEONZZTYGVMSRZD",
+  "securityLevel": 2,
+  "merkleTreeDepth": 23,
+  "mwm": 10,
+  "stateFilePath": "coordinator.state",
+  "merkleTreeFilePath": "coordinator.tree",
+  "intervalSeconds": 60,
+  "checkpointTransactions": 5
+},
"spammer": {
+  "cpuMaxUsage": 0.5,
},
"graph": {
+  "explorerTxLink": "http://localhost:8081/explorer/tx/",
+  "explorerBundleLink": "http://localhost:8081/explorer/bundle/"
},

Removed option:

config.json + config_comnet.json

-"milestones": {
-  "coordinator": "ZNCCPOTBCDZXCBQYBWUYYFO9PLRHNAROWOS9KGMYWNVIXWGYGUSJBZUTUQBNQRADHPUEONZZTYGVMSRZD",
-  "coordinatorSecurityLevel": 2,
-  "numberOfKeysInAMilestone": 23
-}
-"compass": {
-  "loadLSMIAsLMI": false
-},
-"protocol": {
-  "mwm": 14
-},

config.json + config_comnet.json

"spammer": {
-  "tpsRateLimit": 0.1,
+  "tpsRateLimit": 0.0,
-  "workers": 1
+  "workers": 0
}
"monitor": {
-  "initialTransactionsCount": 15000,
+  "initialTransactions": 15000,
}

Don't miss a new hornet release

NewReleases is sending notifications on new releases.