IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
479: Return time since connection if no round trip yet r=koivunej a=jmmaloney4
Fixes#178.
Co-authored-by: Jack Maloney <git@jmmaloney4.xyz>
Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
502: feat(http): add default values for --bits and --profile in ipfs init r=koivunej a=rand0m-cloud
This PR adds default values for the `ipfs init` command to be more like the go-ipfs `ipfs init`. `--bits 2048` and `--profile default` are the default flags if they not overridden.
I've also included an profiles length check that is more accurate and injects the default profile if none was provided. Plus a small update to an error print statement because 1024 bits for a RSA key is too low.
Co-authored-by: Addy Bryant <rand0m-cloud@outlook.com>
Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
500: Add a test failure reason r=koivunej a=rand0m-cloud
I just spent some time debugging test failures as I looked back through previous versions of rust-ipfs. The test `pre_configured_listening_addrs` assumes that port 4001 is available for binding and hopes that the multiaddr `/ip4/127.0.0.1/tcp/4001` is found in `ipfs.identify()`. I always run an IPFS daemon in the background for web app development and found the test passing when I killed the daemon.
This PR adds additional context to the error message, `is port 4001 available to listen on?`.
Co-authored-by: Addy Bryant <adam.w.bryant@outlook.com>
499: Update libp2p to v0.43.0 r=koivunej a=rand0m-cloud
This PR updates the dependency on libp2p. This is needed because currently building `ipfs-http` fails with an ambiguous type error inside of `libp2p`.
This PR passes all tests!!
### Checklist (can be deleted from PR description once items are checked)
- [x] **New** code is “linted” i.e. code formatting via rustfmt and language idioms via clippy
- [ ] There are no extraneous changes like formatting, line reordering, etc. Keep the patch sizes small!
- [ ] There are functional and/or unit tests written, and they are passing
- [ ] There is suitable documentation. In our case, this means:
- [ ] Each command has a usage example and API specification
- [ ] Rustdoc tests are passing on all code-level comments
- [ ] Differences between Rust’s IPFS implementation and the Go or JS implementations are explained
- [x] Additions to CHANGELOG.md files
Co-authored-by: Addy Bryant <rand0m-cloud@outlook.com>
Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
simplify away the use of hashset's for messages along with any
filtering, instead simply assert that who witnessed what message and
include the sent message in the assertion as well.
comment as in use less broad technical names and more context specific
names.
also removes some of the duplicate comments.
originally created in 8eae8e1fc119a6a1f5261c2f21b2ac3d0a7898f2 by
altering the single topic test, included in this commit as duplicating
version.
Co-authored-by: Addy Bryant <rand0m-cloud@outlook.com>