Merge pull request #347 from zcash/release/0.13.0-beta.2
Expose property nullProgress for ECC Reference Wallet
This commit is contained in:
commit
27a1875ba2
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
- name: Build ZcashLightClientKit Swift Package
|
- name: Build ZcashLightClientKit Swift Package
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
run: swift build -v
|
run: swift build -v
|
||||||
- name: Run OfflineTests suite
|
- name: Run OfflineTests suite
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
|
|
@ -24,14 +24,7 @@ Add a package with the source "https://github.com/zcash/ZcashLightClientKit.git"
|
||||||
|
|
||||||
## Cocoapods Support
|
## Cocoapods Support
|
||||||
|
|
||||||
1. Add the following to the top of your podfile to resolve downstream dependencies.
|
Add `pod "ZcashLightClientKit", ~> "0.13.0-beta.2"` to the target you want to add the kit too.
|
||||||
|
|
||||||
```ruby
|
|
||||||
source "https://github.com/zcash-hackworks/CocoaPodsSpecs.git"
|
|
||||||
source "https://cdn.cocoapods.org/"
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Add `pod "ZcashLightClientKit", ~> "0.13.0-beta.1"` to the target you want to add the kit too.
|
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,10 @@ public struct BlockProgress: Equatable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public extension BlockProgress {
|
||||||
|
static let nullProgress = BlockProgress(startHeight: 0, targetHeight: 0, progressHeight: 0)
|
||||||
|
}
|
||||||
|
|
||||||
public class LightWalletGRPCService {
|
public class LightWalletGRPCService {
|
||||||
let channel: Channel
|
let channel: Channel
|
||||||
let connectionManager: ConnectionStatusManager
|
let connectionManager: ConnectionStatusManager
|
||||||
|
|
|
@ -921,12 +921,6 @@ extension ConnectionState {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension BlockProgress {
|
|
||||||
static var nullProgress: Self {
|
|
||||||
return .init(startHeight: 0, targetHeight: 0, progressHeight: 0)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private struct NullEnhancementProgress: EnhancementProgress {
|
private struct NullEnhancementProgress: EnhancementProgress {
|
||||||
var totalTransactions: Int { 0 }
|
var totalTransactions: Int { 0 }
|
||||||
var enhancedTransactions: Int { 0 }
|
var enhancedTransactions: Int { 0 }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'ZcashLightClientKit'
|
s.name = 'ZcashLightClientKit'
|
||||||
s.version = '0.13.0-beta.1'
|
s.version = '0.13.0-beta.2'
|
||||||
s.summary = 'Zcash Light Client wallet SDK for iOS'
|
s.summary = 'Zcash Light Client wallet SDK for iOS'
|
||||||
|
|
||||||
s.description = <<-DESC
|
s.description = <<-DESC
|
||||||
|
@ -16,11 +16,11 @@ Pod::Spec.new do |s|
|
||||||
s.source = { :git => 'https://github.com/zcash/ZcashLightClientKit.git', :tag => s.version.to_s }
|
s.source = { :git => 'https://github.com/zcash/ZcashLightClientKit.git', :tag => s.version.to_s }
|
||||||
|
|
||||||
s.source_files = 'Sources/ZcashLightClientKit/**/*.{swift,h}'
|
s.source_files = 'Sources/ZcashLightClientKit/**/*.{swift,h}'
|
||||||
s.swift_version = '5.4'
|
s.swift_version = '5.5'
|
||||||
s.ios.deployment_target = '12.0'
|
s.ios.deployment_target = '12.0'
|
||||||
s.dependency 'gRPC-Swift', '= 1.0.0'
|
s.dependency 'gRPC-Swift', '= 1.0.0'
|
||||||
s.dependency 'SQLite.swift', '~> 0.12.2'
|
s.dependency 'SQLite.swift', '~> 0.12.2'
|
||||||
s.dependency 'libzcashlc', '0.0.1'
|
s.dependency 'libzcashlc', '0.0.2'
|
||||||
s.static_framework = true
|
s.static_framework = true
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# 0.13.0-beta.2
|
||||||
|
- [Enhancement] Fix: make BlockProgress `.nullProgress` static property public for ECC Reference Wallet CombineSynchonizer
|
||||||
# 0.13.0-beta.1
|
# 0.13.0-beta.1
|
||||||
- [Enhancement] PR #338. Rust-less build. Check for new documentation on how to benefit from this huge change
|
- [Enhancement] PR #338. Rust-less build. Check for new documentation on how to benefit from this huge change
|
||||||
- [Enhancement] Swift Package Manager Support!
|
- [Enhancement] Swift Package Manager Support!
|
||||||
|
|
Loading…
Reference in New Issue