Alexis Hernandez
b9a035e9aa
server: Support P2WPKH address format ( #33 )
7 years ago
Alexis Hernandez
ee71562fb6
server: Add getUnspentOutputs method to the TransactionDataHandler ( #34 )
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
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
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
Alexis Hernandez
0d5e37b040
server: Improve the ColumnNameResolver
In order to get deterministic results while retrieving
paginated results, the getUniqueColumnName method has been
introduced, when sorting by a non-unique column, we'll break
ties using the unique column.
7 years ago
Alexis Hernandez
9d355650cf
server: Add endpoint "POST /transactions"
This is a part for #26 , it allows to push a hex-encoded
transaction to the network.
7 years ago
Alexis Hernandez
5313e76738
server: Add sendRawTransaction method to XSNService
This is a part for #26 .
7 years ago
Alexis Hernandez
ef862b9272
server: Allow to retrieve transactions for an address on TransactionDataHandler
This is a piece for #18 , we need to retrieve paginated transactions for a given
address.
NOTE: This commit doesn't include tests in order to work in the frontend
concurrently, tests will be included before the release.
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
e76def63cb
server: Add getMasternode method to the XSNService
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
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
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
b4df50edac
server: Add BalanceOrderingParser
7 years ago
Alexis Hernandez
6f2b9f8aee
server: Add FieldOrderingParser
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
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
9db6f8f2c2
server: Add the PaginatedResult model
7 years ago
Alexis Hernandez
8c6d71fa51
server: Add the PaginatedQuery model
7 years ago
Alexis Hernandez
f560a8f567
server: Add serializer for the Balance model
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
8173c64497
server: Add TransactionPostgresDataHandler
7 years ago
Alexis Hernandez
4bce1251d1
server: Add BalancePostgresDataHandler
7 years ago
Alexis Hernandez
490724f39b
server: Add getServerStatistics method to XSNService
7 years ago
Alexis Hernandez
9707e40038
server: Relax asm format on ScriptPubKey
7 years ago
Alexis Hernandez
1b614d2807
server: Support multiple inputs on transactions
7 years ago
Alexis Hernandez
5094bb35e4
server: Retrieve transaction list while retrieving an address
7 years ago
Alexis Hernandez
bd03d9b902
server: Move AddressBalance model to rpc package
7 years ago
Alexis Hernandez
636c2b509e
server: Move TransactionVOUT to rpc package
7 years ago
Alexis Hernandez
a8e161045f
server: Move TransactionVIN model to rpc package
7 years ago
Alexis Hernandez
65af722947
server: Move Transaction model to rpc package
7 years ago
Alexis Hernandez
850b8192ed
server: Move Block model to rpc package
7 years ago
Alexis Hernandez
a608fd4845
server: Add support for TPoS blocks
7 years ago
Alexis Hernandez
9fe9d91709
server: Add getTPoSAddresses method to ScriptPubKey class
7 years ago
Alexis Hernandez
4c54b7676f
server: Add fromHex method to Address object
7 years ago
Alexis Hernandez
735a19ea27
server: Update Block model to support TPoS blocks
7 years ago
Alexis Hernandez
f2beb40fa2
server: Update AddressBalance to use BigDecimal values instead of BigInt
7 years ago
Alexis Hernandez
8ecc447f22
server: Add support for retrieving PoW blocks
7 years ago
Alexis Hernandez
ec62c5d0ba
server: Update Block model to support TPoS blocks
7 years ago
Alexis Hernandez
9a34faa615
server: Add GET /blocks/:blockhash
7 years ago
Alexis Hernandez
f96fb0babe
server: Add Block model
7 years ago
Alexis Hernandez
36e231b576
server: Increase type-safety in models
7 years ago