Commit Graph

49 Commits

Author SHA1 Message Date
HenrikJannsen
857dfd33c2
Add shutdownIntervalDays argument
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-04 20:42:04 +07:00
HenrikJannsen
15c22d0456
Cleanups, refactorings 2024-06-02 15:02:06 +07:00
HenrikJannsen
ae37041a27
Add README.md
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-02 15:02:05 +07:00
HenrikJannsen
4892274d58
Update new dependencies to latest versions 2024-06-02 15:02:05 +07:00
HenrikJannsen
32a8091484
Add inventory module and dependencies 2024-06-02 15:02:05 +07:00
ghubstan
8705f9937b
Remove subproject inventory
This has been moved into its own repo:
    https://github.com/bisq-network/bisq-inventory
2022-08-04 12:31:59 -03:00
jmacxx
cb2b7f29f9
Show last successful response time. 2022-07-08 09:04:43 -05:00
chimp1984
74789b1cc5
Move Utilities.objectToJson to JsonUtil.objectToJson
Move inner class AnnotationExclusionStrategy to JsonUtil
Next commit includes changes why that move to core is needed.
2021-11-02 16:18:50 +01:00
chimp1984
220124eb58
Remove v2 nodes and backup nodes from DAO monitor 2021-09-28 16:06:29 +02:00
Steven Barclay
8104301b52
Use new Bitcoind(Client|Daemon) & remove btcd-cli4j
Migrate RpcService over to the new block notification daemon and RPC
client based on jsonrpc4j. Drop in own DTO classes in place of the ones
defined by btcd-cli4j and rename requestBtcBlock & addNewBtcBlockHandler
to requestDtoBlock & addNewDtoBlockHandler respectively.

Also remove now redundant filtering from the logback config and update
grade-witness.
2021-01-21 10:10:28 +00:00
chimp1984
b80a654fe1
Add v2 nodes to monitor 2021-01-11 23:34:55 -05:00
sqrrm
bf7a528bac
Merge pull request #5040 from chimp1984/update-inventory-code
Update inventory code
2021-01-04 10:45:18 +01:00
chimp1984
00ef623185
Add shutdown routine, call showAsciiLogo later 2021-01-01 17:27:51 -05:00
chimp1984
9e299f045c
Make dir if not exists 2021-01-01 17:27:11 -05:00
chimp1984
553f0b1271
Remove v2 nodes 2021-01-01 17:26:45 -05:00
chimp1984
3cf6c60354
Add NetworkFilter, remove BanList 2021-01-01 16:51:05 -05:00
chimp1984
ccfcc351f4
Clean tor dir at startup 2020-11-17 20:17:44 -05:00
chimp1984
86a2045284
Fix wrong kb display 2020-11-12 15:58:57 -05:00
chimp1984
5e4156910a
Add hasError util method
Reformattings, cleanups
2020-11-12 15:58:57 -05:00
chimp1984
1eca9dff4b
Use dash for empty filteredSeedNodes value 2020-11-12 15:58:57 -05:00
chimp1984
a0565425df
Add historical data for error msg
Rename 'Number of responses' to 'Number of requests'
Rename timeout err msg

@jmacxx: See comment at `getErrorMsgLine`... If you need those historical
error msg data in the json as well we need to refactor a bit more...
2020-11-12 15:58:57 -05:00
chimp1984
86a853bfb9
Set response time only in non error case 2020-11-12 15:58:56 -05:00
chimp1984
850f73aad5
Fix formatting 2020-11-12 15:58:55 -05:00
chimp1984
5c7aa80afa
Add deviation to persistent warnings/alerts 2020-11-12 15:58:55 -05:00
chimp1984
68a15d0cf2
Remove 3f3cu2yw7u457ztq and fl3mmribyxgrv63c as they got shut down 2020-11-02 19:49:15 -05:00
chimp1984
5da5737e92
Use break for new lines 2020-10-31 14:16:08 -05:00
chimp1984
c5261320cf
Add version/commit hash to header 2020-10-31 13:56:10 -05:00
chimp1984
ae365e2dcd
Show filtered node in red 2020-10-31 13:36:15 -05:00
chimp1984
b0f8b96809
Add filtered seed nodes info 2020-10-31 12:29:33 -05:00
chimp1984
77666a6d64
Add commitHash entry 2020-10-31 12:19:54 -05:00
chimp1984
37170abfd5
Ignore deviation at startup (2 min) 2020-10-31 11:23:24 -05:00
chimp1984
db35eb282a
Add check for repeated warn/alerts in past requests
Change data model
Reduce request interval to 2 min.
Rename data dir
2020-10-31 11:23:24 -05:00
chimp1984
44d9efd735
Replace the 2 deviation maps with one with DeviationInfo as value
DeviationInfo carries deviation and deviationSeverity
2020-10-31 11:23:24 -05:00
chimp1984
69b399780d
Adjust warn/alert tiggers 2020-10-31 11:23:24 -05:00
chimp1984
4f4f2c457b
Move deviation calculation to InventoryMonitor and store it in RequestInfo
Add display of number of past alerts and warning and show with tooltip the
request number when it happened.
2020-10-31 11:23:23 -05:00
chimp1984
f1fdf3c0a5
Improve deviation model 2020-10-23 01:17:34 -05:00
chimp1984
5bdc5abe34
Add numAllConnectionsLostEvents 2020-10-23 01:17:34 -05:00
chimp1984
8c156eb5bf
Add peakNumConnections 2020-10-23 01:17:34 -05:00
chimp1984
5fb48fe72f
Fix error handling
Add all seeds
2020-10-23 01:17:34 -05:00
chimp1984
1c779306ff
Add more warn/alert checks 2020-10-23 01:17:34 -05:00
chimp1984
ec4e85d7ca
Add network node shutdown
Rearrange request info fields
2020-10-23 01:17:33 -05:00
chimp1984
7768e58b98
Shut down connection after response received
Various improvements...
2020-10-23 01:17:33 -05:00
chimp1984
1b83083ade
Add nodes from mike
Various improvements...
2020-10-23 01:17:33 -05:00
chimp1984
752208b3ca
Add InventoryItem enum
Add average and color codes to html
Add maxConnections
Add DeviationSeverity enum
Add custom seed node file
Use InventoryItem as key in inventory map instead of string
2020-10-23 01:17:33 -05:00
chimp1984
b846979ecd
Make RequestInfo public 2020-10-23 01:17:33 -05:00
chimp1984
21bd85c488
Remove signature from GetInventoryRequest (as monitor is public it does not make sense to limit requests).
Add html output and webserver
2020-10-23 01:17:33 -05:00
chimp1984
ca7fe94c06
Add signature to request to limit the feature to requests from trusted nodes (monitor) 2020-10-23 01:17:32 -05:00
chimp1984
9dab186086
Move inventory package to core as we want to include other domain data as well like DAO state
Add more data to inventory map and change type of value to String.
2020-10-23 01:17:32 -05:00
chimp1984
3521619e03
Add inventory module
Simple monitor dumping json files with data result and request/response time to disk. Can be used by a simple web server to show state of seed nodes.
2020-10-23 01:17:32 -05:00