Delete a trust relationship if it exists.
Delete a trust relationship if it exists.
trust relationship to delete
database connection
true if delete was successful or there was nothing to delete; a DeleteTrustException
with an error message describing the problem if there's an error
Search for a trust relationship based on it's source- and targetPublicKey.
Search for a trust relationship based on it's source- and targetPublicKey.
source public key
target public key
database connection
trust relationship if it exists; None if not; FindTrustException
with an error message describing the problem if there's an error
Upserts a trust relationship if:
Upserts a trust relationship if:
* trustLevel is valid (range: 1-100) * signature is valid
trust relationship to persist.
database connection
the created trust relationship; ExpressingTrustException
with an error message describing the problem if there's an error
author: cvandrei since: 2018-09-11