Alexis Hernandez
c410771ed4
server: Run the BackwardsSynchronizerTask after replacing a block by height ( #30 )
7 years ago
Alexis Hernandez
d8c24f9057
server: Fixes #21 Add the PollingSeederModule
This is a replacement for the SQSSeederModule, instead
of requiring AWS SQS to sync the database, we poll the
latest block from the rpc server every minute.
As reuse most of the logic from the SQS seeding approach,
this could be a good replacement to remove the AWS
dependency, at the moment, the idea is to use this new
module locally.
7 years ago
Alexis Hernandez
032fac4378
server: Remove the FirstBlockSynchronizerTask
The same job can be done by the BackwardsSynchronizerTask, there is no
need to keep both.
7 years ago
Alexis Hernandez
faef6eadf7
server: Small fix to the BackwardsSynchronizerTask
When running the task, we replace a block when its height already exists,
this should help on the fix for #11 and #12 .
7 years ago
Alexis Hernandez
0317a4d933
server: Refactor DatabaseSeeder and BlockEventsProcessor
7 years ago
Alexis Hernandez
9dd94f299b
server: Add retries to the SQSSeederTask
Don't stop consuming messages when the connection to SQS is lost,
instead, retry to connect.
7 years ago
Alexis Hernandez
2f789bbf13
server: Fix non-exhaustive pattern matches
7 years ago
Alexis Hernandez
b4442b3d98
server: Update playsonify to 1.2.0
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
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
8665da9119
server: Update the BlockEventsProcessor to handle possible missing blocks
7 years ago
Alexis Hernandez
e93ec20cdb
server: Update the SQSSeederTask to call the BlockSynchronizerTask
7 years ago
Alexis Hernandez
790adb398c
server: Add BlockSynchronizerTask
7 years ago