Skip to content

Commit

Permalink
Use librustzcash's built-in database migrations. (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: str4d <[email protected]>
  • Loading branch information
nuttycom and str4d committed Aug 24, 2022
1 parent d0f175a commit 53fd41e
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 62 deletions.
93 changes: 82 additions & 11 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ ffi_helpers = "0.2"
hdwallet = "0.3.1"
hdwallet-bitcoin = "0.3"
hex = "0.4"
schemer = "0.2"
secp256k1 = "0.21"
secrecy = "0.8"

zcash_client_backend = { version = "0.5", features = ["transparent-inputs"] }
zcash_client_sqlite = { version = "0.3", features = ["transparent-inputs"] }
Expand All @@ -35,10 +37,10 @@ lto = true
# We also need zcash_client_backend and zcash_client_sqlite, which haven't been published
# with NU5 updates yet.
[patch.crates-io]
zcash_client_backend = { git = 'https://github.com/zcash/librustzcash.git', rev='37fc28634e811fdf8db9274a0080cff17c6b6a09' }
zcash_client_sqlite = { git = 'https://github.com/zcash/librustzcash.git', rev='37fc28634e811fdf8db9274a0080cff17c6b6a09' }
zcash_primitives = { git = 'https://github.com/zcash/librustzcash.git', rev='37fc28634e811fdf8db9274a0080cff17c6b6a09' }
zcash_proofs = { git = 'https://github.com/zcash/librustzcash.git', rev='37fc28634e811fdf8db9274a0080cff17c6b6a09' }
zcash_client_backend = { git = 'https://github.com/zcash/librustzcash.git', rev='5dceb93ec8aba7d831f6fdacdbbcf3ee3667779d' }
zcash_client_sqlite = { git = 'https://github.com/zcash/librustzcash.git', rev='5dceb93ec8aba7d831f6fdacdbbcf3ee3667779d' }
zcash_primitives = { git = 'https://github.com/zcash/librustzcash.git', rev='5dceb93ec8aba7d831f6fdacdbbcf3ee3667779d' }
zcash_proofs = { git = 'https://github.com/zcash/librustzcash.git', rev='5dceb93ec8aba7d831f6fdacdbbcf3ee3667779d' }

[features]
mainnet = ["zcash_client_sqlite/mainnet"]
Expand Down
Loading

0 comments on commit 53fd41e

Please sign in to comment.