mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 19:07:48 +08:00
18 lines
250 B
Go
18 lines
250 B
Go
package bitswap
|
|
|
|
import (
|
|
"github.com/jbenet/go-ipfs/peer"
|
|
)
|
|
|
|
// aliases
|
|
|
|
type Ledger struct {
|
|
// todo
|
|
}
|
|
|
|
type BitSwap struct {
|
|
Ledgers map[peer.PeerId]*Ledger
|
|
HaveList map[multihash.Multihash]*block.Block
|
|
WantList []*multihash.Multihash
|
|
}
|