1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-20 10:42:11 +08:00

9382 Commits

Author SHA1 Message Date
a0ad8cfd5c p2p: Optimize registry, move stream stuff around
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-11 04:57:40 +02:00
a037ae6c93 p2p: cleanup listening logic, make dial act like ssh -L
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-11 04:57:29 +02:00
2280d6692c modify log level and update note
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-11 10:00:24 +08:00
eb45644104 Merge pull request #4804 from ipfs/feat/coreapi/dht
coreapi: DHT API
2018-09-11 01:13:37 +00:00
86f9eb73c3 coreapi: dht: remove option prefix
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:40:07 -07:00
7139b83666 switch to StreamingSet in cidutil
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-10 17:40:07 -07:00
db646d044d coreapi: dht: make tests less falky
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:38:56 -07:00
4b252a200f coreapi: dht: use shared set in provideKeysRec
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:38:56 -07:00
e1bdf6cd28 move streaming set to thirdparty
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:38:56 -07:00
9fe843f156 coreapi dht: add a note on name change
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:37:31 -07:00
77ceb7546b coreapi: dht: refactor options after rebase
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:37:30 -07:00
906c747064 coreapi: dht: simplify the implementation
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:37:30 -07:00
bda76a1874 coreapi: update dht imports after rebase
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:36:00 -07:00
6cc86c11e8 coreapi: dht tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:36:00 -07:00
d2e6a61d1e coreapi: test using mock swarm
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:36:00 -07:00
36168542c9 coreapi: implement dht api
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:33:55 -07:00
a63e224e24 coreapi: dht interface
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-10 17:33:55 -07:00
82204d1de3 Merge pull request #5331 from ipfs/refactor/coreapi/block
block cmd: Use coreapi
2018-09-11 00:29:55 +00:00
3d1b70a1e2 Merge pull request #5444 from overbool/fix/goroutine-leaks-in-commands
fix(commands): goroutine leaks in ping.go
2018-09-10 20:34:42 +00:00
e02f044711 Merge pull request #5446 from ipfs/docs/link-package-tables
link to go-{libp2p,ipld} package tables
2018-09-10 17:25:02 +00:00
b5f393ff46 link to go-{libp2p,ipld} package tables
addresses https://github.com/ipfs/go-ipfs/pull/5395#issuecomment-417215277

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-10 09:31:16 -07:00
1b87e9ddda Merge pull request #5395 from hacdias/master
feat: use package-table
2018-09-10 16:27:17 +00:00
c2bb1ad796 add warning when no bootstrap in config
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-10 20:20:21 +08:00
a26228a73f fix(commands): goroutine leaks in ping.go
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-09 19:08:42 +08:00
3a3e8d1b2a Merge pull request #5442 from ipfs/gx/update-peerstore
gx: update peerstore
2018-09-08 18:39:29 +00:00
a1419a4961 fix peerstore constructor calls
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-07 23:48:49 -07:00
a6e617f55c gx: update peerstore
Also:

* Updates go-floodsub to fix a data race.
* Updates golang-lru

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-07 23:40:08 -07:00
61641fe3e9 Merge pull request #5437 from ipfs/fix/5436
docs: add some minimal read-only API documentation
2018-09-07 17:38:36 +00:00
94e2f2c709 Merge pull request #5434 from ipfs/docs/fix-release-process
fix order of events in the release process
2018-09-07 17:23:14 +00:00
2b87a1b12b Merge pull request #5439 from overbool/fix/goroutine-leaks
fix(commands): fix filestore.go goroutine leak
2018-09-07 16:44:05 +00:00
725eefaeb0 fix(commands): fix filestore.go goroutine leak
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-07 23:12:50 +08:00
573bada803 Merge pull request #5427 from kjzz/fix-goroutine
fix goroutine leaks in filestore.go
2018-09-07 00:54:51 +00:00
f21b4cd30a docs: add some minimal read-only API documentation
fixes #5436

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-06 17:47:11 -07:00
ed256a949c fix order of events in the release process
We need to gx release *before* tagging.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-06 13:43:55 -07:00
bdbb63db85 Merge pull request #5428 from marten-seemann/add-quic-link
add missing link to the QUIC experiment
2018-09-06 18:27:04 +00:00
eabd6a0ad4 improve gateway options test
Unfortunately, this doesn't really test the *actual* gateway config as it uses
the options specified by the test. However, it's a step in the right direction.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-06 11:00:17 -07:00
bacb5b004d Merge pull request #5424 from swedneck/gateway-version-fix
move VersionOption after GatewayOption to fix #5422
2018-09-06 17:48:21 +00:00
9898ba9309 update test and do not overwrite in sharness test
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-07 00:37:56 +08:00
76e8190a38 drop --name test file and update test case
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-06 23:58:55 +08:00
496f3b55d8 add missing link to the QUIC experiment
License: MIT
Signed-off-by: Marten Seemann <martenseemann@gmail.com>
2018-09-06 20:30:30 +07:00
ad27614a66 add sharness tests for --name option
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-06 16:08:19 +08:00
2dca8c2f96 Merge pull request #5426 from kjzz/zkj/refactor
object:refactor data encode error
2018-09-05 22:23:09 +00:00
7a9c7b4dd3 fix goroutine leaks in filestore.go
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-05 21:57:45 +08:00
0f4e84def4 use fileinfo.abs to judge the file stdin
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-05 21:55:39 +08:00
dad9bdd6f4 remove ErrObejctTooLarge error
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-05 17:50:28 +08:00
b61dae36f3 use file fullpath to judge file name
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-05 14:54:03 +08:00
47c4dcb2b0 object:refactor data encode error
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-05 14:16:35 +08:00
a86fea9545 change order according to Stebalien's suggestion
License: MIT
Signed-off-by: Tim Stahel <git@swedneck.xyz>
2018-09-05 00:06:04 +02:00
7c49dd16d0 move VersionOption after GatewayOption to fix #5422
License: MIT
Signed-off-by: Tim Stahel <git@swedneck.xyz>
2018-09-04 15:35:28 +02:00
19e3c127ee drop wrap check and modify parameter name
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-03 11:02:27 +08:00