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
8b9f1c00f3
server: Add Block.HasTransactions persisted model
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
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
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
7619ef3483
server: Add the persisted models package
Includes the Block model which represents what is actually persisted.
6 years ago
Kolby Moroz
423ff7df1a
server: Add difficulty to the /stats endpoint
6 years ago
Alexis Hernandez
b7d2dc0740
server: Allow to retrieve blocks without rewards ( #62 )
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
36e05516fb
server: Wrap the light wallet transactions response in a data field
6 years ago
Alexis Hernandez
38ab0e1803
server: Add the value to the LightWalletTransaction.Input
6 years ago
Alexis Hernandez
4feee274ec
server: Add endpoint - GET /addresses/:address/lightWalletTransactions
6 years ago
Alexis Hernandez
f348eaf86f
server: Enable constraints on the Address model
6 years ago
Alexis Hernandez
f4738baef7
server: Update playsonify to 2.0.0
6 years ago
Alexis Hernandez
1ec1629a19
server: Update the endpoint for retrieving latest transactions
6 years ago
Alexis Hernandez
418f2fd4fa
server: Update the nonce from the Block model to Long
6 years ago
Alexis Hernandez
f7887cf3b1
server: Fill the address_transaction_details while synching the db
6 years ago
Alexis Hernandez
c72f458a9d
server: Allow to get paginated blocks from the BlockDataHandler
6 years ago
Alexis Hernandez
8bb3ff26e0
server: Disable address checks ( #45 )
In order to keep the database in sync, the address
checks are being disabled, this is a partial solution
to let the explorer continue working until the actual
validations are added.
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
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