Skip to content

Commit

Permalink
Pre cancel retrievals that will fail due to identical miner and paylo…
Browse files Browse the repository at this point in the history
…ad CID (#207)

* feat(deps): update lotus

* feat(tasks): pre-cancel identical retrievals

add logic to search for any retrievals with the same peer id and payload CID and cancel them
  • Loading branch information
hannahhoward authored Jun 11, 2021
1 parent 6e4d2af commit 27fe22a
Show file tree
Hide file tree
Showing 4 changed files with 259 additions and 28 deletions.
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ go 1.16
require (
github.com/c2h5oh/datasize v0.0.0-20200825124411-48ed595a09d2
github.com/filecoin-project/go-address v0.0.5
github.com/filecoin-project/go-fil-markets v1.2.5
github.com/filecoin-project/go-fil-markets v1.4.0
github.com/filecoin-project/go-jsonrpc v0.1.4-0.20210217175800-45ea43ac2bec
github.com/filecoin-project/go-state-types v0.1.0
github.com/filecoin-project/lotus v1.9.0
github.com/filecoin-project/go-state-types v0.1.1-0.20210506134452-99b279731c48
github.com/filecoin-project/lotus v1.9.1-0.20210607161144-fadc79a4875b
github.com/golang-migrate/migrate/v4 v4.14.2-0.20210511063805-2e7358e012a6
github.com/golang/mock v1.4.4
github.com/golang/mock v1.5.0
github.com/google/uuid v1.1.2
github.com/gorilla/handlers v1.4.2
github.com/gorilla/mux v1.7.4
Expand All @@ -37,4 +37,4 @@ require (
modernc.org/sqlite v1.10.6
)

replace github.com/filecoin-project/filecoin-ffi => github.com/filecoin-project/ffi-stub v0.1.0
replace github.com/filecoin-project/filecoin-ffi => github.com/hannahhoward/ffi-stub v0.1.1-0.20210611194822-18d26dc20744
Loading

0 comments on commit 27fe22a

Please sign in to comment.