Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguida committed Dec 6, 2023
1 parent 60844e0 commit 81e7e64
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/wallet.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
use anyhow::{anyhow, Chain};
use anyhow::anyhow;
use bdk::{
bitcoin::{
secp256k1::{All, Secp256k1},
BlockHash, Network, Transaction, Txid,
},
chain::{
tx_graph::CanonicalTx, BlockId, ChainPosition, ConfirmationTime, ConfirmationTimeAnchor,
Network, Transaction, Txid,
},
chain::{tx_graph::CanonicalTx, BlockId, ChainPosition, ConfirmationTimeAnchor},
wallet::wallet_name_from_descriptor,
Wallet,
};
Expand All @@ -21,13 +19,11 @@ use clap::{command, Parser};
use cln_plugin::{Error, Plugin};
use serde::{Deserialize, Serialize};
use serde_json::json;
use std::{collections::BTreeMap, fmt, path::PathBuf, str::FromStr, time::Duration};
use std::{collections::BTreeMap, fmt, path::PathBuf, time::Duration};

use crate::state::State;

pub const SMAUG_DATADIR: &str = ".smaug";
const STOP_GAP: usize = 50;
const PARALLEL_REQUESTS: usize = 5;

pub const UTXO_DEPOSIT_TAG: &str = "utxo_deposit";
pub const UTXO_SPENT_TAG: &str = "utxo_spent";
Expand Down

0 comments on commit 81e7e64

Please sign in to comment.