Commit Graph

13 Commits

Author SHA1 Message Date
Juan Batiz-Benet
184c25430b go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
Brian Tiger Chow
30faf11bfa fix(diag) rename proto package -> diagnostics_pb 2014-10-22 15:54:18 -07:00
Brian Tiger Chow
528a7cbd51 refactor(diagnostics) move proto to internal pb package
https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
2014-10-22 15:54:17 -07:00
Juan Batiz-Benet
9ca87fbb93 peer.Peer is now an interface
![](http://m.memegen.com/77n7dk.jpg)
2014-10-20 03:26:46 -07:00
Juan Batiz-Benet
3a284661fc make vendor
@whyrusleeping `make vendor` or travis fails
2014-10-18 04:28:26 -07:00
Jeromy
779af0e731 add file i had forgotten to 2014-10-18 04:28:25 -07:00
Jeromy
b2bd6848a8 fix core NewNode not setting network field, and added new json serializer for diagnostics 2014-10-18 04:28:25 -07:00
Jeromy
be5f9769b2 put bandwidth totals into the diagnostic messages 2014-10-18 04:28:25 -07:00
Jeromy
4189d50d77 fix bug in diagnostics, and add more peers to closer peer responses 2014-10-18 04:28:25 -07:00
Jeromy
226e7f430e add diagnostic logging 2014-10-10 13:18:20 -07:00
Jeromy
a7b69500b1 address concerns in PR and make log stuff more fun 2014-10-10 13:18:20 -07:00
Jeromy
d5f0476c1c implement diagnostics command 2014-10-10 13:18:19 -07:00
Jeromy
280c7e7e06 implement diagnostics service 2014-10-10 13:18:19 -07:00