Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-graphsync
Commits
0928b5a4
Commit
0928b5a4
authored
Oct 13, 2020
by
hannahhoward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(CHANGELOG): update for 0.3.0
update for 0.3.0 + style fixes
parent
bdf16c82
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
3 deletions
+25
-3
CHANGELOG.md
CHANGELOG.md
+20
-0
messagequeue/messagequeue.go
messagequeue/messagequeue.go
+1
-1
responsemanager/subscriber.go
responsemanager/subscriber.go
+2
-1
testutil/testnotifications.go
testutil/testnotifications.go
+2
-1
No files found.
CHANGELOG.md
View file @
0928b5a4
# go-graphsync changelog
# go-graphsync 0.3.0
Significant updates allow for:
-
completed response hooks run when response is done going over wire (or at least transmitted)
-
listening for when blocks are actually sent
-
being notified of network send errors on responder
### Changelog
-
github.com/ipfs/go-graphsync:
-
docs(CHANGELOG): update for 0.2.1 (
[
ipfs/go-graphsync#103
](
https://github.com/ipfs/go-graphsync/pull/103
)
)
-
Track actual network operations in a response (#102) (
[
ipfs/go-graphsync#102
](
https://github.com/ipfs/go-graphsync/pull/102
)
)
-
feat(responsecache): prune blocks more intelligently (#101) (
[
ipfs/go-graphsync#101
](
https://github.com/ipfs/go-graphsync/pull/101
)
)
### Contributors
| Contributor | Commits | Lines ± | Files Changed |
|-------------|---------|---------|---------------|
| Hannah Howard | 2 | +1983/-927 | 29 |
# go-graphsync 0.2.1
Compatibility fix for 0.2.0
...
...
messagequeue/messagequeue.go
View file @
0928b5a4
...
...
@@ -8,12 +8,12 @@ import (
"time"
blocks
"github.com/ipfs/go-block-format"
"github.com/ipfs/go-graphsync/notifications"
logging
"github.com/ipfs/go-log"
"github.com/libp2p/go-libp2p-core/peer"
gsmsg
"github.com/ipfs/go-graphsync/message"
gsnet
"github.com/ipfs/go-graphsync/network"
"github.com/ipfs/go-graphsync/notifications"
)
var
log
=
logging
.
Logger
(
"graphsync"
)
...
...
responsemanager/subscriber.go
View file @
0928b5a4
...
...
@@ -4,11 +4,12 @@ import (
"context"
"errors"
"github.com/libp2p/go-libp2p-core/peer"
"github.com/ipfs/go-graphsync"
gsmsg
"github.com/ipfs/go-graphsync/message"
"github.com/ipfs/go-graphsync/notifications"
"github.com/ipfs/go-graphsync/responsemanager/peerresponsemanager"
"github.com/libp2p/go-libp2p-core/peer"
)
var
errNetworkError
=
errors
.
New
(
"network error"
)
...
...
testutil/testnotifications.go
View file @
0928b5a4
...
...
@@ -5,8 +5,9 @@ import (
"sync"
"testing"
"github.com/ipfs/go-graphsync/notifications"
"github.com/stretchr/testify/require"
"github.com/ipfs/go-graphsync/notifications"
)
type
TestSubscriber
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment