lbcwallet/txstore
Josh Rickmar 6a72a0ad4d Pass txstore.Credit/Debits directly, not pointers.
The Credit and Debits structures are simple wrappers around an
embedded *txstore.TxRecord, as well as an output index in the case of
Credit.  This means that a Credit is at most two words, while a Debits
struct is just one.  To avoid the unnecessary garbage of creating
Credit and Debits structures on the heap (where the underlying
TxRecord likely already is), simply pass around everywhere as
non-pointer types, and modify the receivers for all Credit and Debits
methods to non-pointer receivers since none of them ever modify the
value.
2014-06-18 00:16:08 -05:00
..
doc.go Pass txstore.Credit/Debits directly, not pointers. 2014-06-18 00:16:08 -05:00
fixedIO_test.go Rename tx package to txstore. 2014-05-08 14:51:33 -05:00
json.go Pass txstore.Credit/Debits directly, not pointers. 2014-06-18 00:16:08 -05:00
serialization.go Improve txstore unspent output bookkeeping. 2014-06-17 22:50:34 -05:00
tx.go Pass txstore.Credit/Debits directly, not pointers. 2014-06-18 00:16:08 -05:00
tx_test.go Updates for btcutil and btcscript's btcnet conversion. 2014-05-27 17:49:36 -05:00