# Functions
CreateEncryptedTransaction will encrypt the transaction.
FindEncryptedRawTransaction will find a encrypted transaction for a hash.
FindEncryptedTransaction will find a encrypted transaction for a hash.
FindPeer will find a peer.
NewEncryptedRawTransaction will create a new encrypted transaction based on the provided payload.
NewEncryptedTransaction will create a new encrypted transaction based on the provided payload.
NewPeer create new peer based on pk and url.
SetFilename set filename.
SetLogger set the logger.
Start will start the db.
Update will update a peer.
# Structs
EncryptedRawTransaction holds hash and payload.
EncryptedTransaction holds hash and payload.
Peer holds url and pub for a peer.