Commit Graph

94 Commits (823fc27c2800afbf772282878884a257b2eca014)

Author SHA1 Message Date
Nelson R. Perez 3c6d96f48a Using the Bitshares mainnet chain id as default, but allowing the user to set it up manually either via constructor or setter method 2018-01-23 12:03:20 -05:00
Kostya Shpachenko a2886ea0a5 Fixed deserialization of "seller" field of limit_order_create_operation 2017-12-18 15:40:38 +02:00
Kostya Shpachenko d0629eab85 Implemented deserialization of custom operation 2017-12-18 15:39:37 +02:00
Kostya Shpachenko 16d3ff6721 Implemented support of custom operation 2017-12-13 23:55:00 +02:00
Kostya Shpachenko 74767f2d1d Implemented GetBlock API call 2017-12-12 16:36:50 +02:00
Nelson R. Perez ff856e7e2c Fixing small issue with the OrderBook#calculateObtainedQuote() method 2017-11-29 00:24:13 -05:00
Nelson R. Perez 2520099762 Serializing the memo only when the message bytes is not null 2017-11-27 23:05:42 -05:00
Nelson R. Perez fb80fe3c02 Introducing some copy constructors and making sure #multiplyBy and #divideBy return different instances 2017-11-23 23:38:53 -05:00
Nelson R. Perez 9a1808d127 Modified AssetAmount#multiply() and AssetAmount#divide() to not cast its value to a long primitive and thus preventing some overflow scenarios that the idea of using the UnsignedLong class is suposed to prevent 2017-11-23 23:03:41 -05:00
Nelson R. Perez 3796ed5f81 Updating the OrderBook class, adding #calculateObtainedQuote and #calculateRequiredBase methods 2017-11-17 16:46:26 -05:00
Nelson R. Perez ab7f88d17c Version 0.4.6-alpha2 2017-11-16 10:38:49 -05:00
Nelson R. Perez 394ed4b3b0 Adding support for optional decimal or hex representations of the memo's nonce value in the newly introduced toJson method. Also introducing a Serializer 2017-11-09 23:52:50 -05:00
Nelson R. Perez 70b251a665 Adding support for a string-based query when using the LookupAssetSymbols API 2017-11-09 18:21:41 -05:00
Nelson R. Perez 2ea1fa9cc7 Using a long data type for the sequenceId variable 2017-11-09 17:51:29 -05:00
Nelson R. Perez 2d81979c08 Only subscribing to events if the clearFilter variable is true, and also adding support for handlers added before the connection was established 2017-11-09 17:50:49 -05:00
Nelson R. Perez 1e18382451 Avoiding a NullPointerException and using a sequential requestId in order to use this class with the NodeConnection 2017-11-09 17:49:18 -05:00
Nelson R. Perez c8fe1ec9c4 Increasing the message ids of the SubscriptionMessagesHub increase monotonically 2017-11-09 15:08:35 -05:00
Nelson R. Perez b1c93a97e1 Replacing last argument of the NodeConnection#connect method for a NodeErrorListener instance 2017-11-03 00:28:25 -05:00
Nelson R. Perez 3d4b2719bb Fixing memo toJsonObject test and deserializing memo's nonce only as a decimal number 2017-11-02 17:57:15 -05:00
Nelson R. Perez 0192728bd5 Using hexlify in order to obtain the bytes from the BigInteger nonce 2017-11-02 17:49:03 -05:00
Nelson R. Perez fc91f7366c Experimentally changing the nonce type to BigInteger 2017-11-02 17:49:03 -05:00
Nelson R. Perez 3e96bbc9b3 Adding node hopping capabilities to the NodeConnection class along with some tests 2017-11-01 21:18:36 -05:00
Nelson R. Perez 69ccbe8cd9 - Reverted the Memo#nonce attribute to the original long type
- Properly fixed the deserialization problem and added a specific test case at MemoTest#shouldDeserializeFromString
2017-10-17 23:19:55 -05:00
Nelson R. Perez b305faa662 Fixing a bug with memo deserialization 2017-10-12 23:34:22 -05:00
Nelson R. Perez 61dc72724e Fixed a bug in the OrderBook.calculateRequiredBase method that made the calculation of the required asset amount to fail some times 2017-10-12 18:22:29 -05:00
Nelson R. Perez 6ac84f9a52 Decreasing count when removing subscription listener 2017-10-04 23:05:14 -05:00
Nelson R. Perez 5e88c209e3 Package rename 2017-10-02 14:34:50 -05:00
Nelson R. Perez f643edf36e Merging Kencode's repo with NodeConnection improvements, tests and some documentation fixes 2017-09-27 23:51:37 -05:00
Nelson R. Perez 040a53f408 Adding memo deserialization 2017-09-25 22:53:30 -05:00
Vinícius 9b292d220e Fix memo deserialization 2017-07-31 15:24:13 -03:00
Vinícius eab6990d73 Fix memo 2017-07-31 12:52:20 -03:00
Vinícius c66ed99681 Add LookupAssetSymbols and TransactionBroadcastSequence API tests 2017-07-25 20:52:15 -03:00
Vinícius cadcca0230 Add GetMarketHistory, GetObjects and GetRelativeAccountHistory API tests 2017-07-21 18:56:17 -03:00
Vinícius 158c9604b8 Fix GetLimitOrders listener and add GetLimitOrders and GetTradeHistory API tests 2017-07-21 13:27:51 -03:00
Vinícius a824d8fc40 Finishing base docs for all API handler classes 2017-07-20 23:47:24 -03:00
Vinícius 240cff9c7c Fix conflicts between NodeErrorListener and WitnessResponseListener 2017-07-20 19:35:37 -03:00
Vinícius e364fe678f Adding docs and some tests for a few API handler classes (GetRequiredFees, ListAssets, LookupAccounts, LookupAssetSymbols and SubscriptionMessagesHub 2017-07-20 16:37:16 -03:00
Vinícius ad2e414548 Implementating node hop at NodeConnection and tests 2017-07-20 01:23:56 -03:00
Vinícius f367eb0021 Adding docs and tests for some API handler classes (GetAccountBalances and GetAccountByName) 2017-07-19 13:48:47 -03:00
Vinícius c29830da9b Implementing add list of urls to NodeConnect 2017-07-19 12:03:15 -03:00
Vinícius 5a58cf5579 Introducing node hop feature to some blockchain API handler classes (GetRequiredFees, GetTradeHistory, ListAssets, LookupAccounts, LookupAssetSymbols and TransactionBroadcastSequence) 2017-07-19 02:39:15 -03:00
Vinícius 7313279f95 Introducing node hop feature to some blockchain API handler classes (GetBlockHeader, GetKeyReferences, GetLimitOrders, GetMarketHistory, GetObjects, GetRelativeAccountHistory) 2017-07-18 22:07:07 -03:00
Vinícius 5369976f08 Introducing node hop feature to some blockchain API handler classes (GetAccountBalances, GetAccountByName, GetAccounts and GetAllAssetHolders) 2017-07-18 15:30:22 -03:00
Nelson R. Perez f5288afde9 Introduced the AuthorityType enum class 2017-07-11 23:05:40 -05:00
Nelson R. Perez 184bbfafa3 Fixing uses of the UserAccount.toJsonString() and replacing them by the correct UserAccount.getObjectId() instead 2017-07-04 16:45:30 -05:00
Nelson R. Perez 83ffdd70f7 Fixing bug that made the GetRelativeAccountHistory class fail 2017-07-04 12:54:46 -05:00
Nelson R. Perez 50fc2d805e Introducing a couple of private variables in order to keep track of the subscription status 2017-07-03 20:05:59 -05:00
Nelson R. Perez ec19b62ba7 Renaming SUBSCRIPTION_ID to MANUAL_SUBSCRIPTION_ID to better reflect its purpose and using it as the base for subscription ids in the NodeConnection class 2017-07-03 13:50:23 -05:00
Nelson R. Perez 105d4e6d10 Exposing the 'resubscribe' method, which allows to re-establish a subscription after it was cancelled 2017-07-03 13:23:32 -05:00
Nelson R. Perez d08afaa7c0 Removing log 2017-06-28 18:19:59 -05:00