Branch: refs/heads/master
Home: https://github.com/conformal/btcutil
Commit: 9a3f83d493646dfed633a3d19649ef7d6ab77322
https://github.com/conformal/btcutil/commit/9a3f83d493646dfed633a3d19649ef7d6ab77322
Author: Josh Rickmar <[email protected]>
Date: 2014-06-23 (Mon, 23 Jun 2014)
Changed paths:
M block.go
M tx.go
Log Message:
-----------
Switch bytes.Buffer to Reader where possible.
bytes.Reader is a little bit more efficient than a bytes.Buffer when
just reading, so in situations where only an io.Reader is needed (for
Block and Tx deserialization), switch to a bytes.Reader.
ok @davecgh