- 13 Jun, 2018 8 commits
-
-
Whyrusleeping authored
reduce log level when we can't republish
-
Whyrusleeping authored
Add README to docs folder
-
Whyrusleeping authored
Fix panic. Don't handle errors with fallthrough.
-
Whyrusleeping authored
improve swarm connect/disconnect commands
-
Whyrusleeping authored
cat iptb logs on iptb failure (for debugging CI)
-
Whyrusleeping authored
plugin: preload git plugin by default
-
Whyrusleeping authored
Add package overview comments to coreapi
-
Whyrusleeping authored
unixfs: integrate `pb.Data` into `FSNode` to avoid duplicating fields
-
- 12 Jun, 2018 4 commits
-
-
Rob Brackett authored
License: MIT Signed-off-by: Rob Brackett <rob@robbrackett.com>
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Steven Allen authored
fixes #5102 Also, allow specifying multiple addresses for a single peer. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
- 11 Jun, 2018 3 commits
-
-
Lucas Molas authored
To avoid duplicating fields and making the code easier to follow. Remove all of `FSNode` previous fields in favor on a single `pb.Data` structure that is not exported. Accessor methods are added only for the necessary internal fields. This takes up more memory, `pb.Data` is always created inside `FSNode` and it stays there instead of just being created and destroyed during the (un)marshal operations. The removed fields `Data`, `blocksizes` and `Type` had a direct counterpart in the embedded `pb.Data` structure, in contrast (only) the `subtotal` field doesn't have one, it was used as a temporary accumulator to track the `Filesize`, which is now being kept updated on every modification (to ensure the entire `FSNode` is always at a valid state), so `subtotal` could just be removed without the addition of any other field (this temporary accumulator was obscuring how `Filesize` was computed). To keep `Filesize` up to date a method was added (`UpdateFilesize()`) to adjust its value in the two places where the file size could be modified, when changing its data (in `SetData()`, accessor method added) and when adding or removing child nodes (in `AddBlockSize()` and `RemoveBlockSize()`). A constructor method was added (`NewFSNode()`) to initialize the required fields, like `Type` which is explicitly set, this deprecates the previous methodology of just calling `new(FSNode)` and relying in the default value of `pb.Data_DataType` (`Data_Raw`) to avoid an explicit assignment. Also, `Filesize` is initialized to avoid being left with a `nil` value before marshaling empty nodes, which would result in a different hash from previous versions, to be backwards compatible. Previous versions of `GetBytes()` always set the `Filesize` value, even though it is reflected as an `optional` field in the `.proto` file (this may be an inaccurate field rule). Without the duplicated fields the functions `GetBytes()` and `FSNodeFromBytes()` are now reduced to simple `Marshal()` and `Unmarshal()` operations respectively. License: MIT Signed-off-by: Lucas Molas <schomatis@gmail.com>
-
Whyrusleeping authored
Update dist_root
-
Whyrusleeping authored
gx update go-log, sys, go-crypto
-
- 09 Jun, 2018 1 commit
-
-
Steven Allen authored
* go-log * sys * go-crypto License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
- 08 Jun, 2018 1 commit
-
-
Whyrusleeping authored
Create a raw node instead of a file node when there is no content.
-
- 07 Jun, 2018 3 commits
-
-
Rob Brackett authored
Also adds a link to the authors list in the top-level README. License: MIT Signed-off-by: Rob Brackett <rob@robbrackett.com>
-
Dominic Della Valle authored
License: MIT Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
-
Steven Allen authored
This is almost never an error, it just means we don't have any connections. We could leave this at Warning but we'd like to be able to turn those on by default at some point. fixes #5029 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
- 06 Jun, 2018 4 commits
-
-
Whyrusleeping authored
transport refactor update
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Whyrusleeping authored
update multiplexers
-
- 05 Jun, 2018 5 commits
-
-
Whyrusleeping authored
embed public keys inside ipns records, use for validation
-
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>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 04 Jun, 2018 1 commit
-
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
- 03 Jun, 2018 8 commits
-
-
Brendan McMillion authored
License: MIT Signed-off-by: Brendan McMillion <brendan@cloudflare.com>
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Whyrusleeping authored
only resolve dnslinks once in the gateway
-
Whyrusleeping authored
fix the duplicate (multiple versions) sys import
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Whyrusleeping authored
routing fixes/refactor
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Steven Allen authored
If the domain has a DNS-Link, we want to use it even if it points to, e.g., an IPNS address that doesn't resolve. fixes #4973 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
- 02 Jun, 2018 2 commits
-
-
Steven Allen authored
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-
Steven Allen authored
We've added a new file to the flatfs datastore. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
-