MCPcopy Create free account
hub / github.com/BitVM/BitVM / DataStore

Class DataStore

bridge/src/client/data_store/data_store.rs:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16static DEFAULT_CLIENT_DATA_SUFFIX: &str = "-bridge-client-data.json";
17
18pub struct DataStore {
19 client_data_suffix: String,
20 client_data_regex: Regex,
21 aws_s3: Option<AwsS3>,
22 ftp: Option<Ftp>,
23 ftps: Option<Ftps>,
24 sftp: Option<Sftp>,
25 local_file: Option<LocalFile>,
26}
27
28impl DataStore {
29 pub async fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected