Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions key-wallet-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license = "CC0-1.0"
[features]
default = []
parallel-filters = ["dep:rayon"]
serde = ["dep:serde", "key-wallet/serde", "dashcore/serde"]
bincode = ["key-wallet/bincode", "dep:bincode"]
test-utils = ["key-wallet/test-utils"]
bls = ["key-wallet/bls"]
Expand All @@ -31,6 +32,7 @@ tracing = "0.1"
zeroize = { version = "1.8", features = ["derive"] }
rayon = { version = "1.11", optional = true }
bincode = { version = "2.0.1", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }

[dev-dependencies]
key-wallet = { path = "../key-wallet", features = ["test-utils", "bincode"] }
Expand Down
1 change: 1 addition & 0 deletions key-wallet-manager/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use crate::WalletId;
/// stand-alone event) is what lets consumers store
/// `Wallet → Account → CoreAddress → Txo` without breaking the
/// `CoreAddress` link for UTXOs landing on freshly derived addresses.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct DerivedAddress {
/// The account that derived this address.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use crate::wallet::Wallet;
use crate::DerivationPath;

/// Which funding account to derive the one-time key from.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum AssetLockFundingType {
/// Identity registration: m/9'/coinType'/5'/0'/index'
Expand Down
Loading