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
|
2020-02-12 19:44:35 +00:00
|
|
|
github.com/coreos/go-systemd/v22 v22.0.0
|
2019-12-11 02:06:28 +00:00
|
|
|
github.com/docker/go-units v0.4.0
|
2020-03-03 23:55:57 +00:00
|
|
|
github.com/filecoin-project/chain-validation v0.0.6-0.20200303230205-30309cc5d8eb
|
2020-02-26 22:54:34 +00:00
|
|
|
github.com/filecoin-project/filecoin-ffi v0.0.0-20200226205820-4da0bccccefb
|
2020-02-18 07:15:30 +00:00
|
|
|
github.com/filecoin-project/go-address v0.0.2-0.20200218010043-eb9bb40ed5be
|
2020-02-04 22:19:05 +00:00
|
|
|
github.com/filecoin-project/go-amt-ipld/v2 v2.0.1-0.20200131012142-05d80eeccc5e
|
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-02-08 02:18:32 +00:00
|
|
|
github.com/filecoin-project/go-fil-commcid v0.0.0-20200208005934-2b8bd03caca5
|
2020-03-04 02:19:28 +00:00
|
|
|
github.com/filecoin-project/go-fil-markets v0.0.0-20200304003055-d449a980d4bd
|
2020-02-11 01:10:50 +00:00
|
|
|
github.com/filecoin-project/go-padreader v0.0.0-20200210211231-548257017ca6
|
2020-02-26 22:54:34 +00:00
|
|
|
github.com/filecoin-project/go-paramfetch v0.0.2-0.20200218225740-47c639bab663
|
2020-02-28 19:31:09 +00:00
|
|
|
github.com/filecoin-project/go-sectorbuilder v0.0.2-0.20200228181617-f00e2c4cc050
|
2020-01-14 02:04:33 +00:00
|
|
|
github.com/filecoin-project/go-statestore v0.1.0
|
2020-03-03 01:33:18 +00:00
|
|
|
github.com/filecoin-project/specs-actors v0.0.0-20200302223606-0eaf97b10aaf
|
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
|
2020-02-21 20:56:30 +00:00
|
|
|
github.com/google/uuid v1.1.1
|
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
|
2020-02-17 05:51:18 +00:00
|
|
|
github.com/hashicorp/golang-lru v0.5.4
|
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
|
2020-02-21 19:27:29 +00:00
|
|
|
github.com/ipfs/go-car v0.0.3-0.20200221191037-3762780fa84e
|
2020-02-08 02:18:32 +00:00
|
|
|
github.com/ipfs/go-cid v0.0.5
|
2020-01-08 18:56:45 +00:00
|
|
|
github.com/ipfs/go-datastore v0.3.1
|
2020-01-23 20:46:32 +00:00
|
|
|
github.com/ipfs/go-ds-badger2 v0.0.0-20200123200730-d75eb2678a5d
|
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
|
2020-02-04 22:19:05 +00:00
|
|
|
github.com/ipfs/go-hamt-ipld v0.0.15-0.20200204200533-99b8553ef242
|
2020-02-27 22:17:08 +00:00
|
|
|
github.com/ipfs/go-ipfs-blockstore v0.1.3
|
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
|
2020-02-04 22:19:05 +00:00
|
|
|
github.com/ipfs/go-ipld-cbor v0.0.5-0.20200204214505-252690b78669
|
2019-07-05 14:36:08 +00:00
|
|
|
github.com/ipfs/go-ipld-format v0.0.2
|
2020-01-09 20:50:45 +00:00
|
|
|
github.com/ipfs/go-log v1.0.1
|
2020-01-08 21:44:54 +00:00
|
|
|
github.com/ipfs/go-log/v2 v2.0.2
|
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
|
2019-12-10 23:42:36 +00:00
|
|
|
github.com/lib/pq v1.2.0
|
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
|
2020-01-22 23:02:17 +00:00
|
|
|
github.com/libp2p/go-libp2p-core v0.3.0
|
2019-11-19 23:31:03 +00:00
|
|
|
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
|
2020-02-17 05:51:18 +00:00
|
|
|
github.com/libp2p/go-libp2p-pubsub v0.2.6
|
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-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
|
2020-01-22 23:02:17 +00:00
|
|
|
github.com/multiformats/go-multiaddr v0.2.0
|
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
|
2020-02-08 02:18:32 +00:00
|
|
|
github.com/multiformats/go-multihash v0.0.13
|
|
|
|
github.com/multiformats/go-varint v0.0.5
|
2019-08-19 22:38:32 +00:00
|
|
|
github.com/opentracing/opentracing-go v1.1.0
|
2020-02-23 22:35:29 +00:00
|
|
|
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829
|
2020-01-24 20:19:52 +00:00
|
|
|
github.com/prometheus/common v0.4.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
|
2020-02-23 00:47:47 +00:00
|
|
|
github.com/whyrusleeping/cbor-gen v0.0.0-20200222160900-51052a1e8191
|
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
|
2020-01-08 20:31:35 +00:00
|
|
|
go.uber.org/atomic v1.5.1 // indirect
|
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
|
2020-01-08 20:31:35 +00:00
|
|
|
go.uber.org/zap v1.13.0
|
2019-07-15 14:14:54 +00:00
|
|
|
go4.org v0.0.0-20190313082347-94abd6928b1d // indirect
|
2020-01-08 20:31:35 +00:00
|
|
|
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect
|
|
|
|
golang.org/x/sys v0.0.0-20200107162124-548cf772de50 // indirect
|
2019-11-05 03:42:13 +00:00
|
|
|
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
|
2020-01-08 20:31:35 +00:00
|
|
|
golang.org/x/tools v0.0.0-20200108195415-316d2f248479 // indirect
|
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
|
2020-02-08 00:18:14 +00:00
|
|
|
|
|
|
|
replace github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.0.0
|