Alexis Hernandez
b2aaae4d4d
server: Be resilient while loading a transaction
For loading a transaction, we need to make several calls to
the RPC API for retrieving the inputs, when the server gets
overloaded by this, we try to get the inputs sequentially.
6 years ago
Alexis Hernandez
f348eaf86f
server: Enable constraints on the Address model
6 years ago
Alexis Hernandez
19a711dec0
web-ui: Ignore the web-ui.zip file
6 years ago
Alexis Hernandez
2ca745c6e8
web-ui: Remove console.log
6 years ago
Alexis Hernandez
9a832c5380
infra: Add deployment hosts for xsn and ltc
6 years ago
Alexis Hernandez
d4515a3583
infra: Add scripts for deploying the frontend
6 years ago
Alexis Hernandez
c8b71046a3
server: Be resilient while loading a batch of transactions
Instead of failing to load a batch of transactions, we try to load
them sequencially to avoid overloading the RPC API.
This allows a smoother synchronization process.
6 years ago
Alexis Hernandez
479eaca09c
server: Handle XSNWorkQueueDepthExceeded when the response is not a json
When the RPC API returns a non-json response, the XSNWorkQueueDepthExceeded
error can be derived.
6 years ago
Alexis Hernandez
f4738baef7
server: Update playsonify to 2.0.0
6 years ago
Alexis Hernandez
e20d12cd54
server: Add XSNWorkQueueDepthExceeded error
Now, when the XSN RPC API returns the "Work Queue Depth Exceeded" error,
it will be mapped to the XSNWorkQueueDepthExceeded error.
6 years ago
Alexis Hernandez
9c5dcbeeac
infra: Update hidden_addresses
6 years ago
Alexis Hernandez
1ec1629a19
server: Update the endpoint for retrieving latest transactions
6 years ago
Alexis Hernandez
29dae2177e
web-ui: Integrate analytics
6 years ago
Alexis Hernandez
dd8751bd2c
infra: Update the expected user on deployment scripts
6 years ago
Adinael Perez Ruelas
bcdbf1cd0f
Server: fix the getLatestTransactionBy method
when sending an empty list
added the tests for sending an empty list and retrieving valid data
6 years ago
Adinael Perez Ruelas
8c805a95d3
Server: Optimized the getBy and countBy methods
changing the transaction_inputs and transaction_outputs tables for address_transaction_details table which is indexed
6 years ago
Alexis Hernandez
fc7ef3759d
infra: Update systemd services for xsn
The file limit is increased to avoid failures while
synchronizing the database.
The change was missing on the previous commit.
6 years ago
Alexis Hernandez
a532543662
infra: Update systemd services for xsn and ltc
The file limit is increased to avoid failures while
synchronizing the database.
6 years ago
Alexis Hernandez
cf420b0224
server: Allow to override the genesis block with environment variable
6 years ago
Alexis Hernandez
cf3fd0f044
infra: Add deployment scripts for litecoin
6 years ago
Alexis Hernandez
160134341d
infra: Create the .gitignore for the deployment files
6 years ago
Alexis Hernandez
c01b2333a2
infra: Move the docs for deploying to the docs folder
6 years ago
Alexis Hernandez
01bde7895a
infra: Update the README.md for deploying the apps
6 years ago
Alexis Hernandez
0f39c55630
infra: Add script to deploy the xsn-backend
6 years ago
Alexis Hernandez
d1a6178337
infra: Add script to deploy postgres
6 years ago
Alexis Hernandez
94967d4f06
infra: Add script to deploy xsnd
6 years ago
Alexis Hernandez
449579dfce
server: Update postgres driver to 42.2.5
6 years ago
Adinael Perez Ruelas
ded2c47841
server: Load the genesis block from the config file
6 years ago
Adinael Perez Ruelas
117a66869b
server: Add the genesis block to the config file
6 years ago
Alexis Hernandez
fa829936e4
server: Fix log messages on XSNService
6 years ago
Alexis Hernandez
418f2fd4fa
server: Update the nonce from the Block model to Long
6 years ago
Alexis Hernandez
c289364e25
server: Update the nonce type from blocks table to bigint
6 years ago
Alexis Hernandez
e66da34260
server: Remove 6k from the supplies (temporal fix)
It looks like the supplies are not being computed correctly,
this temporal fix allow us to have an accurate number while
having time to investigate the issue.
6 years ago
Alexis Hernandez
a4563a5dc5
server: Add dev.stakenet.io to the CORS rules
6 years ago
Alexis Hernandez
d4acc18d9f
server: Add endpoint "POST /transactions/latest"
This retrieves the latest transaction id for the given addresses.
6 years ago
Alexis Hernandez
65f94b1436
server: Add getLatestTransactionBy method to the TransactionDataHandler
The method returns the latest transaction id for each of the given addresses.
6 years ago
Alexis Hernandez
f7887cf3b1
server: Fill the address_transaction_details while synching the db
6 years ago
Alexis Hernandez
80f27602f6
server: Add the address_transaction_details table
6 years ago
Alexis Hernandez
84c6d69f18
infra: Update queries.sql
6 years ago
Alexis Hernandez
83b2cf7fa7
server: Fix the sentry package properties
6 years ago
Alexis Hernandez
bdae233f76
infra: Store the hidden_addresses in a file
6 years ago
Alexis Hernandez
875be83564
server: Set up sentry-logback
6 years ago
esuau
64a0946e36
web-ui: #61 Fix error 'Observable.of is not a function'
6 years ago
esuau
4b24e70ed5
web-ui: format Karma configuration file
6 years ago
esuau
2a403b1d06
web-ui: Add updated yarn.lock file
6 years ago
esuau
f52c6f2af9
web-ui: Fix X9Developers/block-explorer#55 by upgrading dependencies
6 years ago
Alexis Hernandez
a8fb693018
server: Reuse the paginated query on the BlockPostgresDAO
The getFirstBlock and getLatestBlock methods use the paginated
query to get the results.
6 years ago
Alexis Hernandez
c72f458a9d
server: Allow to get paginated blocks from the BlockDataHandler
6 years ago
Rishabh Chakrabarti
35deff6b5e
server: Add root-cause-exception-first logging to logback.xml ( #57 )
This change helps identify the root cause in the stack trace of exceptions.
6 years ago
Rishabh Chakrabarti
1680b7b852
server: Integrated sbt-errors-plugin
6 years ago