Branch: refs/heads/master
Home: https://github.com/conformal/btcjson
Commit: 5d91e16e7c71b36d595a6d6a582e29fd3fcfacef
https://github.com/conformal/btcjson/commit/5d91e16e7c71b36d595a6d6a582e29fd3fcfacef
Author: Francis Lam <[email protected]>
Date: 2013-12-30 (Mon, 30 Dec 2013)
Changed paths:
M jsonapi.go
Log Message:
-----------
Added MarshalJSON to Vin and changed Vout.ScriptPubKey
Added MarshalJSON method to Vin which properly omits the Vout field
from coinbase Vin's by using anonymous structs with the proper
subsets of fields outputted by bitcoind
Changed Vout.ScriptPubKey to add omitempty for ReqSigs and Addresses:
both fields are not shown when there is an error identifying to
scriptType or parsing addresses in bitcoind