4f53736430
gx: update yamux and refmt
...
* yamux: fix memory leak.
* refmt: obey the "empty" tag.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-12 16:15:40 +01:00
8117a2bcee
gx: update go-buffer-pool
...
Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn
`[]byte` into `interface{}`. Apparently, we've never done this correctly we just
never noticed because we never really used buffer pools extensively.
However, since migrating yamux to a buffer-pool backed buffer, this started
showing up in allocation profiles.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-10 14:11:31 +01:00
098933ade4
gx: update stuff
...
* go-datastore and friends: GetSize
* badger: new release, fewer allocations
* go-mplex: send fewer packets
* go-bitswap: pack multiple blocks in a single message, fewer allocations
* go-buffer-pool: replace the buffer pool from go-msgio
* yamux: fixed data race and uses go-buffer-pool for stream read-buffers to
reduce memory and allocations.
* go-libp2p-secio: get rid of a hot-spot allocation
* go-libp2p-peerstore: reduced allocations (at the cost of some memory)
More?
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-05 14:48:44 -07:00
d3f3afa5de
coreapi pubsub: add tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:49:36 -07:00
51bb9d6843
coreapi: implement pubsub api
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:49:36 -07:00
3d3bedcf41
coreapi: pubsub interface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:49:36 -07:00
676403be19
Merge remote-tracking branch 'origin/master' into feat/coreapi/unixfs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:45:37 +02:00
35e8d6fba1
update unixfs inline option comment to give us room to change things
...
(addressing CR)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-04 21:12:53 -07:00
e8b137f885
coreapi name: add some missing options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 22:11:17 +02:00
4b1f733864
coreapi unixfs: fix inline doc
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 20:39:43 +02:00
d51ce96f55
coreapi unixfs: filestore opts
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 01:24:57 +02:00
a81ec29baa
coreapi unixfs: progress events
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 01:00:26 +02:00
f9cf84965d
coreapi unixfs: stdin-name option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 23:17:18 +02:00
3e754d64fb
coreapi unixfs: hidden opiton
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 22:49:42 +02:00
18fec6eb5f
coreapi unixfs: wrap option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 22:30:45 +02:00
374fb00cc3
coreapi unixfs: separate option to enable inlining
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
9887a05e43
coreapi unixfs: docs on options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
679d60993d
coreapi unixfs: cleanup options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
49946c69c4
coreapi unixfs: pin/local/hash-only options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
6337e69ff7
coreapi unixfs: layout/chunker options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
041e55d706
coreapi unixfs: options for RawLeaves / Inline
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
c68ab5620a
coreapi unixfs: cid prefix options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
795d1ea540
coreapi unixfs: use fileAdder directly
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
0fd87de1a4
coreapi name: accept namesys options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-19 11:51:42 +02:00
f915730e68
resolve cmd: use coreapi
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-18 05:05:28 +02:00
d3174f4bd9
gx update and fix code to use new Cid type
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-09-11 22:21:04 -04: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
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
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
1f98f4b99c
coreapi: block: move option logic to options package
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-27 16:42:37 -07:00
9b925e0e65
coreapi: block: don't allow creation of invalid cidv0s
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-27 16:41:24 -07:00
656d7cc1a6
gx: update go-cid, go-libp2p-peer, go-ipfs-cmds, go-ipfs-cmdkit
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-21 17:39:56 -07:00
2450ddde81
gx: update go-cid
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 08:30:22 -07:00
075ecb09d0
Gx updates and fixes to use new cid.Builder interface.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-12 19:15:07 -04:00
36c6fb3530
commands: switch object commands to CoreAPI
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-01 13:37:05 +02:00
7ac229e286
coreapi: Pin option for Object.Put
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-01 13:36:11 +02:00
9a9979b193
update go-cid
...
alternative to #5243 that updates go-cid and all packages that depend on it
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-16 15:16:49 -07:00
85acad9a01
gx update go-log, sys, go-crypto
...
* go-log
* sys
* go-crypto
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
b290286dd7
misc: Fix a few typos
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:47:22 +02:00
12c3179614
coreapi: don't use underscores in opt reciever funcs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-25 14:09:59 +02:00
c354e19628
coreapi: use defined functions for pin type option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-25 13:58:29 +02:00
79f56c1831
coreapi: remove options from interfaces
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-24 23:25:11 +01:00
c8cfed5c84
coreapi: implement pin api
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 15:29:50 +01:00
064c194b4f
coreapi: pin draft
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 15:29:50 +01:00
e77b938161
coreapi: update block after update
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-02 22:57:54 +01:00
bdc9f6a96a
coreapi: implement block API
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-31 00:31:08 +01:00
219eae7614
coreapi: draft block API
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-31 00:31:08 +01:00
4d8b3c9bce
Merge pull request #4492 from ipfs/feat/coreapi/object
...
coreapi: Basic object API implementation
2018-01-30 13:14:06 -08:00
0377e49590
coreapi: object API tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-25 18:26:57 +01:00