cryptocoin icon indicating copy to clipboard operation
cryptocoin copied to clipboard

transactions

Open lyndsysimon opened this issue 9 years ago • 1 comments

Define how transactions will be built and signed.

lyndsysimon avatar Jun 02 '15 17:06 lyndsysimon

Note that this may include several objects. First pass at an architecture:

TransactionInput - a Key, plus an amount to send TransactionOutput - a Key, plus an amount to receive Transaction - a collection of inputs and outputs. Includes validation that inputs are equal to outputs and that the transaction is syntactically valid.

For complex transactions, a TransactionScriptNode abstract object would have a number of subclasses, each of which represented a single script operation to be included.

lyndsysimon avatar Jun 02 '15 17:06 lyndsysimon