Commit graph

49 commits

Author SHA1 Message Date
Nelson R. Perez
d72e608807 - Added the required deserialization logic to parse the response to the 'get_objects' API call with an asset bitasset data type
- Removed unresponsive node URLs from the sample app
2019-04-04 15:12:09 -05:00
Nelson R. Perez
c861c72a31 Added a brainkey derivation feature to the sample app 2019-04-04 11:47:35 -05:00
Nelson R. Perez
201d6957f8 - Added support for the "get_transaction" API call for the single-connection mode
- Overrided the toString method of the Transaction class
2018-12-26 17:45:41 -05:00
Nelson R. Perez
b54ae2cbae Added support for the 'get_assets' API call on the single-connection mode 2018-12-19 12:49:04 -05:00
Nelson R. Perez
0cba6a9f8d Added support for the broadcast_transaction API call in the single connection mode 2018-12-06 19:17:32 -05:00
Nelson R. Perez
e1395a9d92 Modified the GetRequiredFees class and adjusted the sample app 2018-11-16 00:18:29 -05:00
Nelson R. Perez
bcb4f8a964 Merge branch 'develop' of github.com:Agorise/graphenej into develop 2018-11-13 17:48:48 -05:00
Severiano Jaramillo
b6aab142b6 - Added a method to remove nodes from LatencyNodeProvider and implemented a HashSet to keep track of such removed nodes. The reason is that calls to this class are asynchronous and only removing a node from the mFullNodeHeap was not enough to guarantee that it was not going to be added again.
- Added a isRemoved variable to FullNode class, so that the object can carry itself the removal status information and be able to use the same publish subject to broadcast the status of the FullNode.
- Added a method to remove nodes from NodeLatencyVerifier, removed such nodes from pending node latency measurements map 'nodeURLMap' and publish/broadcast the FullNode information with isRemoved=true so that components listening can act accordingly.
- Make proper changes to sample app's RemoteNodeActivity so that it removes 'removed' nodes from the list.
2018-11-08 15:14:01 -06:00
Severiano Jaramillo
21311ea5a3 Create RemoveNodeActivity in the sample project that shows an updated list of nodes sorted by latency. This whole activity while be used to add and test the functionallity of removing a node from the nodes list when the app that uses graphenej decides so, and then reconnects to the next best node. 2018-11-08 13:01:09 -06:00
Severiano Jaramillo
94511daea9 Simple improvements to sample app layouts 2018-11-08 10:44:47 -06:00
Nelson R. Perez
f3731d140b Logging connection status updates and including a new node URL in the sample app 2018-11-07 17:36:35 -05:00
Nelson R. Perez
f940d49cfc Added support for the 'get_account_balances' API call in the single-connection mode 2018-11-01 16:54:03 -05:00
Nelson R. Perez
63eebf11c4 Exposing an interface that allows the fine tuning of the alpha parameter used to calculate the exponential moving average of measured latencies 2018-10-18 17:36:34 -05:00
Nelson R. Perez
3a19808ac5 Moved the node list information out of the library, this must be provided by the application now 2018-10-18 12:14:05 -05:00
Nelson R. Perez
b361cf5830 Added support for the 'get_key_references' API call in the single-connection mode 2018-10-08 19:55:49 -05:00
Nelson R. Perez
5a113ad7cc Added support fot the get_dynamic_global_properties API call in the single-connection mode 2018-10-04 10:13:55 -05:00
Nelson R. Perez
e107c014f0 The network service will retry a connection after 5 seconds in case of socket failure 2018-09-23 20:50:39 -05:00
Nelson R. Perez
a3288165de - Activating the latency verificaton at the SampleApplication 2018-09-20 21:51:41 -05:00
Nelson R. Perez
776630dd57 - Introduced some instrumented test dependencies
- Fixed a problem in the LatencyNodeProvider#updateNode(FullNode) method
- Fixed a bug in the LatencyNodeProvider#getSortedNodes() method
- Introducing the NodeLatencyVerifier class
2018-09-20 16:21:25 -05:00
Nelson R. Perez
ccf61858e4 Modified the NetworkService and the NetworkServiceManager classes in order to pass arguments to the service via Intent extras and to allow delayed network connection 2018-09-19 16:44:26 -05:00
Nelson R. Perez
9329d59ce7 Moved the Memo class 2018-09-17 12:19:22 -05:00
Nelson R. Perez
0437919bb8 Fixing problem with the de-serialization procedure of the 'get_full_accounts' API call response 2018-09-06 23:46:42 -05:00
Nelson R. Perez
6abd71252e Added support for the 'get_full_accounts' API call in the single connecton mode 2018-09-06 18:09:18 -05:00
Nelson R. Perez
229590457b - Added support for the 'get_account_history_by_operations' API call
- Introduced a test case for the de-serialization of the HistoryOperationDetail object instance
- Making the sample app use the newly introduced 'get_account_history_by_operations' API call
2018-09-05 21:04:46 -05:00
Nelson R. Perez
7e2ef7b705 Added support for message subscriptions on the single connection mode 2018-08-30 22:32:50 -05:00
Nelson R. Perez
81d61986ea Added support for the GetLimitOrders API call in the single connection mode 2018-08-16 23:59:14 -05:00
Nelson R. Perez
de3dc2b120 Added support for the get_account_by_name API call wrapper in the single connection mode 2018-08-08 18:53:57 -05:00
Nelson R. Perez
4d7f2a28a5 Removed old MainActivity class 2018-08-08 17:00:47 -05:00
Nelson R. Perez
140cab48cd Added support for the list_assets API call wrapper in the single connection mode 2018-07-25 13:08:09 -05:00
Nelson R. Perez
222fd88afa - Added partial support for the 'get_objects' API call in the single connection mode
- Changed the layout of the sample app in order to present a list of all supported API calls in the first activity
- Introducing a specific activity to perform the API calls in the sample app
2018-06-28 23:42:40 -05:00
Nelson R. Perez
c5ffc614f4 Updating the constraintlayout library and introducing the design layout 2018-06-28 23:40:59 -05:00
Nelson R. Perez
7a335317f4 Updating the api target version and including the recyclerview in the sample app project 2018-06-27 16:48:20 -05:00
Nelson R. Perez
05699df638 Introducing support for the LookupAssetSymbol api call wrapper in the single connection mode 2018-06-16 14:54:17 -05:00
Nelson R. Perez
e056c16aa9 - Added back the files for the sample project to the repository
- Updated the sample project to test the 'get_block_header' api call wrapper using the single connection mode
2018-06-12 13:56:59 -05:00
Nelson R. Perez
4f6b628891 Introducing the SkipAssetOptionsStrategy class, used to avoid falling into an infinite loop while deserializing/serializing results from the get_relative_account_history API call 2018-06-11 23:48:35 -05:00
Nelson R. Perez
8c5d48f71d Reorganized the layout of the sample app 2018-06-11 15:13:09 -05:00
Nelson R. Perez
57f8fb1aa4 Changed remaining packages references 2018-06-08 18:43:30 -05:00
Nelson R. Perez
7c6dd95f2c Changed the sample app's package name 2018-06-08 18:42:30 -05:00
Nelson R. Perez
7c79c7f5bf - Introduced the DeserializationMap class in order to keep a mapping between request and response classes, and how to de-serialize them
- Fixed an infinite loop that was introduced in the de-serialization of the AccountProperties
- Implementing the GetAccounts wrapper in the sample app
2018-06-05 23:11:28 -05:00
Nelson R. Perez
40222055aa Including usage of the GetAccounts API call using the single service conection in the sample app 2018-06-04 22:10:55 -05:00
Nelson R. Perez
8048e77d30 Added support for java 8 in the sample app 2018-06-04 22:08:40 -05:00
Nelson R. Perez
636de75fb8 Gradle update 2018-05-31 15:52:26 -05:00
Nelson R. Perez
6bda451f72 Increasing the current id after sending the message and moved the shared preferences setup to the SampleApplication class 2018-05-31 15:52:26 -05:00
Nelson R. Perez
5875c5a2de Removing unnecessary intent extras 2018-05-31 15:52:26 -05:00
Nelson R. Perez
593d3fc0d8 - Moved the NetworkService management logic to the newly introduced NetworkServiceManager class 2018-05-31 15:52:26 -05:00
Nelson R. Perez
94986a4786 Introduced the GetRequiredFees API call 2018-05-31 15:52:26 -05:00
Nelson R. Perez
e9c920d469 Moved the NetworkService to the graphenej library 2018-05-31 15:52:26 -05:00
Nelson R. Perez
628faf6109 Handling only credentials and API access messages locally, deferring all other messages to the bus 2018-05-31 15:52:26 -05:00
Nelson R. Perez
69a0a64d30 Initial tests in order to introduce a centralized broker architecture 2018-05-31 15:52:26 -05:00