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
Alexis Hernandez
3bf3fce27c
infra: Fix deploy-web-ui.md symbol
6 years ago
Alexis Hernandez
fe5d3b004a
web-ui: Improve the block details component ( #19 )
- A message is displayed when the transaction list is not available.
- The transaction list is loaded after the block data.
- When the paginated transactions aren't available, the transaction
list from the block data is displayed.
6 years ago
Alexis Hernandez
b4a4577186
server: Add "GET /blocks/:blockhash/transactions" ( #19 )
6 years ago
Alexis Hernandez
11e25da4a4
server: Add getByBlockhash method to the TransactionDataHandler ( #19 )
6 years ago
Mario Mejia
b6a98d1ffa
web-ui: improvements on block details view ( #19 )
transactions for the block are now retrieved separately, the
transactions table is paginated and shows more info and
finally the view now is mobile friendly
7 years ago
Alexis Hernandez
13ea8da0be
Update README.md
6 years ago
Alexis Hernandez
113ac97c8b
infra: Update the xsn.conf
6 years ago
Alexis Hernandez
4280ecc27d
server: Allow CORS from https://cloud.stakenet.io
6 years ago
Alexis Hernandez
393b737df3
infra: Add maintenance page
6 years ago
Alexis Hernandez
6379c4e0bf
Revert "server: Hardcode previous supplies ( #47 )"
This reverts commit 249589b8709170eba41dc2199fdfef470f87cb11.
6 years ago
Alexis Hernandez
41ea8f776a
server: Hardcode previous supplies ( #47 )
Until #47 is fixed, we'll display the previous supplies
to avoid displaying any possible big inconsistencies.
6 years ago
Alexis Hernandez
8bb3ff26e0
server: Disable address checks ( #45 )
In order to keep the database in sync, the address
checks are being disabled, this is a partial solution
to let the explorer continue working until the actual
validations are added.
6 years ago
Alexis Hernandez
2a2e17b0b9
server: Update the masternode parsing
With the segwit update, the masternode format has been updated.
7 years ago
Mario Mejia
9174175ef1
web-ui: application of explorerDateTime pipe
7 years ago
Mario Mejia
8d395f2051
web-ui: creation of explorerDatetime pipe to show the same date format
7 years ago
Alexis Hernandez
f9765c0f20
server: Update README.md
6 years ago
Alexis Hernandez
9e8675f2b1
Add codacy coverage badge to the README.md
7 years ago
Alexis Hernandez
e942f6c423
server: Add codacy coverage
7 years ago
Alexis Hernandez
b650c39192
infra: Remove useless information
7 years ago
Alexis Hernandez
7791646b60
server: Update README.md
7 years ago
Alexis Hernandez
56c88d9114
web-ui: Support P2WPKH address format ( #33 )
7 years ago
Alexis Hernandez
6fd6db473b
server: Add the AMOUNT_TYPE domain to the evolution schema ( #35 )
7 years ago
Alexis Hernandez
b9a035e9aa
server: Support P2WPKH address format ( #33 )
7 years ago
Alexis Hernandez
a0f0df9946
server: Improve the evolution schema ( #35 )
Add a foreign key on the transaction_inputs table to ensure
that an output has been referenced only once.
7 years ago
Alexis Hernandez
cd5fadc472
server: Update "GET /addresses/:address/utxos" ( #34 )
Previously, the endpoint was retrieving the information from
the xsn service, now it is loaded from the database.
7 years ago
Alexis Hernandez
ee71562fb6
server: Add getUnspentOutputs method to the TransactionDataHandler ( #34 )
7 years ago
Alexis Hernandez
c594de3a14
server: Clean legacy code from TransactionDataHandler ( #34 )
7 years ago
Alexis Hernandez
ef0b7ba633
server: Mark output as spent while creating transactions ( #34 )
7 years ago
Alexis Hernandez
dee0f7e600
server: Update the database schema to support utxos ( #35 )
7 years ago
Alexis Hernandez
5cbf98caa0
server: Add foreign key to the next_blockhash ( #35 )
When the next block is deleted, the next_blockhash is
updated with a null value to avoid conflicts and improve
the database consistency.
7 years ago
Alexis Hernandez
28570f80f5
server: Remove legacy seeder tasks ( #38 )
The SQS seeder and the Poller seeder are removed, they weren't
adapted to the linear synchronization process and they are not
required anymore.
Also, all related classes and dependencies that where used by
these tasks were removed too.
7 years ago
Alexis Hernandez
d6a74dbb43
server: Add the PollerSynchronizerModule ( #38 )
This disables the SeederModule that uses SQS to sync the database.
7 years ago
Alexis Hernandez
db7059db63
server: Add the PollerSynchronizerTask ( #37 )
The task runs frequently polling the xsn service for its latest block,
then, it calls the LedgerSynchronizerService to ensure that block
gets into the ledger database.
7 years ago
Alexis Hernandez
03ed7a694b
server: Add the LedgerSynchronizerService ( #37 )
This is a simplified version of the BlockEventProcessor, it handles
the synchronization between the xsn and our ledger database, it also
takes care of a lot of corner cases to keep the synchronization process
flexible enough and linear.
7 years ago
Alexis Hernandez
d012bef430
server: Add the LedgerDataHandler ( #37 )
This is the initial piece for integrating the linear database
seeding.
7 years ago
Alexis Hernandez
9759bc4bb9
server: Complete fixing the tests after schema changes ( #35 )
It is very likely that this change has fixed #15 .
7 years ago
Alexis Hernandez
d338ff9fad
server: Add support for storing the genesis block ( #39 )
7 years ago
Alexis Hernandez
2eb9c010dd
server: Initial database redesign ( #35 )
- The evolutions compacted.
- Domain types created.
- Foreign keys added.
- Support for the P2WPKH address format added.
7 years ago
Alexis Hernandez
cfee221f87
Update the github templates
7 years ago
Alexis Hernandez
2a339a5678
web-ui: Small fixes to merge #31
- The Transaction model was updated.
- Useless code removed.
- Added missing details to the AddressDetails component.
7 years ago
Mario Mejia
027b3aa3a0
web-ui: improvements on address details view ( #18 )
transactions from the address are now retrieved separately, the address
model was chaged for the balance model, the transactions table now is
paginated and shows more info and now the view is mobile friendly
7 years ago
Alexis Hernandez
6ed2b5d31e
server: Update "GET /addresses/:address" ( #18 )
Now it retrieves the address balance from the database
instead of the xsn server, this reduces the data because
now we get the balance only and the transactions are retrieved
with another endpoint.
7 years ago
Alexis Hernandez
83bfd06645
server: Add getBy method to BalanceDataHandler ( #18 )
7 years ago
Alexis Hernandez
4355a0347f
server: Update the "GET /addresses/:address/transactions"
Now it returns the transaction values where the address was involved.
7 years ago
Alexis Hernandez
510b127d3c
server: Add support for ordering in "GET /addresses/:address/transactions"
7 years ago
Alexis Hernandez
c2ec7aedf3
server: Update BalanceField to use enumeratum
7 years ago