parameterize anchor offset

This commit is contained in:
Aditya Kulkarni
2019-10-01 11:07:14 -07:00
parent 91611874e9
commit 32dc7d3cd8
3 changed files with 23 additions and 13 deletions

View File

@@ -31,6 +31,8 @@ pub mod grpc_client {
#[folder = "zcash-params/"]
pub struct SaplingParams;
const ANCHOR_OFFSET: u32 = 4;
pub fn main() {
// Get command line arguments
let matches = App::new("ZecLite CLI")
@@ -75,6 +77,7 @@ pub fn main() {
chain_name : info.chain_name,
sapling_activation_height : info.sapling_activation_height,
consensus_branch_id : info.consensus_branch_id,
anchor_offset : ANCHOR_OFFSET,
};
// Configure logging first.