Tx (change) output splitter (#1369)

* wip - split change into many outputs for testing

* rustfmt

* add change_outputs param to wallet send
default to 1

* commit

* rustfmt

* cleanup

* fixup servers tests
This commit is contained in:
Antioch Peverell
2018-08-18 22:38:48 +01:00
committed by GitHub
parent c05c5e21ea
commit 25e03aadef
11 changed files with 102 additions and 37 deletions
+2
View File
@@ -123,6 +123,7 @@ fn basic_transaction_api(
2, // minimum confirmations
"wallet2", // dest
500, // max outputs
1, // num change outputs
true, // select all outputs
)?;
Ok(())
@@ -298,6 +299,7 @@ fn tx_rollback(test_dir: &str, backend_type: common::BackendType) -> Result<(),
2, // minimum confirmations
"wallet2", // dest
500, // max outputs
1, // num change outputs
true, // select all outputs
)?;
Ok(())