support Bitcoin Cash

This commit is contained in:
woodser 2022-02-16 11:12:48 -05:00
parent e864210f4b
commit e91b96227f
6 changed files with 78 additions and 5 deletions

View file

@ -116,7 +116,7 @@ class GrpcPriceService extends PriceImplBase {
return getCustomRateMeteringInterceptor(coreApi.getConfig().appDataDir, this.getClass())
.or(() -> Optional.of(CallRateMeteringInterceptor.valueOf(
new HashMap<>() {{
put(getGetMarketPriceMethod().getFullMethodName(), new GrpcCallRateMeter(10, SECONDS));
put(getGetMarketPriceMethod().getFullMethodName(), new GrpcCallRateMeter(20, SECONDS));
}}
)));
}