mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-09 23:42:20 +08:00
add worker to bitswap for reproviding new blocks
This commit is contained in:
@ -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(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user