zcash_client_backend: Update CHANGELOG.md for 0.10.0 release.
This commit is contained in:
parent
0ea2290670
commit
1fe763de5f
|
@ -10,6 +10,8 @@ and this library adheres to Rust's notion of
|
||||||
### Notable Changes
|
### Notable Changes
|
||||||
|
|
||||||
- `zcash_client_backend` now supports out-of-order scanning of blockchain history.
|
- `zcash_client_backend` now supports out-of-order scanning of blockchain history.
|
||||||
|
See the module documentation for `zcash_client_backend::data_api::chain`
|
||||||
|
for details on how to make use of the new scanning capabilities.
|
||||||
- This release of `zcash_client_backend` defines the concept of an account
|
- This release of `zcash_client_backend` defines the concept of an account
|
||||||
birthday. The account birthday is defined as the minimum height among blocks
|
birthday. The account birthday is defined as the minimum height among blocks
|
||||||
to be scanned when recovering an account.
|
to be scanned when recovering an account.
|
||||||
|
@ -26,6 +28,7 @@ and this library adheres to Rust's notion of
|
||||||
- `AccountBalance`
|
- `AccountBalance`
|
||||||
- `AccountBirthday`
|
- `AccountBirthday`
|
||||||
- `Balance`
|
- `Balance`
|
||||||
|
- `BirthdayError`
|
||||||
- `BlockMetadata`
|
- `BlockMetadata`
|
||||||
- `NoteId`
|
- `NoteId`
|
||||||
- `NullifierQuery` for use with `WalletRead::get_sapling_nullifiers`
|
- `NullifierQuery` for use with `WalletRead::get_sapling_nullifiers`
|
||||||
|
@ -42,7 +45,8 @@ and this library adheres to Rust's notion of
|
||||||
- `chain::CommitmentTreeRoot`
|
- `chain::CommitmentTreeRoot`
|
||||||
- `scanning` A new module containing types required for `suggest_scan_ranges`
|
- `scanning` A new module containing types required for `suggest_scan_ranges`
|
||||||
- `testing::MockWalletDb::new`
|
- `testing::MockWalletDb::new`
|
||||||
- `wallet::input_sellection::Proposal::{min_target_height, min_anchor_height}`:
|
- `wallet::input_sellection::Proposal::{min_target_height, min_anchor_height}`
|
||||||
|
- `SAPLING_SHARD_HEIGHT` constant
|
||||||
- `zcash_client_backend::wallet::WalletSaplingOutput::note_commitment_tree_position`
|
- `zcash_client_backend::wallet::WalletSaplingOutput::note_commitment_tree_position`
|
||||||
- `zcash_client_backend::scanning`:
|
- `zcash_client_backend::scanning`:
|
||||||
- `ScanError`
|
- `ScanError`
|
||||||
|
@ -53,8 +57,8 @@ and this library adheres to Rust's notion of
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- MSRV is now 1.65.0.
|
- MSRV is now 1.65.0.
|
||||||
- Bumped dependencies to `hdwallet 0.4`, `zcash_primitives 0.12`, `zcash_note_encryption 0.4`,
|
- Bumped dependencies to `hdwallet 0.4`, `zcash_primitives 0.13`, `zcash_note_encryption 0.4`,
|
||||||
`incrementalmerkletree 0.4`, `orchard 0.5`, `bs58 0.5`
|
`incrementalmerkletree 0.4`, `orchard 0.5`, `bs58 0.5`, `tempfile 3.5.0`
|
||||||
- `zcash_client_backend::data_api`:
|
- `zcash_client_backend::data_api`:
|
||||||
- `WalletRead::TxRef` has been removed in favor of consistently using `TxId` instead.
|
- `WalletRead::TxRef` has been removed in favor of consistently using `TxId` instead.
|
||||||
- `WalletRead::get_transaction` now takes a `TxId` as its argument.
|
- `WalletRead::get_transaction` now takes a `TxId` as its argument.
|
||||||
|
@ -84,9 +88,9 @@ and this library adheres to Rust's notion of
|
||||||
- `wallet::{spend, create_spend_to_address, shield_transparent_funds,
|
- `wallet::{spend, create_spend_to_address, shield_transparent_funds,
|
||||||
propose_transfer, propose_shielding, create_proposed_transaction}` now take their
|
propose_transfer, propose_shielding, create_proposed_transaction}` now take their
|
||||||
respective `min_confirmations` arguments as `NonZeroU32`
|
respective `min_confirmations` arguments as `NonZeroU32`
|
||||||
- `wallet::input_selection::InputSelector::{propose_transaction, propose_shielding}`
|
- A new `Scan` variant replaces the `Chain` variant of `data_api::chain::error::Error`.
|
||||||
now take their respective `min_confirmations` arguments as `NonZeroU32`
|
The `NoteRef` parameter to `data_api::chain::error::Error` has been removed
|
||||||
- A new `Scan` variant has been added to `data_api::chain::error::Error`.
|
in favor of using `NoteId` to report the specific note for which a failure occurred.
|
||||||
- A new `SyncRequired` variant has been added to `data_api::wallet::input_selection::InputSelectorError`.
|
- A new `SyncRequired` variant has been added to `data_api::wallet::input_selection::InputSelectorError`.
|
||||||
- The variants of the `PoolType` enum have changed; the `PoolType::Sapling` variant has been
|
- The variants of the `PoolType` enum have changed; the `PoolType::Sapling` variant has been
|
||||||
removed in favor of a `PoolType::Shielded` variant that wraps a `ShieldedProtocol` value.
|
removed in favor of a `PoolType::Shielded` variant that wraps a `ShieldedProtocol` value.
|
||||||
|
@ -95,6 +99,8 @@ and this library adheres to Rust's notion of
|
||||||
- Arguments to `WalletSaplingOutput::from_parts` have changed.
|
- Arguments to `WalletSaplingOutput::from_parts` have changed.
|
||||||
- `zcash_client_backend::data_api::wallet::input_selection::InputSelector`:
|
- `zcash_client_backend::data_api::wallet::input_selection::InputSelector`:
|
||||||
- Arguments to `{propose_transaction, propose_shielding}` have changed.
|
- Arguments to `{propose_transaction, propose_shielding}` have changed.
|
||||||
|
- `InputSelector::{propose_transaction, propose_shielding}`
|
||||||
|
now take their respective `min_confirmations` arguments as `NonZeroU32`
|
||||||
- `zcash_client_backend::data_api::wallet::{create_spend_to_address, spend,
|
- `zcash_client_backend::data_api::wallet::{create_spend_to_address, spend,
|
||||||
create_proposed_transaction, shield_transparent_funds}` now return the `TxId`
|
create_proposed_transaction, shield_transparent_funds}` now return the `TxId`
|
||||||
for the newly created transaction instead an internal database identifier.
|
for the newly created transaction instead an internal database identifier.
|
||||||
|
|
|
@ -42,6 +42,10 @@ pub mod error;
|
||||||
pub mod scanning;
|
pub mod scanning;
|
||||||
pub mod wallet;
|
pub mod wallet;
|
||||||
|
|
||||||
|
/// The height of subtree roots in the Sapling note commitment tree.
|
||||||
|
///
|
||||||
|
/// This conforms to the structure of subtree data returned by from
|
||||||
|
/// `lightwalletd` when using the `GetSubtreeRoots` GRPC call.
|
||||||
pub const SAPLING_SHARD_HEIGHT: u8 = sapling::NOTE_COMMITMENT_TREE_DEPTH / 2;
|
pub const SAPLING_SHARD_HEIGHT: u8 = sapling::NOTE_COMMITMENT_TREE_DEPTH / 2;
|
||||||
|
|
||||||
/// An enumeration of constraints that can be applied when querying for nullifiers for notes
|
/// An enumeration of constraints that can be applied when querying for nullifiers for notes
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
//! Tools for scanning a compact representation of the Zcash block chain.
|
//! Tools for scanning a compact representation of the Zcash block chain.
|
||||||
//!
|
|
||||||
//! TODO: rename this module to `block_scanner`
|
|
||||||
|
|
||||||
use std::collections::{HashMap, HashSet};
|
use std::collections::{HashMap, HashSet};
|
||||||
use std::convert::TryFrom;
|
use std::convert::TryFrom;
|
||||||
|
|
Loading…
Reference in New Issue