Start recording Outputs/Inputs as objects in the DB
Capture destination address from script of outputs
Fix bug caused by spending and generating output in same transaction