hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::BurrowStorage Class Referenceabstract

#include "burrow_storage.hpp"

Inheritance diagram for iroha::ametsuchi::BurrowStorage:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::BurrowStorage:
Collaboration graph

Public Member Functions

virtual ~BurrowStorage ()=default
 
virtual expected::Result< std::optional< std::string >, std::string > getAccount (std::string_view address)=0
 
virtual expected::Result< void, std::string > updateAccount (std::string_view address, std::string_view account)=0
 
virtual expected::Result< void, std::string > removeAccount (std::string_view address)=0
 
virtual expected::Result< std::optional< std::string >, std::string > getStorage (std::string_view address, std::string_view key)=0
 
virtual expected::Result< void, std::string > setStorage (std::string_view address, std::string_view key, std::string_view value)=0
 
virtual expected::Result< void, std::string > storeLog (std::string_view address, std::string_view data, std::vector< std::string_view > topics)=0
 

Constructor & Destructor Documentation

◆ ~BurrowStorage()

virtual iroha::ametsuchi::BurrowStorage::~BurrowStorage ( )
virtualdefault

Member Function Documentation

◆ getAccount()

virtual expected::Result<std::optional<std::string>, std::string> iroha::ametsuchi::BurrowStorage::getAccount ( std::string_view  address)
pure virtual

Implemented in iroha::ametsuchi::PostgresBurrowStorage.

Here is the caller graph for this function:

◆ getStorage()

virtual expected::Result<std::optional<std::string>, std::string> iroha::ametsuchi::BurrowStorage::getStorage ( std::string_view  address,
std::string_view  key 
)
pure virtual

Implemented in iroha::ametsuchi::PostgresBurrowStorage.

Here is the caller graph for this function:

◆ removeAccount()

virtual expected::Result<void, std::string> iroha::ametsuchi::BurrowStorage::removeAccount ( std::string_view  address)
pure virtual

Implemented in iroha::ametsuchi::PostgresBurrowStorage.

Here is the caller graph for this function:

◆ setStorage()

virtual expected::Result<void, std::string> iroha::ametsuchi::BurrowStorage::setStorage ( std::string_view  address,
std::string_view  key,
std::string_view  value 
)
pure virtual

Implemented in iroha::ametsuchi::PostgresBurrowStorage.

Here is the caller graph for this function:

◆ storeLog()

virtual expected::Result<void, std::string> iroha::ametsuchi::BurrowStorage::storeLog ( std::string_view  address,
std::string_view  data,
std::vector< std::string_view >  topics 
)
pure virtual

Implemented in iroha::ametsuchi::PostgresBurrowStorage.

Here is the caller graph for this function:

◆ updateAccount()

virtual expected::Result<void, std::string> iroha::ametsuchi::BurrowStorage::updateAccount ( std::string_view  address,
std::string_view  account 
)
pure virtual

Implemented in iroha::ametsuchi::PostgresBurrowStorage.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: