mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 05:24:42 -04:00
Add sqlite database implementation
This commit is contained in:
parent
da9d09aa5e
commit
7efdb96a50
7 changed files with 801 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
pub use self::sled::SledDatabase;
|
||||
pub use alice::Alice;
|
||||
pub use bob::Bob;
|
||||
pub use sqlite::SqliteDatabase;
|
||||
|
||||
use crate::protocol::State;
|
||||
use anyhow::{bail, Result};
|
||||
|
@ -10,6 +11,7 @@ use std::fmt::Display;
|
|||
mod alice;
|
||||
mod bob;
|
||||
mod sled;
|
||||
mod sqlite;
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
|
||||
pub enum Swap {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue