Late locking (experimental) (#530)

* Late locking (experimental)

* Error on fee change

* Improve comments

* Fix typo in comment

* Add late locking flag to CLI command
This commit is contained in:
jaspervdm
2020-11-19 12:54:49 +01:00
committed by GitHub
parent c0e68ec3ea
commit a83f92dfd3
14 changed files with 433 additions and 193 deletions
+3
View File
@@ -479,6 +479,8 @@ pub fn parse_send_args(args: &ArgMatches) -> Result<command::SendArgs, ParseErro
// estimate_selection_strategies
let estimate_selection_strategies = args.is_present("estimate_selection_strategies");
let late_lock = args.is_present("late_lock");
// dest
let dest = match args.value_of("dest") {
Some(d) => d,
@@ -533,6 +535,7 @@ pub fn parse_send_args(args: &ArgMatches) -> Result<command::SendArgs, ParseErro
minimum_confirmations: min_c,
selection_strategy: selection_strategy.to_owned(),
estimate_selection_strategies,
late_lock,
dest: dest.to_owned(),
change_outputs: change_outputs,
fluff: fluff,