Alexis Hernandez
e9eb79b813
server: Hide 0 balances from the balances API
It is unnecessary to be listing 0 balances on the richest addresses.
7 years ago
Alexis Hernandez
a485037201
server: Remove the available field from the balances table
Due to a bug, maintaining this field consistent has been tricky,
now the field is dropped and we use an index over a function instead.
7 years ago
Alexis Hernandez
788da62ec0
server: Fix failing test on BlockEventsProcessorSpec
7 years ago
Alexis Hernandez
b4120e284b
server: Update the BlockEventsProcessor flow
When a block is processed, in case it can't be fully retrieved from the
rpc server, the block is ignored.
When a block is processed, if there is an existing block having the same
height, it will be replaced by the new one.
This is a part for fixing the bug #6
7 years ago
Alexis Hernandez
7b8d12e4ed
server: Add getBy height on BlockDataHandler
7 years ago
Alexis Hernandez
b4442b3d98
server: Update playsonify to 1.2.0
7 years ago
Alexis Hernandez
61c6649584
server: Add unique constraint to the blocks table
This also changes the upsert method to insert on the BlockDataHandler,
this is piece for fixing the bug #6
7 years ago
Alexis Hernandez
b5dc19ccdb
server: Update the logback config to rotate the log file daily
7 years ago
Alexis Hernandez
9fbe4f5abf
server: Update queue
7 years ago
Alexis Hernandez
7fdf67afb0
server: Delete block transactions on rechain events
This fixes a bug that corrupted the balances table because the
transactions related to a block weren't being deleted, hence, causing
wrong balances.
7 years ago
Alexis Hernandez
779ded1973
server: Add deleteBy blockhash method to TransactionPostgresDataHandler
7 years ago
Alexis Hernandez
547e9bb835
server: Update anorm to 2.6.1
7 years ago
Alexis Hernandez
27d0ff3762
server: Update play framework to 2.6.13
7 years ago
Alexis Hernandez
99d28d12e6
server: Fix parsing the lastSeen field on the masternode
7 years ago
Alexis Hernandez
da144b7205
server: Add endpoint "GET /masternodes"
7 years ago
Alexis Hernandez
acc4ddba2d
server: Add getMasternodes method to XSNService
7 years ago
Alexis Hernandez
c215cbe9dd
server: Add sbt-scoverage plugin
7 years ago
Alexis Hernandez
4ce253ab90
server: Use BackwardsSynchronizerTask on SQSSeederTask
7 years ago
Alexis Hernandez
b335ea1c34
server: Add BackwardsSynchronizerTask
7 years ago
Alexis Hernandez
1066058267
server: User TransactionService#getTransaction on FirstBlockSynchronizerTask
7 years ago
Alexis Hernandez
a43435c4c3
server: Move getTransaction method from BlockEventsProcessor to TransactionService
7 years ago
Alexis Hernandez
73646f71cd
server: Rename BlockSynchronizerTask to FirstBlockSynchronizerTask
7 years ago
Alexis Hernandez
78dbc3d160
server: Update BlockEventsProcessor to return detailed results
7 years ago
Alexis Hernandez
1f8c53ddc9
server: Move SQSSeederTask to the tasks package
7 years ago
Alexis Hernandez
e16ee760bc
server: Don't require spent index on BlockEventsProcessor
7 years ago
Alexis Hernandez
7cf2f5f372
server: Fix StatisticsControllerSpec
7 years ago
Alexis Hernandez
1a59506179
server: Allow to specify ordering on GET /balances
7 years ago
Alexis Hernandez
b4df50edac
server: Add BalanceOrderingParser
7 years ago
Alexis Hernandez
c17dcb8930
server: Add FieldOrderingSQLInterpreter
7 years ago
Alexis Hernandez
6f2b9f8aee
server: Add FieldOrderingParser
7 years ago
Alexis Hernandez
c8480a90ff
server: Fix corrupting balances while adding repeated blocks
7 years ago
Alexis Hernandez
c4807c6a04
server: Fix StatisticsControllerSpec
7 years ago
Alexis Hernandez
313562a0fb
server: Increase number of active connections on postgres tests
7 years ago
Alexis Hernandez
444b7d37b3
server: Allow total and circulating supply to be missing
7 years ago
Alexis Hernandez
3f60fe7611
server: Add the number of masternodes to the statistics endpoint
7 years ago
Alexis Hernandez
8665da9119
server: Update the BlockEventsProcessor to handle possible missing blocks
7 years ago
Alexis Hernandez
cc8a271c3e
server: Add BalancesControllerSpec
7 years ago
Alexis Hernandez
72991de5f7
server: Increase coverage on BalancePostgresDataHandlerSpec
7 years ago
Alexis Hernandez
4e6f0f0ece
server: Remove unused code from BalanceDataHandler
7 years ago
Alexis Hernandez
a784e60641
server: Fix messages on PaginatedQueryError
7 years ago
Alexis Hernandez
f39b0fc111
server: Disable SeederModule on MyAPISpec
7 years ago
Alexis Hernandez
521d3fa361
server: Remove unused code
7 years ago
Alexis Hernandez
04c0146a85
server: Fix StatisticsControllerSpec
7 years ago
Alexis Hernandez
cbdfaf06e9
server: Update Statistics to be loaded from StatisticsDataHandler
7 years ago
Alexis Hernandez
44e19e8dc5
server: Include circulatingSupply on statistics
7 years ago
Alexis Hernandez
6f533d5616
server: Add getCirculatingSupply method to BalanceDataHandler
7 years ago
Alexis Hernandez
b43bf44737
server: Add endpoint GET /balances to get richest balances
7 years ago
Alexis Hernandez
fd075756c3
server: Add the BalanceDataHandler
7 years ago
Alexis Hernandez
a8fbfa036c
server: Add the PaginatedQueryValidator
7 years ago
Alexis Hernandez
9db6f8f2c2
server: Add the PaginatedResult model
7 years ago