qortal/src/repository/Repository.java
catbref 5e674cbaab Added Create Poll Transaction support (untested)
* Moved Asset issue/deissue code from IssueAssetTransaction to Asset business object.
* Added more constructors for Asset using IssueAssetTransactionData or assetId.

* Moved some constants from transaction transfers to business objects (e.g. IssueAssetTransaction)
(They might now make more sense being in Asset)

* Changed some transaction isValid() checks to use transaction's timestamp instead of NTP.getTime()

* New VotingRepository - as yet unimplemented

Really need to rewrite "migrate" and add a ton of unit tests.
2018-06-19 12:30:17 +01:00

24 lines
522 B
Java

package repository;
public interface Repository extends AutoCloseable {
public AccountRepository getAccountRepository();
public AssetRepository getAssetRepository();
public BlockRepository getBlockRepository();
public TransactionRepository getTransactionRepository();
public VotingRepository getVotingRepository();
public void saveChanges() throws DataException;
public void discardChanges() throws DataException;
public void close() throws DataException;
public void rebuild() throws DataException;
}