lbcwallet/txstore
Josh Rickmar e4c0fc81dd Return non-nil RPC results for 0 length slices.
If a JSON array result was successfully calculated, but the
slice/array is empty, the result must be marshaled as '[]' rather than
the JSON null value.  To do this in go, the RPC handlers should never
return nil slices for non-error returns, but return a non-nil slice
header with 0 length.

For example, an empty listtransactions result should be returned as
[]btcjson.ListTransactionsResult{}, rather than nil.
2014-06-12 13:58:23 -05:00
..
doc.go go fmt. 2014-05-20 20:09:33 -05:00
fixedIO_test.go Rename tx package to txstore. 2014-05-08 14:51:33 -05:00
json.go Return non-nil RPC results for 0 length slices. 2014-06-12 13:58:23 -05:00
serialization.go Consistantly create empty bytes.Buffers. 2014-06-04 22:23:32 -05:00
tx.go Updates for btcutil and btcscript's btcnet conversion. 2014-05-27 17:49:36 -05:00
tx_test.go Updates for btcutil and btcscript's btcnet conversion. 2014-05-27 17:49:36 -05:00