Alexis Hernandez
3a8d3cb803
server: Use BlockOps on BlockEventsProcessor
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
2f789bbf13
server: Fix non-exhaustive pattern matches
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
b4442b3d98
server: Update playsonify to 1.2.0
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
a43435c4c3
server: Move getTransaction method from BlockEventsProcessor to TransactionService
7 years ago
Alexis Hernandez
78dbc3d160
server: Update BlockEventsProcessor to return detailed results
7 years ago
Alexis Hernandez
e16ee760bc
server: Don't require spent index on BlockEventsProcessor
7 years ago
Alexis Hernandez
c8480a90ff
server: Fix corrupting balances while adding repeated blocks
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
439f9bccc8
server: Update the BlockEventsProcessor
Now it stores and rolls back the transactions and
balances related to the block event.
7 years ago
Alexis Hernandez
02b03b22c8
server: Add BlockEventsProcessor
7 years ago