Skip to content

Commit

Permalink
Merge pull request #45 from nemgrouplimited/dev
Browse files Browse the repository at this point in the history
Release 0.3.0
  • Loading branch information
AnthonyLaw authored Mar 13, 2021
2 parents b13e5bc + d15497e commit eff6506
Show file tree
Hide file tree
Showing 13 changed files with 449 additions and 34 deletions.
10 changes: 0 additions & 10 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,9 @@
"sourceType": "module"
},
"rules": {
"curly": ["error", "multi-or-nest"],
"no-useless-escape": "off",
"no-var": "error",
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"indent": ["error", "tab"],
"no-unused-expressions": "off",
"no-tabs": 0,
"no-mixed-spaces-and-tabs": 0,
"semi": ["error", "always"],
"newline-per-chained-call": ["error"],
"newline-after-var": ["error", "always"],
}
Expand Down
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file.

The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [v0.3.0][v0.3.0] - 12-Mar-2021

### Milestone: [[email protected]][[email protected]]

Package | Version | Link
---|---|---
REST Core| v2.3.3 | [catapult-rest][[email protected]]
SDK Core| v0.23.3 | [symbol-sdk][[email protected]]

### Added
- TimeSeriesService
- Node cout over time statistic

### Fixed
- Use mainPublicKey to fetch Node Rewards info

## [v0.2.0][v0.2.0] - 24-Feb-2021

### Milestone: [[email protected]][[email protected]]
Expand Down Expand Up @@ -45,9 +61,12 @@ REST Core| v2.1.0 | [catapult-rest](https://github.com/nemtech/catapult-rest/rel
- Cors error. [#13](https://github.com/nemgrouplimited/symbol-statistics-service/issues/13)


[v0.3.0]: https://github.com/nemfoundation/symbol-statistics-service/releases/tag/v0.3.0
[v0.2.0]: https://github.com/nemfoundation/symbol-statistics-service/releases/tag/v0.2.0
[v0.1.0]: https://github.com/nemfoundation/symbol-statistics-service/releases/tag/v0.1.0

[[email protected]]: https://github.com/nemtech/catapult-server/releases/tag/v0.10.0.7
[[email protected]]: https://www.npmjs.com/package/symbol-sdk/v/0.23.3-alpha-202102181227
[[email protected]]: https://github.com/nemtech/catapult-rest/releases/tag/v2.3.3
[[email protected]]: https://github.com/nemtech/catapult-server/releases/tag/v0.10.0.8
[[email protected]]: https://www.npmjs.com/package/symbol-sdk/v/0.23.3
[[email protected]]: https://github.com/nemtech/catapult-rest/releases/tag/v2.3.3
174 changes: 165 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "symbol-statistics-service",
"version": "0.2.0",
"version": "0.3.0",
"description": "",
"scripts": {
"dev": "nodemon",
Expand Down Expand Up @@ -48,6 +48,7 @@
"express": "^4.17.1",
"module-alias": "^2.2.2",
"mongoose": "^5.9.16",
"symbol-sdk": "^0.23.3",
"tcp-ping": "^0.1.1",
"uuid": "^8.0.0",
"winston": "^3.3.3"
Expand Down
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class App {
*/
await DataBase.connect(config.db.MONGODB_ENDPOINT);
await Routes.register(app);
new NodeMonitor(config.monitor.NODE_MONITOR_SCHEDULE_INTERVAL).start();
(await new NodeMonitor(config.monitor.NODE_MONITOR_SCHEDULE_INTERVAL).init()).start();
new ChainHeightMonitor(config.monitor.CHAIN_HEIGHT_MONITOR_SCHEDULE_INTERVAL).start();
new GeolocationMonitor(config.monitor.GEOLOCATION_MONITOR_SCHEDULE_INTERVAL).start();

Expand Down
Loading

0 comments on commit eff6506

Please sign in to comment.