@cryptotaxi247 / kubo / commits / 79705729f

style(bitswap) remove unnecessary interface

Brian Tiger Chow committed Sep 18, 2014 at 15:03 UTC 79705729f84e4859506c81a4d81e37d35560bf55
1 file changed -4
bitswap/strategy/interface.go
-4
@@ -7,8 +7,6 @@ import (
7 )
8
9 type Strategy interface {
10 - Accountant
11 -
10 // Returns a slice of Peers that
11 Peers() []*peer.Peer
12
@@ -20,9 +18,7 @@ type Strategy interface {
18
19 // Seed initializes the decider to a deterministic state
20 Seed(int64)
23 -}
21
25 -type Accountant interface {
22 // MessageReceived records receipt of message for accounting purposes
23 MessageReceived(*peer.Peer, bsmsg.BitSwapMessage) error
24