Package rename
This commit is contained in:
parent
5d3e38a740
commit
5e88c209e3
122 changed files with 455 additions and 479 deletions
|
@ -17,8 +17,8 @@
|
|||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
||||
|
||||
VERSION_NAME=0.4.4
|
||||
VERSION_CODE=6
|
||||
VERSION_NAME=0.4.5
|
||||
VERSION_CODE=7
|
||||
GROUP=com.github.bilthon
|
||||
|
||||
POM_DESCRIPTION=A Java library for mobile app Developers; Graphene/Bitshares blockchain.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
group 'de.bitsharesmunich'
|
||||
version '0.4.4'
|
||||
group 'cy.agorise'
|
||||
version '0.4.5'
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
apply from: 'maven-push.gradle'
|
||||
|
@ -21,8 +21,8 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 9
|
||||
targetSdkVersion 24
|
||||
versionCode 6
|
||||
versionName "0.4.4"
|
||||
versionCode 7
|
||||
versionName "0.4.5"
|
||||
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="de.bitsharesmunich.graphenej"
|
||||
android:versionCode="6"
|
||||
android:versionName="0.4.4" >
|
||||
package="cy.agorise.graphenej"
|
||||
android:versionCode="7"
|
||||
android:versionName="0.4.5" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="1" />
|
||||
<application/>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.google.gson.JsonArray;
|
||||
|
@ -12,8 +12,8 @@ import java.lang.reflect.Type;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import de.bitsharesmunich.graphenej.errors.MalformedAddressException;
|
||||
import de.bitsharesmunich.graphenej.interfaces.GrapheneSerializable;
|
||||
import cy.agorise.graphenej.errors.MalformedAddressException;
|
||||
import cy.agorise.graphenej.interfaces.GrapheneSerializable;
|
||||
|
||||
/**
|
||||
* Created by nelson on 12/5/16.
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import de.bitsharesmunich.graphenej.errors.MalformedAddressException;
|
||||
import cy.agorise.graphenej.errors.MalformedAddressException;
|
||||
import org.bitcoinj.core.Base58;
|
||||
import org.bitcoinj.core.ECKey;
|
||||
import org.spongycastle.crypto.digests.RIPEMD160Digest;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.primitives.UnsignedLong;
|
||||
import com.google.gson.JsonDeserializationContext;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.math.DoubleMath;
|
||||
import com.google.common.primitives.Bytes;
|
||||
|
@ -19,9 +19,9 @@ import java.io.IOException;
|
|||
import java.lang.reflect.Type;
|
||||
import java.math.RoundingMode;
|
||||
|
||||
import de.bitsharesmunich.graphenej.errors.IncompatibleOperation;
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import cy.agorise.graphenej.errors.IncompatibleOperation;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/7/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.primitives.UnsignedLong;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.google.gson.JsonArray;
|
||||
|
@ -13,8 +13,8 @@ import java.util.ArrayList;
|
|||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import de.bitsharesmunich.graphenej.errors.MalformedAddressException;
|
||||
import de.bitsharesmunich.graphenej.interfaces.GrapheneSerializable;
|
||||
import cy.agorise.graphenej.errors.MalformedAddressException;
|
||||
import cy.agorise.graphenej.interfaces.GrapheneSerializable;
|
||||
|
||||
/**
|
||||
* Class used to represent the weighted set of keys and accounts that must approve operations.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
* Enum-type used to specify the different roles of an authority.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import java.util.Arrays;
|
||||
import org.bitcoinj.core.Base58;
|
|
@ -1,9 +1,9 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/5/16.
|
|
@ -1,6 +1,6 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
|
||||
/**
|
||||
* This class encapsulates all block-related information needed in order to build a valid transaction.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import org.bitcoinj.core.DumpedPrivateKey;
|
||||
import org.bitcoinj.core.ECKey;
|
||||
|
@ -10,7 +10,7 @@ import java.security.NoSuchAlgorithmException;
|
|||
import java.security.SecureRandom;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import de.bitsharesmunich.graphenej.crypto.SecureRandomGenerator;
|
||||
import cy.agorise.graphenej.crypto.SecureRandomGenerator;
|
||||
|
||||
/**
|
||||
* Class used to encapsulate all BrainKey-related operations.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/8/16.
|
|
@ -1,10 +1,10 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.math.MathContext;
|
||||
|
||||
import de.bitsharesmunich.graphenej.errors.IncompleteAssetError;
|
||||
import de.bitsharesmunich.graphenej.models.BucketObject;
|
||||
import cy.agorise.graphenej.errors.IncompleteAssetError;
|
||||
import cy.agorise.graphenej.models.BucketObject;
|
||||
|
||||
/**
|
||||
* Generic converter class used to translate the market information contained in a BucketObject and/or Price instances.
|
|
@ -1,9 +1,9 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.JsonArray;
|
||||
|
@ -13,8 +13,8 @@ import java.security.MessageDigest;
|
|||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.SecureRandom;
|
||||
|
||||
import de.bitsharesmunich.graphenej.crypto.SecureRandomStrengthener;
|
||||
import de.bitsharesmunich.graphenej.models.backup.WalletBackup;
|
||||
import cy.agorise.graphenej.crypto.SecureRandomStrengthener;
|
||||
import cy.agorise.graphenej.models.backup.WalletBackup;
|
||||
|
||||
/**
|
||||
* Class to manage the backup files
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonElement;
|
||||
|
||||
import org.bitcoinj.core.Base58;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
|
||||
/**
|
||||
* Class used to handle invoice generation, compression and QR-Code data derivation,
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.JsonDeserializationContext;
|
||||
import com.google.gson.JsonDeserializer;
|
||||
|
@ -12,7 +12,7 @@ import java.io.DataOutputStream;
|
|||
import java.io.IOException;
|
||||
import java.lang.reflect.Type;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
* Created by nelson on 1/11/17.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
* Enum type used to list all possible object types and obtain their space + type id
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
* Enum type used to keep track of all the operation types and their corresponding ids.
|
|
@ -1,9 +1,9 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.JsonElement;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import de.bitsharesmunich.graphenej.interfaces.GrapheneSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.GrapheneSerializable;
|
||||
|
||||
/**
|
||||
* Container template class used whenever we have an optional field.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.math.DoubleMath;
|
||||
import com.google.common.primitives.UnsignedLong;
|
||||
|
@ -6,7 +6,7 @@ import com.google.common.primitives.UnsignedLong;
|
|||
import java.math.RoundingMode;
|
||||
import java.util.List;
|
||||
|
||||
import de.bitsharesmunich.graphenej.operations.LimitOrderCreateOperation;
|
||||
import cy.agorise.graphenej.operations.LimitOrderCreateOperation;
|
||||
|
||||
/**
|
||||
* This class will maintain a snapshot of the order book between two assets.
|
|
@ -1,11 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
|
||||
import com.google.gson.JsonDeserializationContext;
|
||||
import com.google.gson.JsonDeserializer;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonParseException;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
* The price struct stores asset prices in the Graphene system.
|
|
@ -1,11 +1,11 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import org.bitcoinj.core.ECKey;
|
||||
import org.spongycastle.math.ec.ECPoint;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/30/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/16/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
@ -24,10 +24,10 @@ import java.util.Date;
|
|||
import java.util.List;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import de.bitsharesmunich.graphenej.operations.LimitOrderCreateOperation;
|
||||
import de.bitsharesmunich.graphenej.operations.TransferOperation;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
import cy.agorise.graphenej.operations.LimitOrderCreateOperation;
|
||||
import cy.agorise.graphenej.operations.TransferOperation;
|
||||
|
||||
/**
|
||||
* Class used to represent a generic Graphene transaction.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
@ -19,8 +19,8 @@ import java.text.ParseException;
|
|||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
|
||||
/**
|
||||
* Class that represents a graphene user account.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import org.tukaani.xz.*;
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
|
||||
import java.io.DataInput;
|
|
@ -1,6 +1,6 @@
|
|||
package de.bitsharesmunich.graphenej;
|
||||
package cy.agorise.graphenej;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
|
||||
/**
|
||||
* Created by nelson on 12/5/16.
|
|
@ -1,14 +1,12 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.neovisionaries.ws.client.WebSocket;
|
||||
import com.neovisionaries.ws.client.WebSocketAdapter;
|
||||
import com.neovisionaries.ws.client.WebSocketException;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.NodeErrorListener;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.interfaces.NodeErrorListener;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
|
||||
/**
|
||||
* Base class that should be extended by any implementation of a specific request to the full node.
|
|
@ -1,16 +1,16 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.neovisionaries.ws.client.WebSocket;
|
||||
import com.neovisionaries.ws.client.WebSocketFrame;
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Type;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -11,13 +11,13 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AccountOptions;
|
||||
import de.bitsharesmunich.graphenej.Authority;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.AccountProperties;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.AccountOptions;
|
||||
import cy.agorise.graphenej.Authority;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.AccountProperties;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements get_account_by_name request handler.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
/**
|
||||
* Created by nelson on 12/26/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -11,14 +11,14 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AccountOptions;
|
||||
import de.bitsharesmunich.graphenej.Authority;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.AccountProperties;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.AccountOptions;
|
||||
import cy.agorise.graphenej.Authority;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.AccountProperties;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements get_accounts request handler.
|
|
@ -1,13 +1,13 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.neovisionaries.ws.client.WebSocket;
|
||||
import com.neovisionaries.ws.client.WebSocketFrame;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.*;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.*;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Type;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -11,12 +11,12 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.models.BlockHeader;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.BlockHeader;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements get_block_header request handler.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -11,12 +11,12 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Address;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.Address;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements get_key_references request handler.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -12,14 +12,14 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.LimitOrder;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.LimitOrder;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements get_limit_orders request handler.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
@ -14,13 +14,13 @@ import java.util.Date;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.models.BucketObject;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.BucketObject;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements get_market_history request handler.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
@ -15,17 +15,17 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AccountOptions;
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.Authority;
|
||||
import de.bitsharesmunich.graphenej.GrapheneObject;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.BitAssetData;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.AccountOptions;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.Authority;
|
||||
import cy.agorise.graphenej.GrapheneObject;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.BitAssetData;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
@ -12,16 +12,16 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.models.HistoricalTransfer;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import de.bitsharesmunich.graphenej.objects.Memo;
|
||||
import de.bitsharesmunich.graphenej.operations.TransferOperation;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.HistoricalTransfer;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.objects.Memo;
|
||||
import cy.agorise.graphenej.operations.TransferOperation;
|
||||
|
||||
/**
|
||||
* Class used to encapsulate the communication sequence used to retrieve the transaction history of
|
|
@ -1,20 +1,19 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
import com.neovisionaries.ws.client.WebSocket;
|
||||
import com.neovisionaries.ws.client.WebSocketAdapter;
|
||||
import com.neovisionaries.ws.client.WebSocketException;
|
||||
import com.neovisionaries.ws.client.WebSocketFrame;
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import de.bitsharesmunich.graphenej.BaseOperation;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.BaseOperation;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Type;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -11,11 +11,11 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.MarketTrade;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.MarketTrade;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements get_trade_history request handler.
|
|
@ -1,14 +1,14 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.neovisionaries.ws.client.WebSocket;
|
||||
import com.neovisionaries.ws.client.WebSocketFrame;
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Type;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -11,11 +11,11 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements lookup_accounts request handler.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -11,11 +11,11 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that implements lookup_asset_symbols request handler.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
@ -13,22 +13,21 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.Transaction;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.errors.RepeatedRequestIdException;
|
||||
import de.bitsharesmunich.graphenej.interfaces.NodeErrorListener;
|
||||
import de.bitsharesmunich.graphenej.interfaces.SubscriptionHub;
|
||||
import de.bitsharesmunich.graphenej.interfaces.SubscriptionListener;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.DynamicGlobalProperties;
|
||||
import de.bitsharesmunich.graphenej.models.SubscriptionResponse;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import de.bitsharesmunich.graphenej.objects.Memo;
|
||||
import de.bitsharesmunich.graphenej.operations.LimitOrderCreateOperation;
|
||||
import de.bitsharesmunich.graphenej.operations.TransferOperation;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.Transaction;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.errors.RepeatedRequestIdException;
|
||||
import cy.agorise.graphenej.interfaces.NodeErrorListener;
|
||||
import cy.agorise.graphenej.interfaces.SubscriptionHub;
|
||||
import cy.agorise.graphenej.interfaces.SubscriptionListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.DynamicGlobalProperties;
|
||||
import cy.agorise.graphenej.models.SubscriptionResponse;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.objects.Memo;
|
||||
import cy.agorise.graphenej.operations.LimitOrderCreateOperation;
|
||||
import cy.agorise.graphenej.operations.TransferOperation;
|
||||
|
||||
/**
|
||||
* A WebSocket adapter prepared to be used as a basic dispatch hub for subscription messages.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api;
|
||||
package cy.agorise.graphenej.api;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
@ -13,16 +13,16 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.BlockData;
|
||||
import de.bitsharesmunich.graphenej.RPC;
|
||||
import de.bitsharesmunich.graphenej.Transaction;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.ApiCall;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.models.DynamicGlobalProperties;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.BlockData;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.Transaction;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.ApiCall;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.DynamicGlobalProperties;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class that will handle the transaction publication procedure.
|
|
@ -1,14 +1,14 @@
|
|||
package de.bitsharesmunich.graphenej.api.android;
|
||||
package cy.agorise.graphenej.api.android;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import de.bitsharesmunich.graphenej.api.BaseGrapheneHandler;
|
||||
import de.bitsharesmunich.graphenej.api.SubscriptionMessagesHub;
|
||||
import de.bitsharesmunich.graphenej.errors.RepeatedRequestIdException;
|
||||
import de.bitsharesmunich.graphenej.interfaces.NodeErrorListener;
|
||||
import de.bitsharesmunich.graphenej.interfaces.WitnessResponseListener;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.api.BaseGrapheneHandler;
|
||||
import cy.agorise.graphenej.api.SubscriptionMessagesHub;
|
||||
import cy.agorise.graphenej.errors.RepeatedRequestIdException;
|
||||
import cy.agorise.graphenej.interfaces.NodeErrorListener;
|
||||
import cy.agorise.graphenej.interfaces.WitnessResponseListener;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
|
||||
/**
|
||||
* Class used to encapsulate all connections that should be done to a node (with node hop support).
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.api.android;
|
||||
package cy.agorise.graphenej.api.android;
|
||||
|
||||
import com.neovisionaries.ws.client.WebSocket;
|
||||
import com.neovisionaries.ws.client.WebSocketException;
|
||||
|
@ -10,9 +10,9 @@ import java.security.NoSuchAlgorithmException;
|
|||
|
||||
import javax.net.ssl.SSLContext;
|
||||
|
||||
import de.bitsharesmunich.graphenej.interfaces.NodeErrorListener;
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.test.NaiveSSLContext;
|
||||
import cy.agorise.graphenej.interfaces.NodeErrorListener;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.test.NaiveSSLContext;
|
||||
|
||||
/**
|
||||
* Class used to encapsulate the thread where the WebSocket does the requests.
|
|
@ -32,7 +32,7 @@
|
|||
* fitness for a particular purpose and non-infringement.
|
||||
*/
|
||||
|
||||
package de.bitsharesmunich.graphenej.crypto;
|
||||
package cy.agorise.graphenej.crypto;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.File;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.crypto;
|
||||
package cy.agorise.graphenej.crypto;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package de.bitsharesmunich.graphenej.crypto;
|
||||
package cy.agorise.graphenej.crypto;
|
||||
|
||||
public interface RandomSource {
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.crypto;
|
||||
package cy.agorise.graphenej.crypto;
|
||||
|
||||
import java.security.SecureRandom;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.crypto;
|
||||
package cy.agorise.graphenej.crypto;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.security.DigestException;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.errors;
|
||||
package cy.agorise.graphenej.errors;
|
||||
|
||||
/**
|
||||
* Created by nelson on 12/20/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.errors;
|
||||
package cy.agorise.graphenej.errors;
|
||||
|
||||
/**
|
||||
* Created by nelson on 1/18/17.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.errors;
|
||||
package cy.agorise.graphenej.errors;
|
||||
|
||||
/**
|
||||
* Created by nelson on 12/25/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.errors;
|
||||
package cy.agorise.graphenej.errors;
|
||||
|
||||
/**
|
||||
* Created by nelson on 12/1/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.errors;
|
||||
package cy.agorise.graphenej.errors;
|
||||
|
||||
/**
|
||||
* Created by nelson on 3/1/17.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.errors;
|
||||
package cy.agorise.graphenej.errors;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/14/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.errors;
|
||||
package cy.agorise.graphenej.errors;
|
||||
|
||||
/**
|
||||
* Created by nelson on 6/27/17.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.interfaces;
|
||||
package cy.agorise.graphenej.interfaces;
|
||||
|
||||
/**
|
||||
* Interface implemented by all entities for which makes sense to have a byte-array representation.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.interfaces;
|
||||
package cy.agorise.graphenej.interfaces;
|
||||
|
||||
/**
|
||||
* Interface used to group both ByteSerializable and JsonSerializable interfaces.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.interfaces;
|
||||
package cy.agorise.graphenej.interfaces;
|
||||
|
||||
import com.google.gson.JsonElement;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package de.bitsharesmunich.graphenej.interfaces;
|
||||
package cy.agorise.graphenej.interfaces;
|
||||
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
|
||||
/**
|
||||
* Interface to be implemented by any listener to network errors.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.interfaces;
|
||||
package cy.agorise.graphenej.interfaces;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.interfaces;
|
||||
package cy.agorise.graphenej.interfaces;
|
||||
|
||||
import de.bitsharesmunich.graphenej.ObjectType;
|
||||
import de.bitsharesmunich.graphenej.models.SubscriptionResponse;
|
||||
import cy.agorise.graphenej.ObjectType;
|
||||
import cy.agorise.graphenej.models.SubscriptionResponse;
|
||||
|
||||
/**
|
||||
* Generic interface that must be implemented by any class that wants to be informed about a specific
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.interfaces;
|
||||
package cy.agorise.graphenej.interfaces;
|
||||
|
||||
import de.bitsharesmunich.graphenej.models.BaseResponse;
|
||||
import de.bitsharesmunich.graphenej.models.WitnessResponse;
|
||||
import cy.agorise.graphenej.models.BaseResponse;
|
||||
import cy.agorise.graphenej.models.WitnessResponse;
|
||||
|
||||
/**
|
||||
* Class used to represent any listener to network requests.
|
|
@ -1,8 +1,8 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import de.bitsharesmunich.graphenej.GrapheneObject;
|
||||
import cy.agorise.graphenej.GrapheneObject;
|
||||
|
||||
/**
|
||||
* Created by nelson on 1/12/17.
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AccountOptions;
|
||||
import de.bitsharesmunich.graphenej.Authority;
|
||||
import cy.agorise.graphenej.AccountOptions;
|
||||
import cy.agorise.graphenej.Authority;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/15/16.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.JsonArray;
|
||||
|
@ -6,7 +6,7 @@ import com.google.gson.JsonElement;
|
|||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.JsonSerializationContext;
|
||||
import com.google.gson.JsonSerializer;
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Type;
|
|
@ -1,6 +1,6 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Price;
|
||||
import cy.agorise.graphenej.Price;
|
||||
|
||||
/**
|
||||
* Created by nelson on 1/9/17.
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import com.google.gson.*;
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
/**
|
||||
* Created by nelson on 11/12/16.
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import de.bitsharesmunich.graphenej.GrapheneObject;
|
||||
import de.bitsharesmunich.graphenej.Price;
|
||||
import cy.agorise.graphenej.GrapheneObject;
|
||||
import cy.agorise.graphenej.Price;
|
||||
|
||||
/**
|
||||
* This is the representation of the response from the 'get_objects' call with
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
/**
|
||||
* Created by nelson on 12/13/16.
|
|
@ -1,14 +1,9 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import com.google.gson.JsonDeserializationContext;
|
||||
import com.google.gson.JsonDeserializer;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonParseException;
|
||||
import de.bitsharesmunich.graphenej.GrapheneObject;
|
||||
import de.bitsharesmunich.graphenej.Transaction;
|
||||
import cy.agorise.graphenej.GrapheneObject;
|
||||
import cy.agorise.graphenej.Transaction;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Type;
|
||||
|
||||
/**
|
||||
* Created by nelson on 1/28/17.
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import com.google.gson.*;
|
||||
import de.bitsharesmunich.graphenej.Asset;
|
||||
import cy.agorise.graphenej.Asset;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.math.BigDecimal;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import com.google.gson.JsonDeserializationContext;
|
||||
import com.google.gson.JsonDeserializer;
|
||||
|
@ -13,8 +13,8 @@ import java.text.SimpleDateFormat;
|
|||
import java.util.Date;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import de.bitsharesmunich.graphenej.GrapheneObject;
|
||||
import de.bitsharesmunich.graphenej.Util;
|
||||
import cy.agorise.graphenej.GrapheneObject;
|
||||
import cy.agorise.graphenej.Util;
|
||||
|
||||
/**
|
||||
* Class used to deserialize the 'result' field returned by the full node after making a call
|
|
@ -1,6 +1,6 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import de.bitsharesmunich.graphenej.operations.TransferOperation;
|
||||
import cy.agorise.graphenej.operations.TransferOperation;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonDeserializationContext;
|
||||
|
@ -14,10 +14,10 @@ import java.util.HashMap;
|
|||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import de.bitsharesmunich.graphenej.GrapheneObject;
|
||||
import de.bitsharesmunich.graphenej.ObjectType;
|
||||
import de.bitsharesmunich.graphenej.Transaction;
|
||||
import de.bitsharesmunich.graphenej.interfaces.SubscriptionListener;
|
||||
import cy.agorise.graphenej.GrapheneObject;
|
||||
import cy.agorise.graphenej.ObjectType;
|
||||
import cy.agorise.graphenej.Transaction;
|
||||
import cy.agorise.graphenej.interfaces.SubscriptionListener;
|
||||
|
||||
/**
|
||||
* Class that represents a generic subscription response.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models;
|
||||
package cy.agorise.graphenej.models;
|
||||
|
||||
/**
|
||||
* Generic witness response
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models.backup;
|
||||
package cy.agorise.graphenej.models.backup;
|
||||
|
||||
/**
|
||||
* Class used to represent an entry in the "linked_accounts" field of the JSON-formatted backup file.
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.models.backup;
|
||||
package cy.agorise.graphenej.models.backup;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Address;
|
||||
import de.bitsharesmunich.graphenej.Util;
|
||||
import cy.agorise.graphenej.Address;
|
||||
import cy.agorise.graphenej.Util;
|
||||
import org.bitcoinj.core.ECKey;
|
||||
|
||||
/**
|
|
@ -1,11 +1,10 @@
|
|||
package de.bitsharesmunich.graphenej.models.backup;
|
||||
package cy.agorise.graphenej.models.backup;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Address;
|
||||
import de.bitsharesmunich.graphenej.Util;
|
||||
import de.bitsharesmunich.graphenej.crypto.SecureRandomGenerator;
|
||||
import cy.agorise.graphenej.Address;
|
||||
import cy.agorise.graphenej.Util;
|
||||
import cy.agorise.graphenej.crypto.SecureRandomGenerator;
|
||||
import org.bitcoinj.core.ECKey;
|
||||
import org.bitcoinj.core.Sha256Hash;
|
||||
import org.spongycastle.crypto.digests.SHA256Digest;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.security.SecureRandom;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.models.backup;
|
||||
package cy.agorise.graphenej.models.backup;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.objects;
|
||||
package cy.agorise.graphenej.objects;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.google.gson.JsonDeserializationContext;
|
||||
|
@ -7,14 +7,13 @@ import com.google.gson.JsonElement;
|
|||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.JsonParseException;
|
||||
|
||||
import de.bitsharesmunich.graphenej.Address;
|
||||
import de.bitsharesmunich.graphenej.PublicKey;
|
||||
import de.bitsharesmunich.graphenej.Util;
|
||||
import de.bitsharesmunich.graphenej.errors.ChecksumException;
|
||||
import de.bitsharesmunich.graphenej.errors.MalformedAddressException;
|
||||
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
|
||||
import de.bitsharesmunich.graphenej.interfaces.JsonSerializable;
|
||||
import de.bitsharesmunich.graphenej.operations.TransferOperation;
|
||||
import cy.agorise.graphenej.Address;
|
||||
import cy.agorise.graphenej.PublicKey;
|
||||
import cy.agorise.graphenej.Util;
|
||||
import cy.agorise.graphenej.errors.ChecksumException;
|
||||
import cy.agorise.graphenej.errors.MalformedAddressException;
|
||||
import cy.agorise.graphenej.interfaces.ByteSerializable;
|
||||
import cy.agorise.graphenej.interfaces.JsonSerializable;
|
||||
|
||||
import org.bitcoinj.core.ECKey;
|
||||
import org.spongycastle.math.ec.ECPoint;
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.operations;
|
||||
package cy.agorise.graphenej.operations;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.google.common.primitives.UnsignedLong;
|
||||
|
@ -6,7 +6,7 @@ import com.google.gson.Gson;
|
|||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import de.bitsharesmunich.graphenej.*;
|
||||
import cy.agorise.graphenej.*;
|
||||
|
||||
/**
|
||||
* Class used to encapsulate operations related to the ACCOUNT_UPDATE_OPERATION.
|
|
@ -1,7 +1,7 @@
|
|||
package de.bitsharesmunich.graphenej.operations;
|
||||
package cy.agorise.graphenej.operations;
|
||||
|
||||
import de.bitsharesmunich.graphenej.*;
|
||||
import de.bitsharesmunich.graphenej.errors.MalformedOperationException;
|
||||
import cy.agorise.graphenej.*;
|
||||
import cy.agorise.graphenej.errors.MalformedOperationException;
|
||||
|
||||
/**
|
||||
* Created by nelson on 3/1/17.
|
|
@ -1,6 +1,6 @@
|
|||
package de.bitsharesmunich.graphenej.operations;
|
||||
package cy.agorise.graphenej.operations;
|
||||
|
||||
import de.bitsharesmunich.graphenej.BaseOperation;
|
||||
import cy.agorise.graphenej.BaseOperation;
|
||||
|
||||
/**
|
||||
* Base template for all operation-specific factory classes.
|
|
@ -1,10 +1,10 @@
|
|||
package de.bitsharesmunich.graphenej.operations;
|
||||
package cy.agorise.graphenej.operations;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import de.bitsharesmunich.graphenej.*;
|
||||
import cy.agorise.graphenej.*;
|
||||
|
||||
/**
|
||||
* Created by nelson on 3/21/17.
|
|
@ -1,4 +1,4 @@
|
|||
package de.bitsharesmunich.graphenej.operations;
|
||||
package cy.agorise.graphenej.operations;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
import com.google.gson.JsonArray;
|
||||
|
@ -15,11 +15,11 @@ import java.text.SimpleDateFormat;
|
|||
import java.util.Date;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import de.bitsharesmunich.graphenej.AssetAmount;
|
||||
import de.bitsharesmunich.graphenej.BaseOperation;
|
||||
import de.bitsharesmunich.graphenej.OperationType;
|
||||
import de.bitsharesmunich.graphenej.UserAccount;
|
||||
import de.bitsharesmunich.graphenej.Util;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.BaseOperation;
|
||||
import cy.agorise.graphenej.OperationType;
|
||||
import cy.agorise.graphenej.UserAccount;
|
||||
import cy.agorise.graphenej.Util;
|
||||
|
||||
/**
|
||||
* Operation used to denote the creation of a limit order on the blockchain.
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue