forked from Qortal/qortal
Renamed method from listAllHostedData() to listAllHostedTransactions()
This commit is contained in:
parent
b80aec37e0
commit
89d08ca359
@ -605,7 +605,7 @@ public class ArbitraryResource {
|
|||||||
|
|
||||||
try (final Repository repository = RepositoryManager.getRepository()) {
|
try (final Repository repository = RepositoryManager.getRepository()) {
|
||||||
|
|
||||||
List<ArbitraryTransactionData> hostedTransactions = ArbitraryDataStorageManager.getInstance().listAllHostedData(repository);
|
List<ArbitraryTransactionData> hostedTransactions = ArbitraryDataStorageManager.getInstance().listAllHostedTransactions(repository);
|
||||||
|
|
||||||
return hostedTransactions;
|
return hostedTransactions;
|
||||||
|
|
||||||
@ -633,7 +633,7 @@ public class ArbitraryResource {
|
|||||||
|
|
||||||
try (final Repository repository = RepositoryManager.getRepository()) {
|
try (final Repository repository = RepositoryManager.getRepository()) {
|
||||||
|
|
||||||
List<ArbitraryTransactionData> transactionDataList = ArbitraryDataStorageManager.getInstance().listAllHostedData(repository);
|
List<ArbitraryTransactionData> transactionDataList = ArbitraryDataStorageManager.getInstance().listAllHostedTransactions(repository);
|
||||||
for (ArbitraryTransactionData transactionData : transactionDataList) {
|
for (ArbitraryTransactionData transactionData : transactionDataList) {
|
||||||
ArbitraryTransaction transaction = new ArbitraryTransaction(repository, transactionData);
|
ArbitraryTransaction transaction = new ArbitraryTransaction(repository, transactionData);
|
||||||
if (transaction.isDataLocal()) {
|
if (transaction.isDataLocal()) {
|
||||||
|
@ -217,7 +217,8 @@ public class ArbitraryDataStorageManager extends Thread {
|
|||||||
|
|
||||||
|
|
||||||
// Hosted data
|
// Hosted data
|
||||||
public List<ArbitraryTransactionData> listAllHostedData(Repository repository) throws IOException {
|
|
||||||
|
public List<ArbitraryTransactionData> listAllHostedTransactions(Repository repository) throws IOException {
|
||||||
List<ArbitraryTransactionData> arbitraryTransactionDataList = new ArrayList<>();
|
List<ArbitraryTransactionData> arbitraryTransactionDataList = new ArrayList<>();
|
||||||
|
|
||||||
Path dataPath = Paths.get(Settings.getInstance().getDataPath());
|
Path dataPath = Paths.get(Settings.getInstance().getDataPath());
|
||||||
|
Loading…
Reference in New Issue
Block a user