Commit be14adba authored by Jeromy's avatar Jeromy

add worker to bitswap for reproviding new blocks

parent 49286577
......@@ -42,3 +42,9 @@ func (b *Block) Key() u.Key {
func (b *Block) String() string {
return fmt.Sprintf("[Block %s]", b.Key())
}
func (b *Block) Loggable() map[string]interface{} {
return map[string]interface{}{
"block": b.Key().String(),
}
}
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