Skip to content

Commit

Permalink
Merge pull request #428 from zancas/hack_on_regtest
Browse files Browse the repository at this point in the history
Hack on regtest
  • Loading branch information
fluidvanadium authored Aug 11, 2023
2 parents 8284fb9 + f9b51ea commit 5bb279f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions zingocli/regtest/conf/zcash.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Default zingolib zcash.conf for regtest mode ##
regtest=1
nuparams=5ba81b19:1 # Overwinter
nuparams=76b809bb:1 # Sapling
nuparams=2bb40e60:1 # Blossom
nuparams=f5b9230b:1 # Heartwood
nuparams=e9ff75a6:1 # Canopy
nuparams=c2d6d0b4:1 # NU5

txindex=1
insightexplorer=1
experimentalfeatures=1
rpcuser=xxxxxx
rpcpassword=xxxxxx
rpcport=18232
rpcallowip=127.0.0.1

minetolocalwallet=0
mineraddress=zregtestsapling1fp58yvw40ytns3qrcc4p58ga9xunqglf5al6tl49fdlq3yrc2wk99dwrnxmhcyw5nlsqqa680rq
2 changes: 1 addition & 1 deletion zingocli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fn report_permission_error() {
}
}

/// If the regtest flag was passed but a non regtest nework is selected
/// If the regtest flag was passed but a non regtest network is selected
/// exit immediately and vice versa.
fn regtest_config_check(regtest_manager: &Option<regtest::RegtestManager>, chain: &ChainType) {
if regtest_manager.is_some() && chain == &ChainType::Regtest {
Expand Down

0 comments on commit 5bb279f

Please sign in to comment.