Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature branch for SDK 2.2.0 #1512

Merged
merged 35 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b75cd9f
cargo update
str4d Jul 2, 2024
239528c
rust: Remove unused direct dependencies
str4d Jul 2, 2024
daa8c50
Migrate to Rust 1.79
str4d Jul 2, 2024
2ae56cb
Migrate to latest revision of librustzcash crates
str4d Jul 2, 2024
e68566f
Merge pull request #1510 from Electric-Coin-Company/updates-and-cleanups
str4d Jul 2, 2024
c560cdc
Merge branch 'main' into feature-2.2.0
str4d Jul 18, 2024
774dc11
Add ZIP 320 TEX address validation
str4d Jul 2, 2024
bb5bfb6
Migrate to latest revision of librustzcash crates
str4d Jul 18, 2024
2a7bba3
Fix handling of empty memos
str4d Jul 20, 2024
fc67682
Fix Detekt warning
HonzaR Jul 23, 2024
e9c3480
Changelog update
HonzaR Jul 23, 2024
9e3a5d2
Exception reporting issue filed
HonzaR Jul 23, 2024
62b694c
Add WalletAddress.Tex type
HonzaR Jul 23, 2024
18cf573
Another fix of Detekt warning
HonzaR Jul 23, 2024
4ede630
Merge pull request #1532 from Electric-Coin-Company/zip-320
str4d Jul 31, 2024
4eb11f8
Merge branch 'main' into feature-2.2.0
str4d Aug 10, 2024
e09cb34
Migrate to latest revision of librustzcash crates
str4d Jul 31, 2024
60bbd6d
Raise MSRV to 1.80
str4d Jul 31, 2024
925cf35
Fix clippy lints as of 1.80
str4d Jul 31, 2024
9a0b6a3
cargo update
str4d Jul 31, 2024
53b0f49
Add `Synchronizer` APIs for USD/ZEC exchange rate
str4d Jul 2, 2024
af91ac3
Exchange rate implementation (#1537)
Milan-Cerovsky Aug 9, 2024
f9307d5
Address review comments
HonzaR Aug 9, 2024
0f2359e
Merge branch 'refs/heads/main' into tor-exchange-rate
Milan-Cerovsky Aug 12, 2024
b231d27
Code cleanup
Milan-Cerovsky Aug 12, 2024
2e24b4b
Code cleanup
Milan-Cerovsky Aug 12, 2024
02857a5
Merge pull request #1533 from Electric-Coin-Company/tor-exchange-rate
str4d Aug 13, 2024
1d5a2ef
Tor initialization and disposal (#1560)
Milan-Cerovsky Aug 16, 2024
a870003
Integrate transaction status queue for transparent history
str4d Aug 20, 2024
1b4ce00
Update to the latest zcash dependencies
nuttycom Aug 20, 2024
378b19e
Documentation update
Milan-Cerovsky Aug 21, 2024
5a2c163
Fetch transaction error handling
Milan-Cerovsky Aug 21, 2024
ab15647
Merge pull request #1565 from Electric-Coin-Company/feature-2.2.0-err…
nuttycom Aug 21, 2024
fb7e876
Update CHANGELOG.md
Milan-Cerovsky Aug 21, 2024
449017c
Fix handling of ``OrphanedBlock` in `RawTransactionUnsafeExt`
nuttycom Aug 21, 2024
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
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,35 @@ and this library adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

This release adds several important new features:
- Currency exchange rates (currently just USD/ZEC) are now made available via the SDK.
The exchange rate computed as the median of values provided by at least three separate
cryptocurrency exchanges, and is fetched over Tor connections in order to avoid leaking
the wallet's IP address to the exchanges.
- Sending to ZIP 320 (TEX) addresses is now supported. When sending to a ZIP 320 address,
the wallet will first automatically de-shield the required funds to a fresh ephemeral
transparent address, and then will make a second fully-transparent transaction sending
the funds to the eventual recipient that is not linkable via on-chain information to any
other transaction in the user's wallet.
- As part of adding ZIP 320 support, the SDK now also provides full support for recovering
transparent transaction history. Prior to this release, only transactions belonging to the
wallet that contained either some shielded component OR a member of the current
transparent UTXO set were included in transaction history.

### Changed
- Migrated to Rust 1.80.0.
- `Synchronizer.proposeTransfer` now supports TEX addresses (ZIP 320).
- Internal transactions-enhancing logic has changed to support the history of transactions made to TEX addresses

### Added
- `Synchronizer.isValidTexAddr` which checks whether the given address is a valid ZIP 320 TEX address
- `Synchronizer.exchangeRateUsd` is a `StateFlow` containing the latest USD/ZEC
exchange rate, along with the `Instant` it was fetched. It can be initialized
and refreshed by calling `Synchronizer.refreshExchangeRateUsd()`.
- `ZatoshiExt.toFiatString` is now a public function
- `Synchronizer.getFastestServers([LightWalletEndpoint])` is a flow that measures connections to given endpoints and
returns the three fastest ones
- `Synchronizer.getTAddressTransactions` returns all the transactions for a given t-address over the given range

## [2.1.3] - 2024-08-08

Expand Down
Loading
Loading