|
OpenCBDC Transaction Processor
|
Data Structures | |
| class | async_client |
| Client to asynchronously request information from the watchtower. More... | |
| struct | best_block_height_request |
| Request the watchtower's known best block height. More... | |
| class | best_block_height_response |
| Contains the watchtower's known best block height. More... | |
| class | block_cache |
| Stores a set of blocks in memory and maintains an index of the UHS IDs contained therein. More... | |
| class | blocking_client |
| Client to synchronously request information from the watchtower. More... | |
| class | controller |
| Wrapper for the watchtower executable implementation. More... | |
| class | error_cache |
| Stores a set of internal transaction errors in memory, indexed by Tx ID and UHS ID. More... | |
| class | request |
| RPC request message to the watchtower external endpoint. More... | |
| class | response |
| RPC response message from the watchtower external endpoint. More... | |
| class | status_request_check_success |
| Indicates a successful check request, sent with a StatusUpdateResponse. More... | |
| class | status_update_request |
| Network request to interact with the Watchtower's status update service. More... | |
| class | status_update_state |
| Represents the internal state of an ongoing status update request. More... | |
| class | tx_error |
| Wrapper for transaction errors. More... | |
| struct | tx_error_incomplete |
| Indicates that the atomizer did not receive enough attestations for a particular transaction from shards before it had to clean up the transaction and free up space for others. More... | |
| class | tx_error_inputs_dne |
| Indicates a shard that tried to process a given transaction could not locate one or more of the transaction's inputs it expected to possess. More... | |
| class | tx_error_inputs_spent |
| Indicates that the given transaction contains one or more inputs that have already been spent in other transactions sent to the atomizer. More... | |
| struct | tx_error_stxo_range |
| Indicates that a shard did not attest to this transaction recently enough for the atomizer to check it against the STXO cache. More... | |
| struct | tx_error_sync |
| Indicates a shard that tried to process a given transaction was out of sync with the atomizer, and the transaction should be retried. More... | |
| class | watchtower |
| Service to answer client requests for processing status updates on submitted transactions. More... | |
Typedefs | |
| using | block_cache_result = std::pair<size_t, hash_t> |
| With respect to a particular UHS ID, block height + ID of containing transaction. | |
| using | tx_id_uhs_ids |
| Set of UHS IDs to query, keyed by Tx IDs. | |
| using | tx_id_states |
| Reported UHS ID states, keyed by Tx IDs. | |
| using | tx_error_info |
Enumerations | |
| enum class | search_status { no_history , unspent , spent , tx_rejected , invalid_input , internal_error } |
| The current status of the Watchtower's progress in searching for a particular UHS ID. More... | |
| using cbdc::watchtower::block_cache_result = std::pair<size_t, hash_t> |
With respect to a particular UHS ID, block height + ID of containing transaction.
Definition at line 27 of file block_cache.hpp.
Definition at line 32 of file tx_error_messages.hpp.
Reported UHS ID states, keyed by Tx IDs.
Definition at line 133 of file status_update.hpp.
Set of UHS IDs to query, keyed by Tx IDs.
Definition at line 45 of file status_update.hpp.
|
strong |
The current status of the Watchtower's progress in searching for a particular UHS ID.
Definition at line 21 of file status_update.hpp.