Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Update testnet24

* first commit for monitoring channel

* change counter after recv instead of before

* create channels.rs file

* add counter for blocks && operations

* add comment and log

* add "channel" in channel metrics field

* rework MassaChannel

* remove crossbeam channel from massa-protocol-worker

* actual_len and received are now optional (if metrics feature)

* unregister metrics when recverror or when no receiver left

* if metrics enable set final cursor in execution

* execution : active_cursor

* move channel in massa-channel package
Add optional on massa-metrics (compile time)
remove Option and add feature on field

* remove duplicate

* fix feature

* update block and operation to Gauge

* update consensus with MassaChannel

* Change ip

* change channel in massa-execution-worker

* add metric for endorsements

* add inc_metric on select! and use MassaChannel in massa-factory

* Add debug print

* Add mor eprint

* add in / out conn in metrics

* Add an operation injector

* Clean bootstrap state and versioning cursors (massalabs#4053)

* Initial rework of get_batch_to_stream and get_versioning_batch_to_stream

* Updated write_batch_bootstrap_client and server cursors' logic

* cargo fmt fix after merge testnet23

* Fix injector

* add consensus metrics
add metrics by default

* remove modification on ledger

* Setup op_spammer feature

* Change version

* fix operation injector

* remove metrics feature

* Fix cache size

* add metrics for block_cache and operation_cache

* add metrics for retrieval_thread_stored_operations_sum

* bloc -> block

* Improve op injector

* add metrics for consensus state index
remove max_known_blocks_by_peer

* change op injector

* Change cache checked operations

* Fix cache

* remove changes

* fix warning && clippy

* fix cache sizes

* remove change sandbox version

* update outdated addresses

* update unit test

* update version

* remove unused dependency

* remove unused crate

* fix massa metrics testing

* comment a buggy test

* Fix warnings

* Fix test

---------

Co-authored-by: modship <[email protected]>
Co-authored-by: Leo-Besancon <[email protected]>
  • Loading branch information
3 people authored Jun 9, 2023
1 parent 310b0ab commit 9771da2
Show file tree
Hide file tree
Showing 78 changed files with 1,897 additions and 738 deletions.
99 changes: 95 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ members = [
"massa-execution-worker",
"massa-factory-exports",
"massa-factory-worker",
"massa-channel",
"massa-consensus-exports",
"massa-consensus-worker",
"massa-hash",
"massa-logging",
"massa-metrics",
"massa-models",
"massa-node",
"massa-sdk",
Expand Down
Loading

0 comments on commit 9771da2

Please sign in to comment.