Detect change notes while scanning blocks

This commit is contained in:
Jack Grigg
2019-01-11 14:26:54 -08:00
parent fb9e9bb12f
commit 3b9dfc1e0b
2 changed files with 51 additions and 20 deletions

View File

@@ -25,6 +25,7 @@ pub struct WalletTx {
pub struct WalletShieldedSpend {
pub index: usize,
pub nf: Vec<u8>,
pub account: usize,
}
/// A subset of an [`OutputDescription`] relevant to wallets and light clients.
@@ -37,4 +38,5 @@ pub struct WalletShieldedOutput {
pub account: usize,
pub note: Note<Bls12>,
pub to: PaymentAddress<Bls12>,
pub is_change: bool,
}