Alexis Hernandez
ff85797565
server: Refactor the TransactionVIN into a typed alternative
Now we are able to use types to detect when a TransactionVIN has the
cached values.
6 years ago
Alexis Hernandez
aa05af72ac
server: Return the txid after pushing a transaction to the network
6 years ago
Alexis Hernandez
c921d73415
server: Update classes related to the ledger sync process to use the Block.HasTransactions model
6 years ago
Alexis Hernandez
8b9f1c00f3
server: Add Block.HasTransactions persisted model
6 years ago
Alexis Hernandez
dbd1f28ff7
server: Log invalid response details on XSNService
6 years ago
Alexis Hernandez
9dd24a4212
server: Update Address format to allow bitcoin addresses
6 years ago
Alexis Hernandez
2798b528ed
server: Add endpoint "GET /blocks/headers"
6 years ago
Alexis Hernandez
a926191a77
server: Persist the block extraction method while synchronizing the blocks
6 years ago
Alexis Hernandez
a334864e38
server: allow to get block extractionMethod from the BlockService
6 years ago
Alexis Hernandez
469c241931
server: Extract the BlockExtractionMethod from the persisted block
6 years ago
Alexis Hernandez
fc0696a467
server: Refactor TransactionService to remove the transaction transformer
The logic was moved to the transformers package.
6 years ago
Alexis Hernandez
b8b44eab5b
server: Refactor the sql parsers to expect correct data from the database
If the data turns out to be corrupted, an exception is going to be thrown,
as there are check constraints on the sql schema, this shouldn't occur.
6 years ago
Alexis Hernandez
aef41d5f8e
server: Split the persisted transaction model
There are two models now, the one having inputs/outputs
and the one without them.
6 years ago
Alexis Hernandez
347a4d6ca5
server: Move the TransactionId value to the values package
6 years ago
Alexis Hernandez
6dd7b032b1
server: Move the Size value to the values package
6 years ago
Alexis Hernandez
f67d7831f0
server: Move the IPAddress value to the values package
6 years ago
Alexis Hernandez
29b8b583ba
server: Move the HexString model to the values package
6 years ago
Alexis Hernandez
33fcda6ef3
server: Move the Height value to the values package
6 years ago
Alexis Hernandez
9c10ae154d
server: Move the Confirmations value to the values package
6 years ago
Alexis Hernandez
de64af5b9b
server: Move the Blockhash value to the values package
6 years ago
Alexis Hernandez
a1737b9710
server: Move the Address value to the values package
6 years ago
Alexis Hernandez
d7cc0307f3
server: Create the values package
6 years ago
Alexis Hernandez
685b54b576
server: Move the Balance model to the persisted package
6 years ago
Alexis Hernandez
38a83f23ae
server: Move the AddressTransactionDetails model to the persisted package
6 years ago
Alexis Hernandez
b7f91b7ce4
server: Move the Transaction model to the persisted package
6 years ago
Alexis Hernandez
5a5f607317
server: Create the model transformers package
The logic to transform a rpc block to a persisted block lives here.
6 years ago
Alexis Hernandez
21399f3c99
server: Add extraction_method column to the blocks table
Defaults to PoW, a migration is required to set the correct values.
6 years ago
Alexis Hernandez
2dd9b4837a
server: Update the data package to use the Block from the persisted package
6 years ago
Alexis Hernandez
7619ef3483
server: Add the persisted models package
Includes the Block model which represents what is actually persisted.
6 years ago
Alexis Hernandez
988694b88a
server: Refactor the sql parsers to expect correct data from the database
If the data turns out to be corrupted, an exception is going to be thrown,
as there are check constraints on the sql schema, this shouldn't occur.
6 years ago
Alexis Hernandez
516dd402d1
server: Return statistics even if masternodes or difficulty aren't available
6 years ago
Kolby Moroz
423ff7df1a
server: Add difficulty to the /stats endpoint
6 years ago
Alexis Hernandez
56963b23d6
server: Remove unnecessary timing logs
6 years ago
Alexis Hernandez
b7d2dc0740
server: Allow to retrieve blocks without rewards ( #62 )
6 years ago
Alexis Hernandez
99c0200af0
server: Extract the TransactionRPCService from TransactionService
6 years ago
Alexis Hernandez
3630e24483
server: Log timings while synchronizing blocks
6 years ago
Alexis Hernandez
668153d6c4
server: Split the TransactionPostgresDAO into several files
6 years ago
Alexis Hernandez
447e31e55c
server: Insert transaction batch while synchronizing the ledger
6 years ago
Alexis Hernandez
a3feadbcf0
server: The Transaction now requires that its outputs belong to it
6 years ago
Alexis Hernandez
72b66c0768
server: Refactor the TransactionPostgresDataHandlerSpec
6 years ago
Alexis Hernandez
8bf78c6081
server: Fix scrolled pagination bug while retrieving address transactions
6 years ago
Alexis Hernandez
97254aae11
server: Remove unnecessary endpoint "POST /transactions/latest"
6 years ago
Alexis Hernandez
8f0645b30a
server: Batch update while spending outputs on TransactionPostgresDAO
6 years ago
Alexis Hernandez
81535991a7
server: Batch insert for inputs/outputs on TransactionPostgresDAO
6 years ago
Alexis Hernandez
1d3e843254
server: Update endpoint "GET /v2/addresses/:address/transactions"
The inputs and outputs are now retrieved from the database, this makes
calls more reliable.
6 years ago
Alexis Hernandez
a3aa33b809
server: Update maintenance endpoint to receive a query
6 years ago
Alexis Hernandez
1c0c271864
server: Remove temporal shift while computing supplies
6 years ago
Alexis Hernandez
e464080a76
server: Don't ignore errors while loading transaction inputs
6 years ago
Alexis Hernandez
54a61a11a8
server: Prepare "GET /maintenance" endpoint
This is useful for running occasional maintenance tasks.
6 years ago
Alexis Hernandez
7c7abaf7ac
server: Avoid transaction ordering issues while deleting blocks
There are certain transactions that spend inputs from created on
the same block, these transaction with dependencies should be deleted
before the transactions that they depend on, otherwise, we get
constraint violation errors.
6 years ago