Commit 79705729 authored by Brian Tiger Chow's avatar Brian Tiger Chow

style(bitswap) remove unnecessary interface

parent de9fcf5d
......@@ -7,8 +7,6 @@ import (
)
type Strategy interface {
Accountant
// Returns a slice of Peers that
Peers() []*peer.Peer
......@@ -20,9 +18,7 @@ type Strategy interface {
// Seed initializes the decider to a deterministic state
Seed(int64)
}
type Accountant interface {
// MessageReceived records receipt of message for accounting purposes
MessageReceived(*peer.Peer, bsmsg.BitSwapMessage) error
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment