mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 21:37:57 +08:00
19 lines
265 B
Go
19 lines
265 B
Go
package bitswap
|
|
|
|
import (
|
|
"github.com/jbenet/go-ipfs/blocks"
|
|
"github.com/jbenet/go-multihash"
|
|
)
|
|
|
|
// aliases
|
|
|
|
type Ledger struct {
|
|
// todo
|
|
}
|
|
|
|
type BitSwap struct {
|
|
Ledgers map[string]*Ledger
|
|
HaveList map[string]*blocks.Block
|
|
WantList []*multihash.Multihash
|
|
}
|