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
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
b7f91b7ce4
server: Move the Transaction model to the persisted package
6 years ago
Alexis Hernandez
97254aae11
server: Remove unnecessary endpoint "POST /transactions/latest"
6 years ago
Alexis Hernandez
df8bc2e9ec
server: Add method to get scrolled transactions by blockhash
6 years ago
Alexis Hernandez
95f16d79e8
server: Rename getLatestBy to getBy on TransactionDataHandler
The method now allows an ordering condition (asc, desc) to choose
the result ordering.
6 years ago
Alexis Hernandez
a03e4401ca
server: Update endpoint - GET /addresses/:address/lightWalletTransactions
The pagination is updated to check the latest seen transaction instead of its time,
this avoids hiding items when there are ties on the time.
6 years ago
Alexis Hernandez
6e54e9f870
server: Add keyset-based method for retrieving address transactions
6 years ago
Alexis Hernandez
f4738baef7
server: Update playsonify to 2.0.0
6 years ago
Adinael Perez Ruelas
bcdbf1cd0f
Server: fix the getLatestTransactionBy method
when sending an empty list
added the tests for sending an empty list and retrieving valid data
6 years ago
Alexis Hernandez
65f94b1436
server: Add getLatestTransactionBy method to the TransactionDataHandler
The method returns the latest transaction id for each of the given addresses.
6 years ago
Alexis Hernandez
11e25da4a4
server: Add getByBlockhash method to the TransactionDataHandler ( #19 )
6 years ago
Alexis Hernandez
ee71562fb6
server: Add getUnspentOutputs method to the TransactionDataHandler ( #34 )
7 years ago
Alexis Hernandez
c594de3a14
server: Clean legacy code from TransactionDataHandler ( #34 )
7 years ago
Alexis Hernandez
510b127d3c
server: Add support for ordering in "GET /addresses/:address/transactions"
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
b4ad16dd56
server: Create TransactionDataHandler trait
The trait is implemented by TransactionPostgresDataHandler and
TransactionPostgresDataHandler.
This is a piece for creating endpoints interacting with transactions
from the database instead of the xsn service.
7 years ago