Block.io cleanup

This commit is contained in:
b00lean 2015-10-16 12:06:07 +02:00
parent 7c75fcc02d
commit fea0d58b61
2 changed files with 11 additions and 2 deletions

View File

@ -2,12 +2,17 @@ package com.generalbytes.batm.server.extensions.extra.dogecoin.wallets.blockio;
import com.generalbytes.batm.server.extensions.ICurrencies; import com.generalbytes.batm.server.extensions.ICurrencies;
import com.generalbytes.batm.server.extensions.IWallet; import com.generalbytes.batm.server.extensions.IWallet;
import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.impl.SimpleLoggerFactory;
import org.slf4j.impl.StaticLoggerBinder;
import org.slf4j.spi.LocationAwareLogger; import org.slf4j.spi.LocationAwareLogger;
import si.mazi.rescu.RestProxyFactory; import si.mazi.rescu.RestProxyFactory;
import java.lang.reflect.Field;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.HashSet; import java.util.*;
import java.util.Set;
/** /**
* Created by b00lean on 8/11/14. * Created by b00lean on 8/11/14.

View File

@ -12,6 +12,10 @@ import javax.ws.rs.core.MediaType;
@Path("/api/v2/") @Path("/api/v2/")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
public interface IBlockIO { public interface IBlockIO {
public static final String PRIORITY_LOW = "low";
public static final String PRIORITY_MEDIUM = "medium";
public static final String PRIORITY_HIGH = "high";
@GET @GET
@Path("get_my_addresses/?api_key={apikey}") @Path("get_my_addresses/?api_key={apikey}")
BlockIOResponseAddresses getAddresses(@PathParam("apikey") String apikey); BlockIOResponseAddresses getAddresses(@PathParam("apikey") String apikey);