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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
263: move bitswap Stats directly under Bitswap r=koivunej a=ljedrz
This makes the bitswap `Stats` persistent between peer disconnects.
In addition, remove the unused and no longer compatible `Ledger` tests.
Co-authored-by: ljedrz <ljedrz@gmail.com>
255: update libp2p again r=koivunej a=ljedrz
Needed for our `substrate-ipfs` project, as `substrate` just updated it.
Co-authored-by: ljedrz <ljedrz@gmail.com>
* chore: upgrade the libp2p to 0.18.(0|1)
* refactor: fix most of the swarm with todos
mainly leaving the multiple connections case to panic.
* feat: add ability to configure listening addr
the original random listening address is still in place.
* add test case for the panic with two connections
* fix: allow multiple connections in p2p/swarm
* doc: Connection and the any connecting address
* chore: cleanup libp2p patching examples
* refactor: rename SwarmApi::stats
perhaps roundtrip_times is more readable.
* chore: upgrade to libp2p 0.19
* fix: awaiting for binding new listening addresses
the initial implementation didn't actually wait for anything other than
asking the swarm to start listening, but now the await will complete
only after a listening address has actually been bound. this required
some nasty matching on the multiaddr protocol parts which will hopefully
ever be used by test code but ... it works now, at least a bit better.
* fix test on macos, fix unspecified addr handling
this adds a BlockPut result in two places which is inferior to the more
complete bitswap refactoring. BlockPut will let the caller know if the
block was added or if it existed already. This is poorly implemented in
the fs blockstore.