Commit Graph

40 Commits

Author SHA1 Message Date
diegomrsantos 02f6e6127c
fix(readme): update links (#1126) 2024-06-14 15:27:55 +02:00
diegomrsantos dc83a1e9b6
chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
kaiserd 77d40c34f4
chore(README): small PRs (#1098) 2024-05-29 11:40:45 +02:00
Jacek Sieka d1e51beb7f
Remove `secio` (#1072) 2024-03-20 14:53:56 +01:00
Álex Cabeza Romero aa4ebb0b3c
docs(general): Improve docs (#1021) 2024-02-15 16:14:26 +01:00
Tanguy c76d1e18ef
Remove nim 1.2 support (#907) 2023-06-07 11:12:49 +00:00
Tanguy ce371f3bb4
Update README (#798) 2022-11-10 13:47:41 +01:00
Tanguy a3e9d1ed80
Version 1.0.0 (#785) 2022-10-30 13:18:04 +01:00
Etan Kissling 103e199bc0
add `lodestar` to known lib p2p agents documentation (#766) 2022-09-26 11:48:03 +02:00
lchenut 1de7508b64
Fix typos (#761) 2022-09-02 18:40:14 +00:00
Tanguy 83ad890535
Documentation site (#745) 2022-07-26 12:44:26 +02:00
Tanguy d0523fdc9d
Documentation (#716) 2022-07-01 20:19:57 +02:00
Tanguy 1152012bb0
Update README
Core developers, badges, module list were not up to date
2021-12-15 15:01:28 +01:00
Jacek Sieka 18dc233c9b
link to style guide 2021-12-10 10:11:52 +01:00
Giovanni Petrantoni 4be0cdcdb4
Docs cleanup (#557)
* remove pointless go_daemon page (made no sense)

* remove confusing go requirement from main readme

* wip directchat fixes

* use matchPartial for connect(wire)

* fix directchat

* revert wire changes

* rewrite directchat partially

* more readme updates

* fix things to follow the update on blog posts
2021-06-27 20:37:00 -06:00
Giovanni Petrantoni b902c030a0
add metrics into chronosstream to identify peers agents (#458)
* add metrics into chronosstream to identify peers agents

* avoid too many agent strings

* use gauge instead of counter for stream metrics

* filter identity on /

* also track bytes traffic

* fix identity tracking closeimpl call

* add gossip rpc metrics

* fix missing metrics inclusions

* metrics fixes and additions

* add a KnownLibP2PAgents strdefine

* enforse toLowerAscii to agent names (metrics)

* incoming rpc metrics

* fix silly mistake in rpc metrics

* fix agent metrics logic

* libp2p_gossipsub_failed_publish metric

* message ids metrics

* libp2p_pubsub_broadcast_ihave metric improvement

* refactor expensive gossip metrics

* more detailed metrics

* metrics improvements

* remove generic metrics for `set` users

* small fixes, add debug counters

* fix counter and add missing subs metrics!

* agent metrics behind -d:libp2p_agents_metrics

* remove testing related code from this PR

* small rebroadcast metric fix

* fix small mistake

* add some guide to the readme in order to use new metrics

* add libp2p_gossipsub_peers_scores metric

* add protobuf metrics to understand bytes traffic precisely

* refactor gossipsub metrics

* remove unused variable

* add more metrics, refactor rebalance metrics

* avoid bad metric concurrent states

* use a stack structure for gossip mesh metrics

* refine sub metrics

* add received subs metrics fixes

* measure handlers of known topics

* sub/unsub counter

* unsubscribeAll log unknown topics

* expose a way to specify known topics at runtime
2021-01-08 14:21:24 +09:00
cyanlemons f970155d3b
updated README to display correct nim version (#494) 2020-12-19 15:43:54 +01:00
cyanlemons f7b8a097d5
fix invalid README hyperlink by adding https prefix (#492) 2020-12-19 09:31:35 +01:00
Ștefan Talpalaru 843d32f8db
put expensive metrics under a Nim define (#310) 2020-08-04 17:27:59 -06:00
李婷婷 a4090c7382
Update the links to tutorials (#151)
* update readme and organize the example folder

* adding package list

* add packages done

* basic readme done

* fix the go-daemon example folder

* add go-daemon folder in readme

* fix readme icon

* add badges

* add nim min version

* Update README background

Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>

* fix all the comments

* Update README.md wording

Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>

* fix file path in examples/

* add comments to example

* add comments to directchat and fix start.nim

* remove unnecessary modules from directchat

* del customdata

* improve directchat

* finish second.nim

* removea gcsafe

* with err

* change var to let

* remove final.nim

* fix comments on pull request

* fix comments on pull request

* replace result with return

* add hint when start and exit command

* update output string

* fix above comments

* add api documentation

* fix readme format

* update readme format

* readme table of content done

* fix format

* fix format

* include links to the tutorial article

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
2020-04-30 14:57:49 +08:00
Natalie Chin 2ac54331cc
Fixed typo in link resulting in 404 (#142) 2020-04-19 12:22:26 +09:00
李婷婷 56e68f2cc7
Update README.md 2020-03-16 16:17:31 +08:00
李婷婷 b210f987ce
Update Readme (#103)
* update readme and organize the example folder

* adding package list

* add packages done

* basic readme done

* fix the go-daemon example folder

* add go-daemon folder in readme

* fix readme icon

* add badges

* add nim min version

* Update README background

Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>

* fix all the comments

* Update README.md wording

Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>

* fix file path in examples/

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
2020-03-16 08:43:08 +01:00
Mamy Ratsimbazafy 8c406fb9e5
Set up CI with Azure Pipelines (#72)
* Set up CI with Azure Pipelines

[skip ci]

* Fix %PLATFORM%

* Add Azure badge

* Try to make nimble happy with windows PATH

* rename steps [skip ci]

* Mixed up posix/windows in pipeline

* add missing ARCH: x86 to Linux32

* Linux "32bit" CI was actually 64-bit, remove it from now

* Try to workaround path issues in windows

* More crazy path workarounds + display gcc version (debug win 32-bit)

* keep the bash workaround in

* mingw path as separate task

* Let's start a fresh day bout against Azure

* fix powershell variable interpolation

* make all scripts verbose to debug MacOS Go libp2p daemon script

* Don't test on Azure macOS, xerrors issue due to Go version:
- https://github.com/libp2p/go-libp2p-daemon/issues/139
- https://github.com/status-im/nim-beacon-chain/pull/397
- https://github.com/golang/go/issues/32246

* polish + reduce verbosity [skip ci]
2020-02-06 16:07:50 +01:00
Dmitriy Ryajov 293a219dbe
Cleanup (#55)
* fix: don't allow replacing pubkey

* fix: several small improvements

* removing pubkey setter

* improove error handling

* remove the use of Option[T] if not needed

* don't use optional

* fix-ci: temporarily pin p2pd to a working tag

* fix example to comply with latest changes

* bumping p2pd again to a higher version
2019-12-10 14:50:35 -06:00
Zahary Karadjov 454f658ba8
Fixes and tweaks related to the beacon node integration
* Bugfix: Dialing an already connected peer may lead to crash

* Introduced a standard_setup module allowing to instantiate
  the `Switch` object in an easier manner.

* Added `Switch.disconnect(peer)`

* Trailing space removed (sorry about polluting the diff)
2019-12-08 23:58:43 +02:00
Dmitriy Ryajov 31aaa2c8ec update with latest changes 2019-12-07 10:50:58 -06:00
Dmitriy Ryajov 253aa7cf75 fix typo in readme 2019-11-06 12:19:55 -06:00
Dmitriy Ryajov 1c16eb5d69 docs: reword readme 2019-11-04 22:30:00 -06:00
Dmitriy Ryajov 31c7dd38b8 moved the native implementation docs to the bottom 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov 579cb8765a initial documentation for native libp2p 2019-10-11 08:15:24 +09:00
cheatfate 2bf8db9046
Add license and stability badges. 2019-08-22 13:40:49 +03:00
Bruno Škvorc 1a63de04e9
Update README.md 2019-08-14 15:41:16 +02:00
Bruno Škvorc 4bfb8eb017
Update README.md 2019-08-14 10:56:56 +02:00
cheatfate b706b994ec
Fix Appveyor CI show master branch status. 2019-06-17 17:34:57 +03:00
cheatfate 0ad20074d3
Enable AppVeyor tests. 2019-03-16 00:32:16 +02:00
Bruno Škvorc 44afa51792
Update README.md 2019-01-02 15:05:50 +01:00
cheatfate cd57a225a9 Add badge. 2018-11-19 04:07:53 +02:00
cheatfate b70c8290bf Initialize travis and licenses. 2018-11-19 04:04:47 +02:00
Eugene Kabanov 82ed78db7b
Initial commit 2018-11-19 03:58:31 +02:00