Docs on transfer operations
This commit is contained in:
@@ -2,6 +2,8 @@ use crate::bitcoin::client::BitcoinClient;
|
||||
use crate::bitcoin::driver;
|
||||
use bdk::wallet::AddressIndex;
|
||||
|
||||
/// Run the simplest transfer flow. There is no policy file,
|
||||
/// it's just a normal bitcoin transaction for a sanity check.
|
||||
pub async fn run() -> Result<(), anyhow::Error> {
|
||||
let (mut dave, sammy) = driver::setup().await?;
|
||||
|
||||
|
||||
@@ -4,6 +4,9 @@ use bdk::miniscript::policy;
|
||||
|
||||
use crate::bitcoin;
|
||||
|
||||
/// A miniscript-based simple transfer, equivalent to the `simple_transfer`
|
||||
/// but using a Bitcoin miniscript policy. TODO: finish implementation, it's not
|
||||
/// working yet.
|
||||
pub(crate) async fn run() -> anyhow::Result<()> {
|
||||
let (dave, _sammy) = bitcoin::driver::setup().await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user