penumbra_sdk_view/
lib.rs

1//! The view RPC library for the Penumbra Zone.
2//!
3//! This crate provides a [`ViewClient`] and a [`ViewServer`]. These form a client-server pair to
4//! synchronize and interact with public chain state using one or more full viewing keys. See the
5//! documentation of [`ViewClient`] and a [`ViewServer`] for more information.
6//!
7//! This crate also provides a [`Planner`]. This is a planner for
8//! [`TransactionPlan`][penumbra_sdk_transaction::TransactionPlan].
9//!
10//! Finally, this crate provides a [`Storage`] type for managing persistent sqlite storage.
11
12#![deny(clippy::unwrap_used)]
13#![recursion_limit = "512"]
14// Requires nightly.
15#![cfg_attr(docsrs, feature(doc_auto_cfg))]
16mod client;
17mod metrics;
18mod note_record;
19mod planner;
20mod service;
21mod status;
22mod storage;
23mod swap_record;
24mod sync;
25mod transaction_info;
26mod worker;
27
28pub use crate::client::ViewClient;
29pub use crate::metrics::register_metrics;
30pub use crate::note_record::SpendableNoteRecord;
31pub use crate::planner::Planner;
32pub use crate::service::ViewServer;
33pub use crate::status::StatusStreamResponse;
34pub use crate::storage::Storage;
35pub use crate::swap_record::SwapRecord;
36pub use crate::transaction_info::TransactionInfo;