Skip to content

Examples should not use temp_dir #1045

@LLFourn

Description

@LLFourn

Things like database location this should be passed in on the command line. This creates a permanent file in the user's temp dir we never clean up. See:

let db = Store::<bdk::wallet::ChangeSet>::new_from_path(DB_MAGIC.as_bytes(), db_path)?;

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions