259template <
typename ResponseType>
266 }
catch (std::exception& e) {
272 on_completion(response);
273 }
catch (std::exception&) {
282 }
catch (std::exception& e) {
283 response.success =
false;
284 response.message = e.what();
288 on_completion(response);
289 }
catch (std::exception&) {
void execute_and_report(const std::function< void(TypedResponse< ResponseType > &)> &f, const std::function< void(TypedResponse< ResponseType > &)> &on_completion)
std::vector< fr > fr_sibling_path
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
AddDataResponse(AddDataResponse &&other) noexcept=default
AddDataResponse(const AddDataResponse &other)=default
~AddDataResponse()=default
AddDataResponse & operator=(AddDataResponse &&other) noexcept=default
AddDataResponse & operator=(const AddDataResponse &other)=default
AddDataResponse()=default
AddIndexedDataResponse & operator=(AddIndexedDataResponse &&other) noexcept=default
~AddIndexedDataResponse()=default
AddIndexedDataResponse()=default
AddIndexedDataResponse(AddIndexedDataResponse &&other) noexcept=default
AddIndexedDataResponse(const AddIndexedDataResponse &other)=default
std::shared_ptr< std::vector< LeafUpdateWitnessData< LeafValueType > > > low_leaf_witness_data
std::shared_ptr< std::vector< std::pair< LeafValueType, size_t > > > sorted_leaves
AddIndexedDataResponse & operator=(const AddIndexedDataResponse &other)=default
AddDataResponse add_data_result
fr_sibling_path subtree_path
std::shared_ptr< std::vector< LeafUpdateWitnessData< LeafValueType > > > low_leaf_witness_data
AddIndexedDataSequentiallyResponse(const AddIndexedDataSequentiallyResponse &other)=default
AddIndexedDataSequentiallyResponse & operator=(const AddIndexedDataSequentiallyResponse &other)=default
std::shared_ptr< std::vector< LeafUpdateWitnessData< LeafValueType > > > insertion_witness_data
AddDataResponse add_data_result
~AddIndexedDataSequentiallyResponse()=default
AddIndexedDataSequentiallyResponse(AddIndexedDataSequentiallyResponse &&other) noexcept=default
AddIndexedDataSequentiallyResponse()=default
AddIndexedDataSequentiallyResponse & operator=(AddIndexedDataSequentiallyResponse &&other) noexcept=default
BlockForIndexResponse & operator=(BlockForIndexResponse &&other) noexcept=default
BlockForIndexResponse(const BlockForIndexResponse &other)=default
BlockForIndexResponse(BlockForIndexResponse &&other) noexcept=default
~BlockForIndexResponse()=default
BlockForIndexResponse()=default
BlockForIndexResponse & operator=(const BlockForIndexResponse &other)=default
std::vector< std::optional< block_number_t > > blockNumbers
CommitResponse & operator=(CommitResponse &&other) noexcept=default
CommitResponse(CommitResponse &&other) noexcept=default
CommitResponse(const CommitResponse &other)=default
~CommitResponse()=default
CommitResponse & operator=(const CommitResponse &other)=default
std::vector< std::optional< index_t > > leaf_indices
~FindLeafIndexResponse()=default
FindLeafIndexResponse & operator=(const FindLeafIndexResponse &other)=default
FindLeafIndexResponse(const FindLeafIndexResponse &other)=default
FindLeafIndexResponse(FindLeafIndexResponse &&other) noexcept=default
FindLeafIndexResponse()=default
FindLeafIndexResponse & operator=(FindLeafIndexResponse &&other) noexcept=default
FindLeafPathResponse & operator=(const FindLeafPathResponse &other)=default
FindLeafPathResponse(const FindLeafPathResponse &other)=default
FindLeafPathResponse(FindLeafPathResponse &&other) noexcept=default
~FindLeafPathResponse()=default
FindLeafPathResponse()=default
std::vector< std::optional< SiblingPathAndIndex > > leaf_paths
FindLeafPathResponse & operator=(FindLeafPathResponse &&other) noexcept=default
std::optional< IndexedLeaf< LeafValueType > > indexed_leaf
std::optional< bb::fr > leaf
GetLeafResponse & operator=(GetLeafResponse &&other) noexcept=default
GetLeafResponse(GetLeafResponse &&other) noexcept=default
GetLeafResponse(const GetLeafResponse &other)=default
~GetLeafResponse()=default
GetLeafResponse()=default
GetLeafResponse & operator=(const GetLeafResponse &other)=default
GetLowIndexedLeafResponse & operator=(GetLowIndexedLeafResponse &&other) noexcept=default
GetLowIndexedLeafResponse(const GetLowIndexedLeafResponse &other)=default
GetLowIndexedLeafResponse & operator=(const GetLowIndexedLeafResponse &other)=default
MSGPACK_FIELDS(is_already_present, index)
GetLowIndexedLeafResponse(bool p, const index_t &i)
bool operator==(const GetLowIndexedLeafResponse &other) const
~GetLowIndexedLeafResponse()=default
GetLowIndexedLeafResponse(GetLowIndexedLeafResponse &&other) noexcept=default
GetLowIndexedLeafResponse()=default
GetSiblingPathResponse(const GetSiblingPathResponse &other)=default
GetSiblingPathResponse(GetSiblingPathResponse &&other) noexcept=default
GetSiblingPathResponse & operator=(const GetSiblingPathResponse &other)=default
~GetSiblingPathResponse()=default
GetSiblingPathResponse & operator=(GetSiblingPathResponse &&other) noexcept=default
GetSiblingPathResponse()=default
LeafUpdateWitnessData(const LeafUpdateWitnessData &other)=default
LeafUpdateWitnessData()=default
LeafUpdateWitnessData(LeafUpdateWitnessData &&other) noexcept=default
~LeafUpdateWitnessData()=default
LeafUpdateWitnessData(const IndexedLeaf< LeafType > &l, const index_t &i, fr_sibling_path p)
MSGPACK_FIELDS(leaf, index, path)
LeafUpdateWitnessData & operator=(LeafUpdateWitnessData &&other) noexcept=default
LeafUpdateWitnessData & operator=(const LeafUpdateWitnessData &other)=default
IndexedLeaf< LeafType > leaf
RemoveHistoricResponse(RemoveHistoricResponse &&other) noexcept=default
RemoveHistoricResponse()=default
RemoveHistoricResponse & operator=(RemoveHistoricResponse &&other) noexcept=default
~RemoveHistoricResponse()=default
RemoveHistoricResponse & operator=(const RemoveHistoricResponse &other)=default
RemoveHistoricResponse(const RemoveHistoricResponse &other)=default
Response(const Response &other)=default
Response(Response &&other) noexcept=default
Response(bool s, std::string m)
Response & operator=(const Response &other)=default
Response & operator=(Response &&other) noexcept=default
SiblingPathAndIndex(SiblingPathAndIndex &&other) noexcept=default
MSGPACK_FIELDS(index, path)
SiblingPathAndIndex(index_t index, fr_sibling_path path)
SiblingPathAndIndex()=default
SiblingPathAndIndex & operator=(const SiblingPathAndIndex &other)=default
SiblingPathAndIndex & operator=(SiblingPathAndIndex &&other) noexcept=default
~SiblingPathAndIndex()=default
SiblingPathAndIndex(const SiblingPathAndIndex &other)=default
TypedResponse(TypedResponse &&other) noexcept=default
TypedResponse & operator=(const TypedResponse &other)=default
TypedResponse(const TypedResponse &other)=default
TypedResponse & operator=(TypedResponse &&other) noexcept=default
UnwindResponse & operator=(UnwindResponse &&other) noexcept=default
UnwindResponse & operator=(const UnwindResponse &other)=default
~UnwindResponse()=default
UnwindResponse(const UnwindResponse &other)=default
UnwindResponse(UnwindResponse &&other) noexcept=default