Jeromy
43d668331c
add config option to disable bandwidth metrics
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-11 10:31:24 -08:00
Jeromy
7fbaae49be
update to go-libp2p 4.1.0
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-10 17:38:10 -08:00
David Brennan
8efdb4f1df
Put config keys in proper case
...
License: MIT
Signed-off-by: David Brennan <david.n.brennan@gmail.com>
2016-11-07 08:13:56 +01:00
Jeromy
25d9f8afd1
update to libp2p 4.0.4
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-05 21:44:36 -07:00
Jeromy
795b3cc4c7
add muxer type to json output
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-04 11:43:17 -07:00
Jeromy
4a029c7374
add stream listings as swarm peers flag
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-04 10:52:11 -07:00
Jeromy
ec21220907
update go-libp2p
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-03 20:06:32 -07:00
Kevin Atkinson
ffe9d7dae4
Separate out the G.C. Locking from the Blockstore interface.
...
Factored out of #3257 (Add support for multiple blockstores).
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-02 21:56:34 -04:00
Lars Gierth
02aa6b4714
gateway: bring back dir-index-html assets
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-03 00:38:32 +01:00
Jeromy Johnson
4b793f9194
Merge pull request #3259 from ipfs/kevina/local-mode
...
Distinguish between Offline and Local Mode.
2016-11-02 14:04:36 -07:00
Jeromy Johnson
437cc7fa78
Merge pull request #2911 from ipfs/feature/ifps-capitalize
...
docs: decapitalize IPFS where possible
2016-11-02 13:20:51 -07:00
Jeromy Johnson
c408878454
Merge pull request #2915 from ipfs/feature/2293-error-codes
...
Added note about error codes
2016-11-02 13:20:20 -07:00
Jeromy
d2f57c4cdf
dht: update to dht code with fixed GetClosestPeers
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-01 15:37:51 -07:00
Jeromy
afce683eae
update go-libp2p-swarm with deadlock fixes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-30 19:16:28 -07:00
Jeromy Johnson
634005a1ab
Merge pull request #3324 from ipfs/feat/block-cid-codec
...
allow cid format selection in block put command
2016-10-29 21:59:19 -07:00
Jeromy Johnson
8d4fd80fc1
Merge pull request #3325 from ipfs/feat/cbor-ipld
...
Implement cbor ipld nodes and a first pass at the 'dag' command
2016-10-29 21:59:06 -07:00
Jeromy
c6a273fd05
add more helptext to dag commands
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-29 18:03:25 -07:00
Jeromy
f68e1843f4
allow cid format selection in block put command
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-28 19:03:14 -07:00
Jeromy
4c5a5c8a8f
more cleanup, update cboripld package
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-28 12:56:47 -07:00
Richard Littauer
9843e86258
Changed so only explicit ipfs cli commands are lowercased
...
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:55:13 -07:00
Richard Littauer
9aaa743a51
docs: decapitalize IPFS where possible
...
Tried to check all instances of IPFS and make sure they werent referring to the CLI tool. See #2910 .
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:54:36 -07:00
Jeromy
f7d3f61673
clean up some code, update cbor package, and add tests
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-27 15:49:41 -07:00
Jeromy
67c2a4ec14
make path resolver no longer require whole node for construction
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 15:04:44 -07:00
Jeromy
6b797f10a4
Implement cbor ipld nodes and a first pass at the 'dag' command
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 12:07:28 -07:00
Jeromy
eac13abaec
update to new cid and ipld node packages
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 09:54:04 -07:00
Kevin Atkinson
65ffff2418
Add tests that PosInfo() is getting set.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-24 16:37:57 -04:00
Kevin Atkinson
73f9a90cbf
Create a FilestoreNode object to carry PosInfo
...
When doing a filestore add, we wrap whatever nodes we create in a
FilestoreNode object and add the PosInfo to it so that the filestore
will be able to extract information as needed.
Edited by whyrusleeping
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-24 16:30:45 -04:00
Jeromy
8ce9963289
fix add/cat of small files
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-18 15:26:44 -07:00
Jeromy
ded60a7356
unixfs: allow use of raw merkledag nodes for unixfs files
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-17 16:51:39 -07:00
Jeromy
48f7e14277
extract node interface
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-14 07:53:48 -07:00
Jeromy
01aee44679
merkledag: change 'Node' to be an interface
...
Also change existing 'Node' type to 'ProtoNode' and use that most
everywhere for now. As we move forward with the integration we will try
and use the Node interface in more places that we're currently using
ProtoNode.
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 08:16:03 -07:00
Jeromy Johnson
015d476c4f
Merge pull request #3297 from ipfs/feat/bitswap-cid
...
bitswap: protocol extension to handle cids
2016-10-12 10:13:30 -04:00
Jeromy
affb06d558
run gofmt
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 07:00:38 -07:00
Kevin Atkinson
dfd5e9aa1e
Make BlockService an interface.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-11 14:50:06 -04:00
Jeromy
f4d7369c4a
bitswap: protocol extension to handle cids
...
This change adds the /ipfs/bitswap/1.1.0 protocol. The new protocol
adds a 'payload' field to the protobuf message and deprecates the
existing 'blocks' field. The 'payload' field is an array of pairs of cid
prefixes and block data. The cid prefixes are used to ensure the correct
codecs and hash functions are used to handle the block on the receiving
end.
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-10 08:19:31 -07:00
Jeromy
282bdc4816
cid: integrate cid into bitswap and blockstores
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-08 12:14:58 -07:00
Kevin Atkinson
772164cc7a
Fix EnumerateChildren & hasChild to take a *cid.Cid instead of []*mdag.Link
...
Author: Kevin Atkinson <k@kevina.org>
Fix EnumerateChildren & hasChild to take a *cid.Cid instead of []*mdag.Link
Author: Jeromy Johnson <why@ipfs.io>
make FetchGraph use a cid
pin: fix TestPinRecursiveFail
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-06 11:55:31 -04:00
Kevin Atkinson
721df367a2
Don't use a separate LinkService for DAGService.GetLinks()
...
Instead make LinkService a part of DAGService. The LinkService is now
simply an interface that DAGService implements. Also provide a
GetOfflineLinkService() method that the GC uses to get an offline
instance.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-06 11:52:39 -04:00
Kevin Atkinson
3899194cb0
Add DAGService.GetLinks() method and use it in the GC and elsewhere.
...
This method will use the (also new) LinkService if it is available to
retrieving just the links for a MerkleDAG without necessary having to
retrieve the underlying block.
For now the main benefit is that the pinner will not break when a block
becomes invalid due to a change in the backing file. This is possible
because the metadata for a block (that includes the Links) is stored
separately and thus always available even if the backing file changes.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-06 11:38:41 -04:00
Jeromy
1f9ec4e3ed
update to libp2p 4.0.1 and propogate other changes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
Jeromy Johnson
429decc906
Merge pull request #3269 from ipfs/feat/dht-client-mode
...
add experimental dht client mode flag
2016-10-01 11:38:08 -07:00
Jeromy
91db6f31c2
update floodsub version 0.6.2
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:33:00 -07:00
Jeromy
49ca3af3ff
update to floodsub 0.6.1
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:26:20 -07:00
Jeromy
360f29fade
send discovery off into its own goroutine
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:25:59 -07:00
Jeromy
44c9bb803f
add 'pubsub peers' to list topics
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:25:59 -07:00
Jeromy
c40b3540c4
add 'pubsub ls' to list topics
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:25:31 -07:00
Jeromy
009301bf7f
hide pubsub behind feature flag
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:25:10 -07:00
Jeromy
ff770fadc8
add discovery option, and update to floodsub 0.4.2
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:24:24 -07:00
Jeromy
7ccf96a72f
remove debug log
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:24:24 -07:00
Jeromy
e567b785a0
update floodsub dep
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:24:24 -07:00