- 12 Oct, 2016 1 commit
-
-
Jeromy authored
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>
-
- 10 Oct, 2016 1 commit
-
-
Jeromy authored
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>
-
- 08 Oct, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 06 Oct, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 29 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 26 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 10 Sep, 2016 1 commit
-
-
George Antoniadis authored
License: MIT Signed-off-by: George Antoniadis <george@noodles.gr>
-
- 09 Sep, 2016 1 commit
-
-
George Antoniadis authored
License: MIT Signed-off-by: George Antoniadis <george@noodles.gr>
-
- 06 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 04 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 03 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 02 Sep, 2016 1 commit
-
-
mateon1 authored
License: MIT Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
-
- 26 Aug, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 24 Aug, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 04 Aug, 2016 1 commit
-
-
Jeromy authored
race detector picked up a minor race condition, Since loop iteration reuses the same local variable, its not safe to take its address and use it concurrently. The fix is to rebind the variable into a controlled scope (creating a new variable) and taking the address of that to pass outwards. License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 24 Jun, 2016 1 commit
-
-
Jakub Sztandera authored
* Update golog in go-ipfs License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p-secio for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p-crypto for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p-peer for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Import peersore, it wasn't imported License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update peerstore License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update peer License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update secio License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 09 Jun, 2016 1 commit
-
-
Jakub Sztandera authored
https://github.com/ipfs/go-log/pull/3 License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 01 Jun, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 17 May, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 10 May, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 05 May, 2016 1 commit
-
-
Kevin Atkinson authored
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
-
- 04 May, 2016 1 commit
-
-
Hector Sanjuan authored
License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
-
- 27 Apr, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 13 Feb, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 30 Jan, 2016 2 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 12 Jan, 2016 3 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 05 Nov, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 27 Oct, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 18 Oct, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 03 Oct, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 15 Sep, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 09 Sep, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 04 Aug, 2015 1 commit
-
-
Juan Batiz-Benet authored
this PR greatly speeds up providing and add. (1) Instead of idling workers, we move to a ratelimiter-based worker. We put this max at 512, so that means _up to_ 512 goroutines. This is very small load on the node, as each worker is providing to the dht, which means mostly waiting. It DOES put a large load on the DHT. but i want to try this out for a while and see if it's a problem. We can decide later if it is a problem for the network (nothing stops anyone from re-compiling, but the defaults of course matter). (2) We add a buffer size for provideKeys, which means that we block the add process much less. this is a very cheap buffer, as it only stores keys (it may be even cheaper with a lock + ring buffer instead of a channel...). This makes add blazing fast-- it was being rate limited by providing. Add should not be ratelimited by providing (much, if any) as the user wants to just store the stuff in the local node's repo. This buffer is initially set to 4096, which means: 4096 * keysize (~258 bytes + go overhead) ~ 1-1.5MB this buffer only last a few sec to mins, and is an ok thing to do for the sake of very fast adds. (this could be a configurable paramter, certainly for low-mem footprint use cases). At the moment this is not much, compared to block sizes. (3) We make the providing EventBegin() + Done(), so that we can track how long a provide takes, and we can remove workers as they finish in bsdash and similar tools. License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
-
- 07 Jul, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 01 Jun, 2015 1 commit
-
-
Jeromy authored
-
- 30 May, 2015 2 commits
-
-
Jeromy authored
-
Jeromy authored
This PR moves the addition of new blocks to our wantlist (and their subsequent broadcast to the network) outside of the clientWorker loop. This allows blocks to more quickly propogate to peers we are already connected to, where before we had to wait for the previous findProviders call in clientworker to complete before we could notify our partners of the next blocks that we want. I then changed the naming of the clientWorker and related variables to be a bit more appropriate to the model. Although the clientWorker (now named providerConnector) feels a bit awkward and should probably be changed. fix test assumption
-