Split transaction creation into building a template and then completing it. Completing a tx means adding inputs and possibly a change output to make the transaction valid. Also add a convenience addOutput() overload to Transaction. This makes it easier to create multi-sends.

Patch from Chris Rico.
This commit is contained in:
Mike Hearn
2012-02-07 21:47:21 +01:00
parent b43b686264
commit 11a87317a4
4 changed files with 101 additions and 17 deletions

View File

@@ -11,3 +11,4 @@ Wolfgang Nagele <wolfgang.nagele@gmail.com>
Jonny Heggheim <hegjon@gmail.com>
Steve Coughlan <shadders.del@gmail.com>
Roman Mandeleil <roman.mandeleil@gmail.com>
Chris Rico <chrisrico@gmail.com>