2019-10-18 04:47:41 +00:00
|
|
|
module github.com/filecoin-project/lotus
|
2019-06-25 11:42:17 +00:00
|
|
|
|
2019-09-23 11:26:45 +00:00
|
|
|
go 1.13
|
2019-06-25 11:42:17 +00:00
|
|
|
|
|
|
|
require (
|
2019-07-25 20:19:43 +00:00
|
|
|
contrib.go.opencensus.io/exporter/jaeger v0.1.0
|
2019-07-03 16:59:49 +00:00
|
|
|
github.com/BurntSushi/toml v0.3.1
|
2019-10-02 17:20:30 +00:00
|
|
|
github.com/GeertJohan/go.rice v1.0.0
|
2019-10-23 14:45:03 +00:00
|
|
|
github.com/Gurpartap/async v0.0.0-20180927173644-4f7f499dd9ee
|
2019-08-29 23:18:26 +00:00
|
|
|
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
|
2019-12-11 02:06:28 +00:00
|
|
|
github.com/docker/go-units v0.4.0
|
2019-11-26 21:58:43 +00:00
|
|
|
github.com/filecoin-project/chain-validation v0.0.3
|
2019-12-19 21:06:25 +00:00
|
|
|
github.com/filecoin-project/filecoin-ffi v0.0.0-20191219131535-bb699517a590
|
2019-12-19 20:13:17 +00:00
|
|
|
github.com/filecoin-project/go-address v0.0.0-20191219011437-af739c490b4f
|
2019-12-05 01:32:34 +00:00
|
|
|
github.com/filecoin-project/go-amt-ipld v0.0.0-20191205011053-79efc22d6cdc
|
2019-12-19 20:28:17 +00:00
|
|
|
github.com/filecoin-project/go-cbor-util v0.0.0-20191219014500-08c40a1e63a2
|
2019-12-19 20:15:14 +00:00
|
|
|
github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03
|
2019-12-19 01:05:07 +00:00
|
|
|
github.com/filecoin-project/go-data-transfer v0.0.0-20191219005021-4accf56bd2ce
|
2020-01-02 19:08:49 +00:00
|
|
|
github.com/filecoin-project/go-paramfetch v0.0.0-20200102181131-b20d579f2878
|
2020-01-06 20:12:16 +00:00
|
|
|
github.com/filecoin-project/go-sectorbuilder v0.0.0-20200107220006-3361d30ea5ab
|
2019-12-20 21:01:40 +00:00
|
|
|
github.com/filecoin-project/go-statestore v0.0.0-20200102200712-1f63c701c1e5
|
2019-07-18 16:51:21 +00:00
|
|
|
github.com/gbrlsnchs/jwt/v3 v3.0.0-beta.1
|
2019-08-29 23:18:26 +00:00
|
|
|
github.com/go-ole/go-ole v1.2.4 // indirect
|
2019-11-21 14:10:51 +00:00
|
|
|
github.com/gorilla/mux v1.7.3
|
2019-11-21 04:10:30 +00:00
|
|
|
github.com/gorilla/websocket v1.4.1
|
2019-11-11 19:32:30 +00:00
|
|
|
github.com/hashicorp/go-multierror v1.0.0
|
2019-10-09 12:23:45 +00:00
|
|
|
github.com/hashicorp/golang-lru v0.5.3
|
2019-10-12 00:13:16 +00:00
|
|
|
github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e
|
2019-09-05 21:27:03 +00:00
|
|
|
github.com/ipfs/go-bitswap v0.1.8
|
2019-07-05 14:36:08 +00:00
|
|
|
github.com/ipfs/go-block-format v0.0.2
|
2019-09-08 20:14:01 +00:00
|
|
|
github.com/ipfs/go-blockservice v0.1.3-0.20190908200855-f22eea50656c
|
2019-10-17 04:53:25 +00:00
|
|
|
github.com/ipfs/go-car v0.0.2
|
2019-12-14 17:04:02 +00:00
|
|
|
github.com/ipfs/go-cid v0.0.4
|
|
|
|
github.com/ipfs/go-datastore v0.1.1
|
2019-12-17 07:06:48 +00:00
|
|
|
github.com/ipfs/go-ds-badger v0.0.7
|
2019-07-15 14:14:54 +00:00
|
|
|
github.com/ipfs/go-filestore v0.0.2
|
2019-07-12 09:59:18 +00:00
|
|
|
github.com/ipfs/go-fs-lock v0.0.1
|
feat(datatransfer): implement and extract
feat(datatransfer): setup implementation path
Sets up a path to implementation, offering both the dagservice implementation and a future graphsync
implement, establishes message interfaces and network layer, and isolates the datatransfer module
from the app
WIP using CBOR encoding for dataxfermsg
* Bring cbor-gen stuff into datatransfer package
* make transferRequest private struct
* add transferResponse + funcs
* Rename VoucherID to VoucherType
* more tests passing
WIP trying out some stuff
* Embed request/response in message so all the interfaces work AND the CBOR unmarshaling works: this is more like the spec anyway
* get rid of pb stuff
all message tests passing, some others in datatransfer
Some cleanup for PR
Cleanup for PR, clarifying and additional comments
mod tidy
Respond to PR comments:
* Make DataTransferRequest/Response be returned in from Net
* Regenerate cbor_gen and fix the generator caller so it works better
* Please the linters
Fix tests
Initiate push and pull requests (#536)
* add issue link for data TransferID generation
* comment out failing but not relevant tests
* finish voucher rename from Identifier --> Type
tests passing
cleanup for PR
remove unused fmt import in graphsync_test
a better reflection
send data transfer response
other tests passing
feat(datatransfer): milestone 2 infrastructure
Setup test path for all tickets for milestone 2
responses alert subscribers when request is not accepted (#607)
Graphsync response is scheduled when a valid push request is received (#625)
fix(datatransfer): fix tests
fix an error with read buffers in tests
fix(deps): fix go.sum
Feat/dt graphsync pullreqs (#627)
* graphsync responses to pull requests
Feat/dt initiator cleanup (#645)
* ChannelID.To --> ChannelID.Initiator
* We now store our peer ID (from host.ID()) so it can be used when creating ChannelIDs.
* InProgressChannels returns all of impl.channels, currently just for testing
* Implements go-data-transfer issue
* Some assertions were changed based on the above.
* Renamed some variables and added some assertions based on the new understanding
* Updated SHA for graphsync module
* Updated fakeGraphSync test structs to use new interfaces from new SHA above
Techdebt/dt split graphsync impl receiver (#651)
* Split up graphsyncImpl and graphsyncReceiver
* rename graphsync to utils
DTM sends data over graphsync for validated push requests (#665)
* create channels when a request is received. register push request hook with graphsync. fix tests.
* better NewReaders
* use mutex lock around impl.channels access
* fix(datatransfer): fix test uncertainty
* fix a data race and also don't use random bytes in basic block which can fail
* privatize 3 funcs
with @hannahhoward
Feat/dt gs pullrequests (#693)
* Implements DTM Sends Data Over Graphsync For Validated Pull Requests
* rename a field in a test struct
* refactor a couple of private functions (one was refactored out of existence)
Feat/dt subscribe, file Xfer round trip (#720)
Implements the rest of Subscriber Is Notified When Request Completed #24:
* send a graphsync message within a go func and consume responses until error or transfer is complete.
* notify subscribers of results.
* Rename datatransfer.Event to EventCode.
* datatransfer.Event is now a struct that includes a message and a timestamp as well as the Event.Code int, formerly Event, update all uses
* Add extension data to graphsync request hook, gsReq
* rename sendRequest to sendDtRequest, to distinguish it from sendGsRequest, where Dt = datatransfer, Gs = graphsync
* use a mutex lock for last transfer ID
* obey the linter
Don't respond with error in gsReqRcdHook when we can't find the datatransfer extension. (#754)
* update to correct graphsync version, update tests & code to call the new graphsync hooks
* getExtensionData returns an empty struct + nil if we can't find our extension
* Don't respond with error when we can't find the extension.
* Test for same
* mod tidy
minor fix to go.sum
feat(datatransfer): switch to graphsync implementation
Move over to real graphsync implementation of data transfer, add constructors for graphsync
instances on client and miner side
fix(datatransfer): Fix validators
Validators were checking payload cid against commP -- which are not the same any more. Added a
payloadCid to client deal to maintain the record, fixed validator logic
Feat/dt extraction use go-fil-components/datatransfer (#770)
* Initial commit after changing to go-fil-components/datatransfer
* blow away the datatransfer dir
* use go-fil-components master after its PR #1 was merged
* go mod tidy
use a package
updates after rebase with master
2019-10-30 02:42:16 +00:00
|
|
|
github.com/ipfs/go-graphsync v0.0.4
|
2019-12-18 03:41:58 +00:00
|
|
|
github.com/ipfs/go-hamt-ipld v0.0.14-0.20191218031521-b2c774a54db1
|
2019-12-14 17:04:02 +00:00
|
|
|
github.com/ipfs/go-ipfs-blockstore v0.1.1
|
2019-10-26 01:36:49 +00:00
|
|
|
github.com/ipfs/go-ipfs-blocksutil v0.0.1
|
2019-07-12 09:59:18 +00:00
|
|
|
github.com/ipfs/go-ipfs-chunker v0.0.1
|
2019-08-26 08:02:26 +00:00
|
|
|
github.com/ipfs/go-ipfs-ds-help v0.0.1
|
2019-07-08 13:36:43 +00:00
|
|
|
github.com/ipfs/go-ipfs-exchange-interface v0.0.1
|
2019-07-12 09:59:18 +00:00
|
|
|
github.com/ipfs/go-ipfs-exchange-offline v0.0.1
|
2019-08-26 08:02:26 +00:00
|
|
|
github.com/ipfs/go-ipfs-files v0.0.4
|
2019-07-01 10:18:00 +00:00
|
|
|
github.com/ipfs/go-ipfs-routing v0.1.0
|
2019-07-26 00:49:27 +00:00
|
|
|
github.com/ipfs/go-ipld-cbor v0.0.3
|
2019-07-05 14:36:08 +00:00
|
|
|
github.com/ipfs/go-ipld-format v0.0.2
|
2019-11-27 01:46:17 +00:00
|
|
|
github.com/ipfs/go-log v1.0.0
|
2019-10-17 04:53:25 +00:00
|
|
|
github.com/ipfs/go-merkledag v0.2.4
|
2019-12-19 15:50:18 +00:00
|
|
|
github.com/ipfs/go-path v0.0.7
|
2019-09-05 21:27:03 +00:00
|
|
|
github.com/ipfs/go-unixfs v0.2.2-0.20190827150610-868af2e9e5cb
|
feat(datatransfer): implement and extract
feat(datatransfer): setup implementation path
Sets up a path to implementation, offering both the dagservice implementation and a future graphsync
implement, establishes message interfaces and network layer, and isolates the datatransfer module
from the app
WIP using CBOR encoding for dataxfermsg
* Bring cbor-gen stuff into datatransfer package
* make transferRequest private struct
* add transferResponse + funcs
* Rename VoucherID to VoucherType
* more tests passing
WIP trying out some stuff
* Embed request/response in message so all the interfaces work AND the CBOR unmarshaling works: this is more like the spec anyway
* get rid of pb stuff
all message tests passing, some others in datatransfer
Some cleanup for PR
Cleanup for PR, clarifying and additional comments
mod tidy
Respond to PR comments:
* Make DataTransferRequest/Response be returned in from Net
* Regenerate cbor_gen and fix the generator caller so it works better
* Please the linters
Fix tests
Initiate push and pull requests (#536)
* add issue link for data TransferID generation
* comment out failing but not relevant tests
* finish voucher rename from Identifier --> Type
tests passing
cleanup for PR
remove unused fmt import in graphsync_test
a better reflection
send data transfer response
other tests passing
feat(datatransfer): milestone 2 infrastructure
Setup test path for all tickets for milestone 2
responses alert subscribers when request is not accepted (#607)
Graphsync response is scheduled when a valid push request is received (#625)
fix(datatransfer): fix tests
fix an error with read buffers in tests
fix(deps): fix go.sum
Feat/dt graphsync pullreqs (#627)
* graphsync responses to pull requests
Feat/dt initiator cleanup (#645)
* ChannelID.To --> ChannelID.Initiator
* We now store our peer ID (from host.ID()) so it can be used when creating ChannelIDs.
* InProgressChannels returns all of impl.channels, currently just for testing
* Implements go-data-transfer issue
* Some assertions were changed based on the above.
* Renamed some variables and added some assertions based on the new understanding
* Updated SHA for graphsync module
* Updated fakeGraphSync test structs to use new interfaces from new SHA above
Techdebt/dt split graphsync impl receiver (#651)
* Split up graphsyncImpl and graphsyncReceiver
* rename graphsync to utils
DTM sends data over graphsync for validated push requests (#665)
* create channels when a request is received. register push request hook with graphsync. fix tests.
* better NewReaders
* use mutex lock around impl.channels access
* fix(datatransfer): fix test uncertainty
* fix a data race and also don't use random bytes in basic block which can fail
* privatize 3 funcs
with @hannahhoward
Feat/dt gs pullrequests (#693)
* Implements DTM Sends Data Over Graphsync For Validated Pull Requests
* rename a field in a test struct
* refactor a couple of private functions (one was refactored out of existence)
Feat/dt subscribe, file Xfer round trip (#720)
Implements the rest of Subscriber Is Notified When Request Completed #24:
* send a graphsync message within a go func and consume responses until error or transfer is complete.
* notify subscribers of results.
* Rename datatransfer.Event to EventCode.
* datatransfer.Event is now a struct that includes a message and a timestamp as well as the Event.Code int, formerly Event, update all uses
* Add extension data to graphsync request hook, gsReq
* rename sendRequest to sendDtRequest, to distinguish it from sendGsRequest, where Dt = datatransfer, Gs = graphsync
* use a mutex lock for last transfer ID
* obey the linter
Don't respond with error in gsReqRcdHook when we can't find the datatransfer extension. (#754)
* update to correct graphsync version, update tests & code to call the new graphsync hooks
* getExtensionData returns an empty struct + nil if we can't find our extension
* Don't respond with error when we can't find the extension.
* Test for same
* mod tidy
minor fix to go.sum
feat(datatransfer): switch to graphsync implementation
Move over to real graphsync implementation of data transfer, add constructors for graphsync
instances on client and miner side
fix(datatransfer): Fix validators
Validators were checking payload cid against commP -- which are not the same any more. Added a
payloadCid to client deal to maintain the record, fixed validator logic
Feat/dt extraction use go-fil-components/datatransfer (#770)
* Initial commit after changing to go-fil-components/datatransfer
* blow away the datatransfer dir
* use go-fil-components master after its PR #1 was merged
* go mod tidy
use a package
updates after rebase with master
2019-10-30 02:42:16 +00:00
|
|
|
github.com/ipld/go-ipld-prime v0.0.2-0.20191108012745-28a82f04c785
|
2019-12-17 07:06:48 +00:00
|
|
|
github.com/libp2p/go-libp2p v0.4.2
|
|
|
|
github.com/libp2p/go-libp2p-circuit v0.1.4
|
2019-07-01 10:18:00 +00:00
|
|
|
github.com/libp2p/go-libp2p-connmgr v0.1.0
|
2019-11-19 23:31:03 +00:00
|
|
|
github.com/libp2p/go-libp2p-core v0.2.4
|
|
|
|
github.com/libp2p/go-libp2p-discovery v0.2.0
|
2019-07-01 10:18:00 +00:00
|
|
|
github.com/libp2p/go-libp2p-kad-dht v0.1.1
|
|
|
|
github.com/libp2p/go-libp2p-mplex v0.2.1
|
2019-08-15 02:30:21 +00:00
|
|
|
github.com/libp2p/go-libp2p-peer v0.2.0
|
2019-12-17 07:06:48 +00:00
|
|
|
github.com/libp2p/go-libp2p-peerstore v0.1.4
|
2019-07-01 10:53:58 +00:00
|
|
|
github.com/libp2p/go-libp2p-pnet v0.1.0
|
2019-11-19 23:31:03 +00:00
|
|
|
github.com/libp2p/go-libp2p-pubsub v0.2.3
|
2019-07-01 10:18:00 +00:00
|
|
|
github.com/libp2p/go-libp2p-quic-transport v0.1.1
|
2019-08-26 08:02:26 +00:00
|
|
|
github.com/libp2p/go-libp2p-record v0.1.1
|
2019-07-01 10:18:00 +00:00
|
|
|
github.com/libp2p/go-libp2p-routing-helpers v0.1.0
|
2019-12-17 07:06:48 +00:00
|
|
|
github.com/libp2p/go-libp2p-secio v0.2.1
|
2019-07-01 10:18:00 +00:00
|
|
|
github.com/libp2p/go-libp2p-tls v0.1.0
|
|
|
|
github.com/libp2p/go-libp2p-yamux v0.2.1
|
2019-07-12 09:59:18 +00:00
|
|
|
github.com/libp2p/go-maddr-filter v0.0.5
|
2019-11-15 16:38:56 +00:00
|
|
|
github.com/mattn/go-sqlite3 v1.12.0
|
2019-07-05 14:36:08 +00:00
|
|
|
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1
|
2019-11-19 23:31:03 +00:00
|
|
|
github.com/minio/sha256-simd v0.1.1
|
2019-07-10 17:09:57 +00:00
|
|
|
github.com/mitchellh/go-homedir v1.1.0
|
2019-07-18 14:01:39 +00:00
|
|
|
github.com/multiformats/go-base32 v0.0.3
|
2019-11-19 23:31:03 +00:00
|
|
|
github.com/multiformats/go-multiaddr v0.1.1
|
2019-11-21 04:04:47 +00:00
|
|
|
github.com/multiformats/go-multiaddr-dns v0.2.0
|
2019-12-17 07:06:48 +00:00
|
|
|
github.com/multiformats/go-multiaddr-net v0.1.1
|
2019-12-14 17:04:02 +00:00
|
|
|
github.com/multiformats/go-multihash v0.0.10
|
2019-12-19 20:13:17 +00:00
|
|
|
github.com/multiformats/go-varint v0.0.2
|
2019-08-19 22:38:32 +00:00
|
|
|
github.com/opentracing/opentracing-go v1.1.0
|
2019-08-09 21:41:50 +00:00
|
|
|
github.com/polydawn/refmt v0.0.0-20190809202753-05966cbd336a
|
2020-01-08 05:42:07 +00:00
|
|
|
github.com/prometheus/common v0.2.0
|
2019-08-26 08:02:26 +00:00
|
|
|
github.com/stretchr/testify v1.4.0
|
2019-08-29 23:18:26 +00:00
|
|
|
github.com/whyrusleeping/bencher v0.0.0-20190829221104-bb6607aa8bba
|
2019-12-16 23:44:14 +00:00
|
|
|
github.com/whyrusleeping/cbor-gen v0.0.0-20191216205031-b047b6acb3c0
|
2019-07-01 10:18:00 +00:00
|
|
|
github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7
|
2019-07-05 14:36:08 +00:00
|
|
|
github.com/whyrusleeping/pubsub v0.0.0-20131020042734-02de8aa2db3d
|
2019-12-19 21:06:25 +00:00
|
|
|
go.opencensus.io v0.22.2
|
2019-07-15 14:14:54 +00:00
|
|
|
go.uber.org/dig v1.7.0 // indirect
|
2019-06-29 09:19:06 +00:00
|
|
|
go.uber.org/fx v1.9.0
|
2019-07-15 14:14:54 +00:00
|
|
|
go.uber.org/goleak v0.10.0 // indirect
|
2020-01-02 19:08:49 +00:00
|
|
|
go.uber.org/multierr v1.4.0
|
2019-10-05 15:59:35 +00:00
|
|
|
go.uber.org/zap v1.10.0
|
2019-07-15 14:14:54 +00:00
|
|
|
go4.org v0.0.0-20190313082347-94abd6928b1d // indirect
|
2019-11-05 03:42:13 +00:00
|
|
|
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
|
2019-12-16 23:44:14 +00:00
|
|
|
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
|
2019-10-02 17:20:30 +00:00
|
|
|
gopkg.in/cheggaaa/pb.v1 v1.0.28
|
2019-06-25 11:42:17 +00:00
|
|
|
gopkg.in/urfave/cli.v2 v2.0.0-20180128182452-d3ae77c26ac8
|
2019-09-16 12:10:51 +00:00
|
|
|
gotest.tools v2.2.0+incompatible
|
2019-07-08 14:41:29 +00:00
|
|
|
launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect
|
2019-06-25 11:42:17 +00:00
|
|
|
)
|
2019-07-19 11:56:18 +00:00
|
|
|
|
2019-09-16 18:39:35 +00:00
|
|
|
replace github.com/golangci/golangci-lint => github.com/golangci/golangci-lint v1.18.0
|
|
|
|
|
2019-11-27 01:46:17 +00:00
|
|
|
replace github.com/filecoin-project/filecoin-ffi => ./extern/filecoin-ffi
|