1
1
use std:: num:: NonZeroU32 ;
2
2
3
3
use bip0039:: { English , Mnemonic } ;
4
- use futures_util:: { Stream , StreamExt , TryStreamExt } ;
4
+ use futures_util:: { StreamExt , TryStreamExt } ;
5
5
use nonempty:: NonEmpty ;
6
6
use secrecy:: { ExposeSecret , SecretVec , Zeroize } ;
7
7
use tonic:: {
8
8
client:: GrpcService ,
9
9
codegen:: { Body , Bytes , StdError } ,
10
- Status , Streaming ,
11
10
} ;
12
11
13
12
use crate :: error:: Error ;
14
13
use crate :: BlockRange ;
15
- use rayon:: iter:: IntoParallelIterator ;
16
- use rayon:: iter:: IntoParallelRefIterator ;
17
- use rayon:: iter:: ParallelIterator ;
18
14
use std:: fmt:: Debug ;
19
15
use std:: hash:: Hash ;
20
16
use subtle:: ConditionallySelectable ;
@@ -29,7 +25,6 @@ use zcash_client_backend::data_api::{
29
25
} ;
30
26
use zcash_client_backend:: fees:: zip317:: SingleOutputChangeStrategy ;
31
27
use zcash_client_backend:: proposal:: Proposal ;
32
- use zcash_client_backend:: proto:: compact_formats:: CompactBlock ;
33
28
use zcash_client_backend:: proto:: service:: {
34
29
self , compact_tx_streamer_client:: CompactTxStreamerClient ,
35
30
} ;
@@ -46,8 +41,6 @@ use zcash_primitives::transaction::TxId;
46
41
use zcash_proofs:: prover:: LocalTxProver ;
47
42
48
43
use zcash_client_backend:: sync:: run;
49
- /// The maximum number of checkpoints to store in each shard-tree
50
- const PRUNING_DEPTH : usize = 100 ;
51
44
const BATCH_SIZE : u32 = 10000 ;
52
45
53
46
/// # A Zcash wallet
0 commit comments