Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis ci #18

Merged
merged 3 commits into from
Jul 30, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: go

go:
- 1.2
- 1.3
- release
- tip

script:
- go test -v ./...
18 changes: 7 additions & 11 deletions bitswap/bitswap.go
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
package bitswap

import (
"github.com/jbenet/go-ipfs/blocks"
mh "github.com/jbenet/go-multihash"

"time"
"time"
mh "github.com/jbenet/go-multihash"
blocks "github.com/jbenet/go-ipfs/blocks"
u "github.com/jbenet/go-ipfs/util"
)

// aliases

type Ledger struct {
Owner mh.Multihash

Partner mh.Multihash

BytesSent uint64

BytesRecv uint64

Timestamp *time.Time
}

type BitSwap struct {
Ledgers map[string]*Ledger
HaveList map[string]*blocks.Block
WantList []*multihash.Multihash
Ledgers map[u.Key]*Ledger // key is peer.ID
HaveList map[u.Key]*blocks.Block // key is multihash
WantList []*mh.Multihash
}
96 changes: 0 additions & 96 deletions netmux/interface.go

This file was deleted.

46 changes: 0 additions & 46 deletions netmux/netmux.go

This file was deleted.