Merge branch 'desktop-98-transactional' into 'master'

Add transactional versions of some API calls for Briar Desktop

See merge request briar/briar!1557
This commit is contained in:
akwizgran
2021-12-08 11:08:47 +00:00
6 changed files with 55 additions and 15 deletions

View File

@@ -107,6 +107,12 @@ public interface ContactManager {
*/
String getHandshakeLink() throws DbException;
/**
* Returns the handshake link that needs to be sent to a contact we want
* to add.
*/
String getHandshakeLink(Transaction txn) throws DbException;
/**
* Creates a {@link PendingContact} from the given handshake link and
* alias, adds it to the database and returns it.