You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore(v2): setup the v2 release
given the expected breaking changes, it's time to setup the v2 release
BREAKING CHANGE: v2 modules
* Refactor revalidators (#308)
* feat(revalidators): initial refactor
refactor revalidation process -- removing independent revalidations, making validations results more
clear
* refactor(rename): RevalidateToComplete -> RequiresFinalization
* refactor(datatransfer): enhance validator comments
* refactor(message): revert message response changes
* refactor(impl): comment and refactor on events
add comments to event processing and also extract functions for receiving requests to a new file
* refactor(message): s/IsVoucherResult/IsValidationResult
rename the IsVoucherResult to is 'IsValidationResult' also add a method for generating messages from
validation results
* feat(events): only dispatch events on change
Only dispatch Pause, Resume, SetDataLimit, and RequiresFinalization on change
* style(imports): fix imports
* feat(events): add DataLimitExceeded event
* Update channels/channel_state.go
Co-authored-by: dirkmc <dirkmdev@gmail.com>
* Update manager.go
Co-authored-by: dirkmc <dirkmdev@gmail.com>
* Update manager.go
Co-authored-by: dirkmc <dirkmdev@gmail.com>
* Update statuses.go
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: dirkmc <dirkmdev@gmail.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
* Refactor revalidators v2 (#322)
* refactor(validators): remove revalidation
move to all revalidation being asynchronous
* feat(validators): implied pauses
causes datalimit exceeded and requires finalization to leave request paused, regardless of where
LeaveRequestPaused is set
* refactor(events): reorder events
reorder validation events so all get record when transfer finishes
* Update impl/impl.go
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Rod Vagg <rod@vagg.org>
* chore(message): delete old message format code (#330)
* feat(ipld): vouchers as plain ipld.Node (#325)
* feat(ipld): vouchers as plain ipld.Node
* feat: add ValidationResult#Equals() utility
* feat(ipld): introduce TypedVoucher tuple type
* chore(ipld): ipld.Node -> datamodel.Node
* chore: remove RegisterVoucherResultType
* fix: minor staticcheck fixes
* refactor(channelstate): use cborgencompatiblenode (#336)
use cborgencomptaiblenode to simply channelstate interface
* feat(ipld): use bindnode/registry (#340)
* chore(deps): update libp2p v0.19.4 (#341)
* feat(ipld): use bindnode/registry
Co-authored-by: Hannah Howard <hannah@hannahhoward.net>
* refactor(v2): port graphsync w/o transport refactor
Ports state machine and graphsync changes without the big transport refactor
* fix(pr): respond to pr comments
* chore(deps): upgrade libp2p v0.22
also upgrades graphsync and removes go-libp2p-core paths
* fix(deps): use tagged go-ipld-prime
Co-authored-by: dirkmc <dirkmdev@gmail.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
@@ -135,7 +135,7 @@ must be sent with the request. Using the trivial examples above:
135
135
For more detail, please see the [unit tests](https://github.com/filecoin-project/go-data-transfer/blob/master/impl/impl_test.go).
136
136
137
137
### Open a Push or PullRequest
138
-
For a push or pull request, provide a context, a `datatransfer.Voucher`, a host recipient `peer.ID`, a baseCID `cid.CID` and a selector `ipld.Node`. These
138
+
For a push or pull request, provide a context, a `datatransfer.Voucher`, a host recipient `peer.ID`, a baseCID `cid.CID` and a selector `datamodel.Node`. These
139
139
calls return a `datatransfer.ChannelID` and any error:
0 commit comments