mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-11 01:27:45 +01:00
Merge branch 'Development' of https://github.com/mrosseel/bisq-exchange into mrosseel-Development
This commit is contained in:
commit
e48cbd9656
1 changed files with 9 additions and 0 deletions
|
@ -68,6 +68,7 @@ public class ProviderMain {
|
|||
|
||||
handleGetAllMarketPrices(args);
|
||||
handleGetFees();
|
||||
handleGetVersion();
|
||||
}
|
||||
|
||||
private static void handleGetAllMarketPrices(String[] args) throws IOException, NoSuchAlgorithmException, InvalidKeyException {
|
||||
|
@ -92,4 +93,12 @@ public class ProviderMain {
|
|||
return feeRequestService.getJson();
|
||||
});
|
||||
}
|
||||
|
||||
private static void handleGetVersion() throws IOException {
|
||||
FeeRequestService feeRequestService = new FeeRequestService();
|
||||
get("/getVersion", (req, res) -> {
|
||||
log.info("Incoming getVersion request from: " + req.userAgent());
|
||||
return ProviderVersion.VERSION;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue