qortal/src/main/java/org/qora/crypto
catbref a316b8a810 Potential HSQLDB deadlock fix
After opening repository connection with RepositoryManager.getRepostory(),
any 'read' from repository (e.g. SELECT) starts the transaction
even though HSQLDB documentation states there are no shared/read locks
in MVCC concurrency model.

The work-around for this is to 'reset' HSQLDB's in-transaction flag
by performing a ROLLBACK (Repository.discardChanges) immediately
after acquiring the blockchain lock (which is used to ringfence
changes that might collide like these).

Also adding an extra check to prevent payments to nonexistent AT
addresses as it touches Transaction.
2019-04-29 15:18:44 +01:00
..
BrokenMD160.java initial work towards OSGi 2019-01-04 10:19:33 +00:00
Credentials.java Interim networking code commit in case of dev catastrophe! 2019-01-30 18:24:10 +00:00
Crypto.java Potential HSQLDB deadlock fix 2019-04-29 15:18:44 +01:00
CryptoBytes.java initial work towards OSGi 2019-01-04 10:19:33 +00:00