Skip to content

Commit

Permalink
Temp 4: Comment out everything
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Sep 25, 2023
1 parent 6b640fb commit 1a3adcb
Show file tree
Hide file tree
Showing 9 changed files with 2,659 additions and 3,175 deletions.
361 changes: 176 additions & 185 deletions Cargo.lock

Large diffs are not rendered by default.

507 changes: 0 additions & 507 deletions bdk-ffi/src/bdk.udl

Large diffs are not rendered by default.

400 changes: 200 additions & 200 deletions bdk-ffi/src/blockchain.rs

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions bdk-ffi/src/database.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use bdk::database::any::{SledDbConfiguration, SqliteDbConfiguration};

/// Type that can contain any of the database configurations defined by the library
/// This allows storing a single configuration that can be loaded into an AnyDatabaseConfig
/// instance. Wallets that plan to offer users the ability to switch blockchain backend at runtime
/// will find this particularly useful.
pub enum DatabaseConfig {
/// Memory database has no config
Memory,
/// Simple key-value embedded database based on sled
Sled { config: SledDbConfiguration },
/// Sqlite embedded database using rusqlite
Sqlite { config: SqliteDbConfiguration },
}
// use bdk::database::any::{SledDbConfiguration, SqliteDbConfiguration};
//
// /// Type that can contain any of the database configurations defined by the library
// /// This allows storing a single configuration that can be loaded into an AnyDatabaseConfig
// /// instance. Wallets that plan to offer users the ability to switch blockchain backend at runtime
// /// will find this particularly useful.
// pub enum DatabaseConfig {
// /// Memory database has no config
// Memory,
// /// Simple key-value embedded database based on sled
// Sled { config: SledDbConfiguration },
// /// Sqlite embedded database using rusqlite
// Sqlite { config: SqliteDbConfiguration },
// }
Loading

0 comments on commit 1a3adcb

Please sign in to comment.