- 29 Jun, 2017 3 commits
-
-
Steven Allen authored
For some reason, this was referenced but wasn't listed in packages.json. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Steven Allen authored
And updated related dependencies. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Steven Allen authored
We need to reference it from outside of this repo. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
- 01 Jun, 2017 1 commit
-
-
zramsay authored
License: MIT Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
-
- 31 May, 2017 1 commit
-
-
zramsay authored
License: MIT Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
-
- 30 May, 2017 1 commit
-
-
Lars Gierth authored
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 23 May, 2017 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 20 May, 2017 2 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 26 Apr, 2017 3 commits
-
-
dgrisham authored
Updated the `TestBitswapLedger*` tests and added assertions to check concrete values for ledgers (rather than just checking that two peers' ledgers match). The names for these tests were also changed from the previous commit, according to 's/BytesSent/Ledger/'. License: MIT Signed-off-by: David Grisham <dgrisham@mines.edu>
-
dgrisham authored
Tests were added to ensure that the bug fix in commit 000fbd25 was correct. The tests caught an error where a peer's ledger was not properly locked when updating it in the `MessageSent()` function. The appropriate calls to lock the ledger were made, and the tests successfully passed. License: MIT Signed-off-by: David Grisham <dgrisham@mines.edu>
-
dgrisham authored
When sending data to another user, the number of bytes sent to that user (saved by the corresponding Bitswap ledger) was not updated (it was always 0). This also meant that the debt ratio was also always 0. The function that updates the `BytesSent` value in the ledger, `MessageSent()`, was already implemented, however it was not called when the peer was sent data. To fix this, a call to `MessageSent()` was made in the `taskWorker()` function, which is where both the message in question and the Bitswap engine were available to make the call. `MessageSent()` requires the peer's ID and `BitSwapMessage` as its arguments, the latter of which had to be created by making a new `BitSwapMessage`, then the block being sent was added to the new message. Note that, similar to the analagous call to `MessageReceived()`, records *all* of the bytes sent to a particular user. At some point, both of these should be updated to only record the numbers of *useful* bytes sent and received between peers. License: MIT Signed-off-by: David Grisham <dgrisham@mines.edu>
-
- 20 Apr, 2017 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 29 Mar, 2017 1 commit
-
-
Andrew Chin authored
This will be a breaking change for anyone who is currently monitoring the `ipfs_bitswap_wanlist_total` prometheus stat License: MIT Signed-off-by: Andrew Chin <achin@eminence32.net>
-
- 24 Mar, 2017 1 commit
-
-
Hector Sanjuan authored
This has required changing the order of some parameters and adding HashOnRead to the Blockstore interface (which I have in turn added to all the wrapper implementations). License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
-
- 06 Mar, 2017 3 commits
-
-
Jeromy Johnson authored
update go-libp2p-kad-dht with getclosestpeers fix
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 02 Mar, 2017 4 commits
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 22 Feb, 2017 1 commit
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 12 Feb, 2017 2 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jakub Sztandera authored
This commit introduces non-recursive Makefile infrastructure that replaces current Makefile infrastructure. It also generally cleanups the Makefiles, separates them into nicer sub-modules and centralizes common operations into single definitions. It allows to depend on any target that is defined in the makefile, this means that for example `gx install` is called once when `make build test_expensive_sharness` is called instead of 4 or 5 times. It also makes the dependencies much cleaner and allows for reuse of modules. For example sharness coverage collection (WIP) uses sharness target with amended PATH, previously it might have been possible but not without wiring in the coverage collection into sharness make runner code. Yes, it is more complex but not much more. There are few rules that have to be followed and few complexities added but IMHO it is worth it. How to NR-make: 1. If make is to generate some file via a target, it MUST be defined in Rules.mk file in the directory of the target. 2. `Rules.mk` file MUST have `include mk/header.mk` statement as the first line and `include mk/footer.mk` statement as the last line (apart from project root `Rules.mk`). 3. It then MUST be included by the closest `Rules.mk` file up the directory tree. 4. Inside a `Rules.mk` special variable accessed as `$(d)` is defined. Its value is current directory, use it so if the `Rules.mk` file is moved in the tree it still works without a problem. Caution: this variable is not available in the recipe part and MUST NOT be used. Use name of the target or prerequisite to extract it if you need it. 5. Make has only one global scope, this means that name conflicts are a thing. Names SHOULD follow `VAR_NAME_$(d)` convention. There are exceptions from this rule in form of well defined global variables. Examples: General lists `TGT_BIN`, `CLEAN`; General targets: `TEST`, `COVERAGE`; General variables: `GOFLAGS`, `DEPS_GO`. 3. Any rules, definitions or variables that fit some family SHOULD be defined in `mk/$family.mk` file and included from project root `Rules.mk` License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 10 Jan, 2017 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 27 Dec, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 07 Dec, 2016 1 commit
-
-
David Dias authored
Add some comments so that I don't forget about these License: MIT Signed-off-by: David Dias <daviddias.p@gmail.com>
-
- 05 Dec, 2016 1 commit
-
-
Jeromy Johnson authored
bitswap: add a deadline to sendmsg calls
-
- 02 Dec, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 30 Nov, 2016 2 commits
-
-
Jeromy Johnson authored
bitswap: increase wantlist resend delay to one minute
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 29 Nov, 2016 3 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy Johnson authored
fix formatting on error call
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 28 Nov, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 27 Nov, 2016 1 commit
-
-
Jeromy Johnson authored
cleanup bitswap and handle message send failure slightly better
-
- 22 Nov, 2016 2 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 16 Nov, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-