ipfs-cluster/go.mod

82 lines
3.3 KiB
Modula-2
Raw Normal View History

2019-03-08 01:44:07 +00:00
module github.com/ipfs/ipfs-cluster
require (
2019-04-29 16:57:13 +00:00
contrib.go.opencensus.io/exporter/jaeger v0.1.0
contrib.go.opencensus.io/exporter/prometheus v0.1.0
2019-03-08 01:44:07 +00:00
github.com/blang/semver v3.5.1+incompatible
2019-07-04 17:48:59 +00:00
github.com/btcsuite/btcd v0.0.0-20190629003639-c26ffa870fd8 // indirect
github.com/dgraph-io/badger v1.6.0
2019-03-08 01:44:07 +00:00
github.com/dustin/go-humanize v1.0.0
github.com/gogo/protobuf v1.2.1
Consensus: add new "crdt" consensus component This adds a new "crdt" consensus component using go-ds-crdt. This implies several refactors to fully make cluster consensus-component independent: * Delete mapstate and fully adopt dsstate (after people have migrated). * Return errors from state methods rather than ignoring them. * Add a new "datastore" modules so that we can configure datastores in the main configuration like other components. * Let the consensus components fully define the "state.State". Thus, they do not receive the state, they receive the storage where we put the state (a go-datastore). * Allow to customize how the monitor component obtains Peers() (the current peerset), including avoiding using the current peerset. At the moment the crdt consensus uses the monitoring component to define the current peerset. Therefore the monitor component cannot rely on the consensus component to produce a peerset. * Re-factor/re-implementation of "ipfs-cluster-service state" operations. Includes the dissapearance of the "migrate" one. The CRDT consensus component defines creates a crdt-datastore (with ipfs-lite) and uses it to intitialize a dssate. Thus the crdt-store is elegantly wrapped. Any modifications to the state get automatically replicated to other peers. We store all the CRDT DAG blocks in the local datastore. The consensus components only expose a ReadOnly state, as any modifications to the shared state should happen through them. DHT and PubSub facilities must now be created outside of Cluster and passed in so they can be re-used by different components.
2019-02-20 14:24:25 +00:00
github.com/golang/protobuf v1.3.1
github.com/google/uuid v1.1.1
2019-07-04 17:48:59 +00:00
github.com/gorilla/mux v1.7.3
github.com/hashicorp/go-hclog v0.9.2
github.com/hashicorp/raft v1.1.0
github.com/hashicorp/raft-boltdb v0.0.0-20190605210249-ef2e128ed477
2019-07-04 17:48:59 +00:00
github.com/hsanjuan/ipfs-lite v0.1.4
github.com/imdario/mergo v0.3.7
2019-03-08 01:44:07 +00:00
github.com/ipfs/go-block-format v0.0.2
2019-05-16 10:37:00 +00:00
github.com/ipfs/go-cid v0.0.2
2019-04-29 15:26:22 +00:00
github.com/ipfs/go-datastore v0.0.5
2019-07-04 17:48:59 +00:00
github.com/ipfs/go-ds-badger v0.0.5
github.com/ipfs/go-ds-crdt v0.1.0
2019-03-08 01:44:07 +00:00
github.com/ipfs/go-fs-lock v0.0.1
github.com/ipfs/go-ipfs-api v0.0.1
github.com/ipfs/go-ipfs-chunker v0.0.1
github.com/ipfs/go-ipfs-ds-help v0.0.1
2019-04-29 15:26:22 +00:00
github.com/ipfs/go-ipfs-files v0.0.3
2019-03-08 01:44:07 +00:00
github.com/ipfs/go-ipfs-posinfo v0.0.1
github.com/ipfs/go-ipfs-util v0.0.1
2019-05-16 10:37:00 +00:00
github.com/ipfs/go-ipld-cbor v0.0.2
github.com/ipfs/go-ipld-format v0.0.2
2019-03-08 01:44:07 +00:00
github.com/ipfs/go-log v0.0.1
github.com/ipfs/go-merkledag v0.1.0
github.com/ipfs/go-mfs v0.1.1
github.com/ipfs/go-path v0.0.7
github.com/ipfs/go-unixfs v0.1.0
github.com/kelseyhightower/envconfig v1.4.0
2019-07-04 17:48:59 +00:00
github.com/lanzafame/go-libp2p-ocgorpc v0.1.1
github.com/libp2p/go-eventbus v0.0.3 // indirect
github.com/libp2p/go-libp2p v0.2.0
github.com/libp2p/go-libp2p-connmgr v0.1.0
2019-03-08 01:44:07 +00:00
github.com/libp2p/go-libp2p-consensus v0.0.1
2019-07-04 17:48:59 +00:00
github.com/libp2p/go-libp2p-core v0.0.6
github.com/libp2p/go-libp2p-crypto v0.1.0
github.com/libp2p/go-libp2p-gorpc v0.1.0
2019-07-04 17:48:59 +00:00
github.com/libp2p/go-libp2p-gostream v0.1.2
github.com/libp2p/go-libp2p-host v0.1.0
2019-07-04 17:48:59 +00:00
github.com/libp2p/go-libp2p-http v0.1.3
github.com/libp2p/go-libp2p-interface-pnet v0.1.0
2019-07-04 17:48:59 +00:00
github.com/libp2p/go-libp2p-kad-dht v0.1.1
github.com/libp2p/go-libp2p-peer v0.2.0
2019-06-23 08:57:45 +00:00
github.com/libp2p/go-libp2p-peerstore v0.1.2-0.20190621130618-cfa9bb890c1a
github.com/libp2p/go-libp2p-pnet v0.1.0
github.com/libp2p/go-libp2p-protocol v0.1.0
github.com/libp2p/go-libp2p-pubsub v0.1.0
2019-07-04 17:48:59 +00:00
github.com/libp2p/go-libp2p-raft v0.1.2
github.com/libp2p/go-libp2p-swarm v0.1.1 // indirect
github.com/libp2p/go-ws-transport v0.1.0
2019-05-21 08:38:37 +00:00
github.com/multiformats/go-multiaddr v0.0.4
2019-03-08 01:44:07 +00:00
github.com/multiformats/go-multiaddr-dns v0.0.2
github.com/multiformats/go-multiaddr-net v0.0.1
github.com/multiformats/go-multicodec v0.1.6
github.com/multiformats/go-multihash v0.0.6
Consensus: add new "crdt" consensus component This adds a new "crdt" consensus component using go-ds-crdt. This implies several refactors to fully make cluster consensus-component independent: * Delete mapstate and fully adopt dsstate (after people have migrated). * Return errors from state methods rather than ignoring them. * Add a new "datastore" modules so that we can configure datastores in the main configuration like other components. * Let the consensus components fully define the "state.State". Thus, they do not receive the state, they receive the storage where we put the state (a go-datastore). * Allow to customize how the monitor component obtains Peers() (the current peerset), including avoiding using the current peerset. At the moment the crdt consensus uses the monitoring component to define the current peerset. Therefore the monitor component cannot rely on the consensus component to produce a peerset. * Re-factor/re-implementation of "ipfs-cluster-service state" operations. Includes the dissapearance of the "migrate" one. The CRDT consensus component defines creates a crdt-datastore (with ipfs-lite) and uses it to intitialize a dssate. Thus the crdt-store is elegantly wrapped. Any modifications to the state get automatically replicated to other peers. We store all the CRDT DAG blocks in the local datastore. The consensus components only expose a ReadOnly state, as any modifications to the shared state should happen through them. DHT and PubSub facilities must now be created outside of Cluster and passed in so they can be re-used by different components.
2019-02-20 14:24:25 +00:00
github.com/pkg/errors v0.8.1
2019-06-23 08:57:45 +00:00
github.com/prometheus/client_golang v1.0.0
2019-07-04 17:48:59 +00:00
github.com/prometheus/common v0.6.0 // indirect
github.com/prometheus/procfs v0.0.3 // indirect
2019-03-08 01:44:07 +00:00
github.com/rs/cors v1.6.0
2019-07-04 17:48:59 +00:00
github.com/ugorji/go/codec v1.1.7
2019-03-08 01:44:07 +00:00
github.com/urfave/cli v1.20.0
github.com/zenground0/go-dot v0.0.0-20180912213407-94a425d4984e
go.opencensus.io v0.22.0
2019-07-04 17:48:59 +00:00
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 // indirect
golang.org/x/exp v0.0.0-20190627132806-fd42eb6b336f // indirect
golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9 // indirect
gonum.org/v1/gonum v0.0.0-20190704103327-70ddf0df3d53
gonum.org/v1/plot v0.0.0-20190615073203-9aa86143727f
google.golang.org/api v0.7.0 // indirect
google.golang.org/genproto v0.0.0-20190701230453-710ae3a149df // indirect
2019-03-08 01:44:07 +00:00
)