indutny/bcoin — pull request #8 by chjj (2014-05-17 06:51:16+00:00)
Title: fix: take into account var_int for `addr`. move to parser.

I realized there is a `var_int` at the start of the data in the `addr` packet. I didn't take this into account originally. It's now fixed, and I moved the actual packet parsing into protocol/parser.js (it seemed more appropriate, not to mention, the readIntv function is there).