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
Adinael Perez Ruelas
ded2c47841
server: Load the genesis block from the config file
6 years ago
Alexis Hernandez
c72f458a9d
server: Allow to get paginated blocks from the BlockDataHandler
6 years ago
Alexis Hernandez
2a2e17b0b9
server: Update the masternode parsing
With the segwit update, the masternode format has been updated.
7 years ago
Alexis Hernandez
dee0f7e600
server: Update the database schema to support utxos ( #35 )
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
d338ff9fad
server: Add support for storing the genesis block ( #39 )
7 years ago
Alexis Hernandez
41abe0e741
server: Add getUnspentOutputs method to XSNService
This is a part for #23 .
7 years ago
Alexis Hernandez
339fab1176
server: Make blocktime and time fields non-mandatory in rpc transactions
Sometimes the rpc server returns transaction with the blocktime and time
fields missing.
7 years ago
Alexis Hernandez
def051cf1e
server: Add getRawBlock method to XSNService
7 years ago
Alexis Hernandez
4e96219d77
server: Add getRawTransaction method to XSNService
7 years ago
Alexis Hernandez
4bed8492c0
server: Add getBlockhash method to XSNService
7 years ago
Alexis Hernandez
e76def63cb
server: Add getMasternode method to the XSNService
7 years ago
Alexis Hernandez
99d28d12e6
server: Fix parsing the lastSeen field on the masternode
7 years ago
Alexis Hernandez
acc4ddba2d
server: Add getMasternodes method to XSNService
7 years ago
Alexis Hernandez
490724f39b
server: Add getServerStatistics method to XSNService
7 years ago
Alexis Hernandez
1972ae8ae8
server: Add support for TPoS blocks with coinsplit
7 years ago
Alexis Hernandez
1b614d2807
server: Support multiple inputs on transactions
7 years ago
Alexis Hernandez
bf722ec212
server: Refactor tests to load transactions and blocks from files
7 years ago
Alexis Hernandez
5094bb35e4
server: Retrieve transaction list while retrieving an address
7 years ago
Alexis Hernandez
d2c75dafb1
server: Fix bug related to RPC Server 1.0.3
The server was returning status 200 for most results and it
is now returning 500, like when a transaction wasn't found.
7 years ago
Alexis Hernandez
f2beb40fa2
server: Update AddressBalance to use BigDecimal values instead of BigInt
7 years ago
Alexis Hernandez
8fd57f92f7
server: Add getBlock method to XSNService
7 years ago
Alexis Hernandez
8dd032dacd
server: Add getTransactionCount method to XSNService
7 years ago
Alexis Hernandez
f070f7d2d7
server: Add getAddressBalance method to XSNService
7 years ago
Alexis Hernandez
5fe1fe63ec
server: Update XSNService to return a Transaction
7 years ago
Alexis Hernandez
da63a71c0c
server: Add XSNService
7 years ago