Repository: nervosnetwork/muta
Branch: master
Commit: 28f2a60c574d
Files: 348
Total size: 1.8 MB
Directory structure:
gitextract_lg42y7z7/
├── .dockerignore
├── .github/
│ ├── CODEOWNERS
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug-report.md
│ │ ├── feature.md
│ │ └── help.md
│ ├── PULL_REQUEST_TEMPLATE.md
│ └── semantic.yml
├── .gitignore
├── .helmignore
├── CHANGELOG/
│ ├── CHANGELOG-0.1.md
│ ├── CHANGELOG-0.2.md
│ └── README.md
├── CONTRIBUTING.md
├── Cargo.toml
├── LICENSE
├── Makefile
├── OWNERS
├── OWNERS_ALIASES
├── README.md
├── README_CN.md
├── SECURITY.md
├── benchmark/
│ ├── bench_executor.rs
│ ├── bench_mempool.rs
│ ├── benchmark_genesis.toml
│ ├── governance/
│ │ ├── mod.rs
│ │ └── types.rs
│ └── mod.rs
├── binding-macro/
│ ├── Cargo.toml
│ ├── src/
│ │ ├── common.rs
│ │ ├── cycles.rs
│ │ ├── hooks.rs
│ │ ├── lib.rs
│ │ ├── read_write.rs
│ │ └── service.rs
│ └── tests/
│ └── mod.rs
├── built-in-services/
│ ├── asset/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── lib.rs
│ │ ├── tests/
│ │ │ └── mod.rs
│ │ └── types.rs
│ ├── authorization/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ └── lib.rs
│ ├── metadata/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── lib.rs
│ │ └── tests/
│ │ └── mod.rs
│ ├── multi-signature/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── lib.rs
│ │ ├── tests/
│ │ │ ├── curd_test.rs
│ │ │ ├── mod.rs
│ │ │ └── recursion_test.rs
│ │ └── types.rs
│ └── util/
│ ├── Cargo.toml
│ └── src/
│ ├── lib.rs
│ ├── tests/
│ │ └── mod.rs
│ └── types.rs
├── byzantine/
│ ├── Cargo.toml
│ ├── README.md
│ ├── generators.toml
│ ├── src/
│ │ ├── behaviors.rs
│ │ ├── commander.rs
│ │ ├── config.rs
│ │ ├── default_start.rs
│ │ ├── invalid_types.rs
│ │ ├── lib.rs
│ │ ├── message.rs
│ │ ├── strategy.rs
│ │ ├── utils.rs
│ │ └── worker.rs
│ └── tests/
│ ├── byz.test.ts
│ ├── jest.config.js
│ └── package.json
├── charts/
│ ├── deploy-chaos/
│ │ ├── .helmignore
│ │ ├── Chart.yaml
│ │ ├── templates/
│ │ │ ├── _helpers.tpl
│ │ │ ├── muta-benchmark.yaml
│ │ │ └── muta-chaos-crd.yaml
│ │ └── values.yaml
│ ├── muta/
│ │ ├── .helmignore
│ │ ├── Chart.yaml
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── templates/
│ │ │ ├── NOTES.txt
│ │ │ ├── _helpers.tpl
│ │ │ ├── canary.yaml
│ │ │ ├── deployment.yaml
│ │ │ ├── hpa.yaml
│ │ │ ├── ingress.yaml
│ │ │ ├── ksvc.yaml
│ │ │ └── service.yaml
│ │ └── values.yaml
│ └── preview/
│ ├── Chart.yaml
│ ├── Makefile
│ ├── requirements.yaml
│ └── values.yaml
├── clippy.toml
├── common/
│ ├── apm/
│ │ ├── Cargo.toml
│ │ ├── README.md
│ │ └── src/
│ │ ├── lib.rs
│ │ ├── metrics/
│ │ │ ├── api.rs
│ │ │ ├── consensus.rs
│ │ │ ├── mempool.rs
│ │ │ ├── network.rs
│ │ │ └── storage.rs
│ │ └── metrics.rs
│ ├── channel/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ └── lib.rs
│ ├── config-parser/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── lib.rs
│ │ └── types.rs
│ ├── crypto/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ └── lib.rs
│ ├── logger/
│ │ ├── Cargo.toml
│ │ ├── README.md
│ │ ├── log.yml
│ │ └── src/
│ │ ├── date_fixed_roller.rs
│ │ └── lib.rs
│ ├── merkle/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ └── lib.rs
│ └── pubsub/
│ ├── Cargo.toml
│ └── src/
│ └── lib.rs
├── core/
│ ├── api/
│ │ ├── Cargo.toml
│ │ ├── source/
│ │ │ └── graphiql.html
│ │ └── src/
│ │ ├── adapter/
│ │ │ └── mod.rs
│ │ ├── config.rs
│ │ ├── lib.rs
│ │ └── schema/
│ │ ├── block.rs
│ │ ├── mod.rs
│ │ ├── receipt.rs
│ │ └── transaction.rs
│ ├── cli/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── error.rs
│ │ ├── lib.rs
│ │ └── tests/
│ │ ├── config.toml
│ │ ├── genesis.toml
│ │ ├── mod.rs
│ │ └── service_mapping.rs
│ ├── consensus/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── adapter.rs
│ │ ├── consensus.rs
│ │ ├── engine.rs
│ │ ├── fixed_types.rs
│ │ ├── lib.rs
│ │ ├── message.rs
│ │ ├── status.rs
│ │ ├── synchronization.rs
│ │ ├── tests/
│ │ │ ├── engine.rs
│ │ │ ├── mod.rs
│ │ │ ├── status.rs
│ │ │ └── synchronization.rs
│ │ ├── util.rs
│ │ ├── wal.rs
│ │ └── wal_proto.rs
│ ├── mempool/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── adapter/
│ │ │ ├── message.rs
│ │ │ └── mod.rs
│ │ ├── context.rs
│ │ ├── lib.rs
│ │ ├── map.rs
│ │ ├── tests/
│ │ │ ├── mempool.rs
│ │ │ └── mod.rs
│ │ └── tx_cache.rs
│ ├── network/
│ │ ├── Cargo.toml
│ │ ├── examples/
│ │ │ └── buycopy.rs
│ │ ├── src/
│ │ │ ├── common.rs
│ │ │ ├── compression/
│ │ │ │ ├── mod.rs
│ │ │ │ └── snappy.rs
│ │ │ ├── config.rs
│ │ │ ├── connection/
│ │ │ │ ├── control.rs
│ │ │ │ ├── keeper.rs
│ │ │ │ └── mod.rs
│ │ │ ├── endpoint.rs
│ │ │ ├── error.rs
│ │ │ ├── event.rs
│ │ │ ├── lib.rs
│ │ │ ├── message/
│ │ │ │ ├── mod.rs
│ │ │ │ ├── serde.rs
│ │ │ │ └── serde_multi.rs
│ │ │ ├── metrics.rs
│ │ │ ├── outbound/
│ │ │ │ ├── gossip.rs
│ │ │ │ ├── mod.rs
│ │ │ │ └── rpc.rs
│ │ │ ├── peer_manager/
│ │ │ │ ├── addr_set.rs
│ │ │ │ ├── diagnostic.rs
│ │ │ │ ├── mod.rs
│ │ │ │ ├── peer.rs
│ │ │ │ ├── retry.rs
│ │ │ │ ├── save_restore.rs
│ │ │ │ ├── session_book.rs
│ │ │ │ ├── shared.rs
│ │ │ │ ├── tags.rs
│ │ │ │ ├── test_manager.rs
│ │ │ │ ├── time.rs
│ │ │ │ └── trust_metric.rs
│ │ │ ├── protocols/
│ │ │ │ ├── core.rs
│ │ │ │ ├── discovery/
│ │ │ │ │ ├── addr.rs
│ │ │ │ │ ├── behaviour.rs
│ │ │ │ │ ├── message.rs
│ │ │ │ │ ├── protocol.rs
│ │ │ │ │ └── substream.rs
│ │ │ │ ├── discovery.rs
│ │ │ │ ├── identify/
│ │ │ │ │ ├── behaviour.rs
│ │ │ │ │ ├── common.rs
│ │ │ │ │ ├── identification.rs
│ │ │ │ │ ├── message.rs
│ │ │ │ │ ├── protocol.rs
│ │ │ │ │ └── tests.rs
│ │ │ │ ├── identify.rs
│ │ │ │ ├── macro.rs
│ │ │ │ ├── mod.rs
│ │ │ │ ├── ping/
│ │ │ │ │ ├── behaviour.rs
│ │ │ │ │ ├── message.rs
│ │ │ │ │ └── protocol.rs
│ │ │ │ ├── ping.rs
│ │ │ │ ├── transmitter/
│ │ │ │ │ ├── behaviour.rs
│ │ │ │ │ ├── message.rs
│ │ │ │ │ └── protocol.rs
│ │ │ │ └── transmitter.rs
│ │ │ ├── reactor/
│ │ │ │ ├── mod.rs
│ │ │ │ ├── router.rs
│ │ │ │ └── rpc_map.rs
│ │ │ ├── rpc.rs
│ │ │ ├── selfcheck.rs
│ │ │ ├── service.rs
│ │ │ ├── test/
│ │ │ │ └── mock.rs
│ │ │ ├── test.rs
│ │ │ └── traits.rs
│ │ └── tests/
│ │ ├── common.rs
│ │ └── gossip_test.rs
│ ├── run/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ └── lib.rs
│ └── storage/
│ ├── Cargo.toml
│ ├── examples/
│ │ └── bench.rs
│ └── src/
│ ├── adapter/
│ │ ├── memory.rs
│ │ ├── mod.rs
│ │ └── rocks.rs
│ ├── lib.rs
│ └── tests/
│ ├── adapter.rs
│ ├── mod.rs
│ └── storage.rs
├── devtools/
│ ├── chain/
│ │ ├── README.md
│ │ ├── config.toml
│ │ └── genesis.toml
│ ├── docker-build/
│ │ ├── Dockerfile
│ │ ├── Dockerfile.build-env
│ │ └── Dockerfile.e2e-env
│ ├── keypair/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── keypair.yml
│ │ └── main.rs
│ └── kube/
│ └── deploy-chaos-crd-template.yml
├── docs/
│ ├── _config.yml
│ ├── build/
│ │ └── gql_api.sh
│ ├── graphql_api.md
│ ├── how_to_deploy_a_core_crate.md
│ ├── layout.md
│ └── resources.md
├── examples/
│ ├── byzantine_node.rs
│ ├── config-1.toml
│ ├── config-2.toml
│ ├── config-3.toml
│ ├── config-4.toml
│ ├── genesis.toml
│ └── muta-chain.rs
├── framework/
│ ├── Cargo.toml
│ └── src/
│ ├── binding/
│ │ ├── mod.rs
│ │ ├── sdk/
│ │ │ ├── chain_querier.rs
│ │ │ └── mod.rs
│ │ ├── state/
│ │ │ ├── mod.rs
│ │ │ ├── trie.rs
│ │ │ └── trie_db.rs
│ │ ├── store/
│ │ │ ├── array.rs
│ │ │ ├── map.rs
│ │ │ ├── mod.rs
│ │ │ └── primitive.rs
│ │ └── tests/
│ │ ├── mod.rs
│ │ ├── sdk.rs
│ │ ├── state.rs
│ │ └── store.rs
│ ├── executor/
│ │ ├── error.rs
│ │ ├── factory.rs
│ │ ├── mod.rs
│ │ └── tests/
│ │ ├── framework.rs
│ │ ├── framework_genesis_services.toml
│ │ ├── genesis_services.toml
│ │ ├── mod.rs
│ │ └── test_service.rs
│ └── lib.rs
├── jenkins-x-chaos.yml
├── jenkins-x-e2e.yml
├── jenkins-x-lint.yml
├── jenkins-x-unit.yml
├── jenkins-x.yml
├── protocol/
│ ├── Cargo.toml
│ └── src/
│ ├── codec/
│ │ ├── block.rs
│ │ ├── macro.rs
│ │ ├── mod.rs
│ │ ├── primitive.rs
│ │ ├── receipt.rs
│ │ ├── tests/
│ │ │ └── mod.rs
│ │ └── transaction.rs
│ ├── fixed_codec/
│ │ ├── mod.rs
│ │ ├── primitive.rs
│ │ ├── receipt.rs
│ │ ├── tests/
│ │ │ ├── fixed_codec.rs
│ │ │ └── mod.rs
│ │ └── transaction.rs
│ ├── lib.rs
│ ├── traits/
│ │ ├── api.rs
│ │ ├── binding.rs
│ │ ├── consensus.rs
│ │ ├── executor.rs
│ │ ├── mempool.rs
│ │ ├── mod.rs
│ │ ├── network.rs
│ │ └── storage.rs
│ └── types/
│ ├── block.rs
│ ├── genesis.rs
│ ├── mod.rs
│ ├── primitive.rs
│ ├── receipt.rs
│ ├── service_context.rs
│ └── transaction.rs
├── rust-toolchain
├── rustfmt.toml
├── src/
│ └── lib.rs
└── tests/
├── common/
│ ├── mod.rs
│ ├── node/
│ │ ├── config.rs
│ │ ├── consts.rs
│ │ ├── diagnostic.rs
│ │ ├── full_node/
│ │ │ ├── builder.rs
│ │ │ ├── default_start.rs
│ │ │ ├── error.rs
│ │ │ └── memory_db.rs
│ │ ├── full_node.rs
│ │ └── sync.rs
│ └── node.rs
├── e2e/
│ ├── jest.config.js
│ ├── package.json
│ ├── sdk.test.ts
│ ├── tsconfig.json
│ ├── utils.ts
│ └── wait-for-it.sh
├── trust_metric.rs
├── trust_metric_all/
│ ├── client_node.rs
│ ├── common.rs
│ ├── consensus.rs
│ ├── logger.rs
│ ├── mempool.rs
│ └── mod.rs
└── verify_chain_id.rs
================================================
FILE CONTENTS
================================================
================================================
FILE: .dockerignore
================================================
devtools/chain/data
devtools/dex
.github
docs
tests/e2e/node_modules
================================================
FILE: .github/CODEOWNERS
================================================
/ @nervosnetwork/muta-dev-team
================================================
FILE: .github/ISSUE_TEMPLATE/bug-report.md
================================================
---
name: Bug Report
about: Report a bug
labels: t:bug
---
**What happened**:
**What you expected to happen**:
**How to reproduce it (as minimally and precisely as possible)**:
**Anything else we need to know?**:
**Environment**:
- MutaChain version or commit hash (`MutaChain -V`):
- OS (e.g: `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Others:
================================================
FILE: .github/ISSUE_TEMPLATE/feature.md
================================================
---
name: Feature Request
about: Suggest a feature to the Muta-Chain project
labels: t:feature
---
**What would you like to be added**:
**Why is this needed**:
================================================
FILE: .github/ISSUE_TEMPLATE/help.md
================================================
---
name: Help me
about: What kind of help do you want?
labels: t:help
---
================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
**What this PR does / why we need it**:
**Which issue(s) this PR fixes**:
Fixes #
**Which docs this PR relation**:
Ref #
**Which toolchain this PR adaption**:
No Breaking Change
**Special notes for your reviewer**:
================================================
FILE: .github/semantic.yml
================================================
# By default types specified in commitizen/conventional-commit-types is used.
# See: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json
# You can override the valid types
# Angular
types:
- build # Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- ci # Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
- docs # Documentation only changes
- feat # A new feature
- fix # A bug fix
- perf # A code change that improves performance
- refactor # A code change that neither fixes a bug nor adds a feature
- style # Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- test # Adding missing tests or correcting existing tests
================================================
FILE: .gitignore
================================================
# Generated by Cargo
# will have compiled files and executables
/target/
# These are backup files generated by rustfmt
**/*.rs.bk
# Added by cargo
#
# already existing elements are commented out
/target
#**/*.rs.bk
# OS
.DS_Store
# IDE
.idea/
.vscode/
# dev
devtools/chain/data
tests/e2e/node_modules
tests/e2e/yarn-error.log
# rocksdb
**/rocksdb/
logs/
# cargo.lock
Cargo.lock
# free space, you can store anything you want here
free-space
byzantine/tests/node_modules
================================================
FILE: .helmignore
================================================
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
*.png
# known compile time folders
target/
node_modules/
vendor/
================================================
FILE: CHANGELOG/CHANGELOG-0.1.md
================================================
## [0.1.2-beta](https://github.com/nervosnetwork/muta/compare/v0.1.2-beta2...v0.1.2-beta) (2020-06-04)
## [0.1.2-beta2](https://github.com/nervosnetwork/muta/compare/v0.1.2-beta1...v0.1.2-beta2) (2020-06-03)
### Features
* supported storage metrics ([#307](https://github.com/nervosnetwork/muta/issues/307)) ([2531b8d](https://github.com/nervosnetwork/muta/commit/2531b8da8e8f2a839484adef62dd93f1deff12dd))
## [0.1.2-beta1](https://github.com/nervosnetwork/muta/compare/v0.1.0-rc.2-huobi...v0.1.2-beta1) (2020-06-01)
### Bug Fixes
* **ci:** Increase timeout in ci ([#262](https://github.com/nervosnetwork/muta/issues/262)) ([a12124a](https://github.com/nervosnetwork/muta/commit/a12124a115512196894a7ca88fc42555db927666))
* **mempool:** check exsit before insert a transaction ([#257](https://github.com/nervosnetwork/muta/issues/257)) ([be3c139](https://github.com/nervosnetwork/muta/commit/be3c13929d2a59f21655b040aa6738c3d43db611))
* **network:** broken users_cast ([#261](https://github.com/nervosnetwork/muta/issues/261)) ([f36eabd](https://github.com/nervosnetwork/muta/commit/f36eabdc5040bc5cbf0d2011c942867150534a41))
* **network:** reconnection fialure ([#273](https://github.com/nervosnetwork/muta/issues/273)) ([9f594b8](https://github.com/nervosnetwork/muta/commit/9f594b8af12e1810bd0cbf23f20ca718d96f6e3a))
* reboot when the diff between height and exec_height more than one ([#267](https://github.com/nervosnetwork/muta/issues/267)) ([e8f8595](https://github.com/nervosnetwork/muta/commit/e8f85958d85e3363fccbfde3971684ebf2fceb4d))
* **sync:** Avoid requesting redundant transactions ([#259](https://github.com/nervosnetwork/muta/issues/259)) ([8ece029](https://github.com/nervosnetwork/muta/commit/8ece0299fe185667ac23fed92d8c2f156c0e2c5b))
* binding store type should return Option None instead of panic when get none ([#238](https://github.com/nervosnetwork/muta/issues/238)) ([54bdbb9](https://github.com/nervosnetwork/muta/commit/54bdbb93df1a1a85a83814dcb29461acf3645d10))
* **config:** use serde(default) for rocksdb conf ([#229](https://github.com/nervosnetwork/muta/issues/229)) ([2a03e73](https://github.com/nervosnetwork/muta/commit/2a03e73c77807e80020c50bb287adf4d428632e5))
* **storage:** fix rocksdb too many open files error ([#228](https://github.com/nervosnetwork/muta/issues/228)) ([96c32cd](https://github.com/nervosnetwork/muta/commit/96c32cd7956220beddca33b22d4663a675573ba9))
* **sync:** set crypto info when synchronization ([#235](https://github.com/nervosnetwork/muta/issues/235)) ([84ccfc1](https://github.com/nervosnetwork/muta/commit/84ccfc1d8422265028ad7a0b460b4e297d161fe3))
* docker compose configs ([#210](https://github.com/nervosnetwork/muta/issues/210)) ([acc5265](https://github.com/nervosnetwork/muta/commit/acc52653d304ac5cd25a9d643b263a2f462f7d43))
* hang when kill it ([#225](https://github.com/nervosnetwork/muta/issues/225)) ([dc51240](https://github.com/nervosnetwork/muta/commit/dc512405f32854f165f3145c01d022bca4fff93b))
* panic when start ([#214](https://github.com/nervosnetwork/muta/issues/214)) ([d2da69b](https://github.com/nervosnetwork/muta/commit/d2da69b5941a88376b64453f7d3c10eca3f67d81))
* **muta:** hangs up on one cpu core ([#203](https://github.com/nervosnetwork/muta/issues/203)) ([555dd9e](https://github.com/nervosnetwork/muta/commit/555dd9e694fda043be01f90c91396efd7fe0ace5))
### Features
* split monitor network url ([#300](https://github.com/nervosnetwork/muta/issues/300)) ([1237354](https://github.com/nervosnetwork/muta/commit/12373544598d0dae852321cbe3b4e8dab5c70e54))
* supported mempool monitor ([#298](https://github.com/nervosnetwork/muta/issues/298)) ([cc7fdfa](https://github.com/nervosnetwork/muta/commit/cc7fdfa7a7c99466d76d4fe9c1a3537ab8754837))
* supported new metrics ([#294](https://github.com/nervosnetwork/muta/issues/294)) ([e59364a](https://github.com/nervosnetwork/muta/commit/e59364a7759960d8a3279dc78844965f54f4bf62))
* **apm:** add api get_block metrics ([#276](https://github.com/nervosnetwork/muta/issues/276)) ([6ea21e3](https://github.com/nervosnetwork/muta/commit/6ea21e3e0fe08898264f13938cf849c197531afa))
* **apm:** Add opentracing ([#270](https://github.com/nervosnetwork/muta/issues/270)) ([cece21d](https://github.com/nervosnetwork/muta/commit/cece21d8e865223c8679e54d0253ced70dab4c0a))
* **apm:** tracing height and round in OverlordMsg ([#287](https://github.com/nervosnetwork/muta/issues/287)) ([a8c09ff](https://github.com/nervosnetwork/muta/commit/a8c09ff363e8caac9c0977db2fc6cffb782961d7))
* **ci:** add e2e ([#236](https://github.com/nervosnetwork/muta/issues/236)) ([3058722](https://github.com/nervosnetwork/muta/commit/3058722081084b7cb8f423c26eba9e88707fca18))
* **consensus:** add proof check logic for sync and consensus ([#224](https://github.com/nervosnetwork/muta/issues/224)) ([b19502f](https://github.com/nervosnetwork/muta/commit/b19502f48e6d314717a8a2286ada58f6097c6f31))
* **consensus:** change validator list ([#211](https://github.com/nervosnetwork/muta/issues/211)) ([bb04d2c](https://github.com/nervosnetwork/muta/commit/bb04d2c961110276d38cf0e07239d5e72e8125a8))
* **consensus:** integrate trust metric to consensus ([#244](https://github.com/nervosnetwork/muta/issues/244)) ([3dd6bc1](https://github.com/nervosnetwork/muta/commit/3dd6bc1796ca3e6c76cb99beefd5911d35a5e8ee))
* **mempool:** integrate trust metric ([#245](https://github.com/nervosnetwork/muta/issues/245)) ([49474fd](https://github.com/nervosnetwork/muta/commit/49474fddde3ffc45d564544bb5887bb09a37da1d))
* **metric:** introduce metric using prometheus ([#271](https://github.com/nervosnetwork/muta/issues/271)) ([3d1dc4f](https://github.com/nervosnetwork/muta/commit/3d1dc4fcf196b8616f41dc4cd2a5ba0c0a5ab422))
* **metrics:** mempool, consensus and sync ([#275](https://github.com/nervosnetwork/muta/issues/275)) ([12e4918](https://github.com/nervosnetwork/muta/commit/12e4918d9925868407f854af29410d8ecafe4d48))
* **network:** add metrics ([#274](https://github.com/nervosnetwork/muta/issues/274)) ([56a9b62](https://github.com/nervosnetwork/muta/commit/56a9b62251106d44df33c43d4590575df25df61a))
* **network:** add trace header to network msg ([#281](https://github.com/nervosnetwork/muta/issues/281)) ([6509cbe](https://github.com/nervosnetwork/muta/commit/6509cbec2f700238b2259943212e0968b58404ce))
* **network:** peer trust metric ([#231](https://github.com/nervosnetwork/muta/issues/231)) ([5abefeb](https://github.com/nervosnetwork/muta/commit/5abefebddacfb58415f2a319098bb164ceaa8c81))
* add tx hook in framework ([#218](https://github.com/nervosnetwork/muta/issues/218)) ([cdeb9fd](https://github.com/nervosnetwork/muta/commit/cdeb9fd1e18e198636fa59d91aead85d65cf9852))
* re-execute blocks to recover current status ([#222](https://github.com/nervosnetwork/muta/issues/222)) ([1cd7cb6](https://github.com/nervosnetwork/muta/commit/1cd7cb6d4fbc599bac65bd2c36b507088a3fa041))
* **network:** rpc remote server error response ([#205](https://github.com/nervosnetwork/muta/issues/205)) ([bb993ac](https://github.com/nervosnetwork/muta/commit/bb993ac1f5fe44a2f6a72c8718572accacb27dc3))
* **sync:** Split a transaction in a block into multiple requests ([#221](https://github.com/nervosnetwork/muta/issues/221)) ([0bbf43c](https://github.com/nervosnetwork/muta/commit/0bbf43c49d2df49d70b4bc816ac24c3bc3603a1a))
* add actix payload size limit config ([#204](https://github.com/nervosnetwork/muta/issues/204)) ([97319d6](https://github.com/nervosnetwork/muta/commit/97319d6d22c8143ba35c3fe42d56f2cfbc131e37))
### BREAKING CHANGES
* **network:** change rpc response
* change(network): bump transmitter protocol version
# [0.1.0-rc.2-huobi](https://github.com/nervosnetwork/muta/compare/v0.0.1-rc1-huobi...v0.1.0-rc.2-huobi) (2020-02-24)
### Bug Fixes
* **mempool:** fix repeat txs, add flush_incumbent_queue ([#189](https://github.com/nervosnetwork/muta/issues/189)) ([e0db745](https://github.com/nervosnetwork/muta/commit/e0db745419c5ada3d6e9dc4416945a0775a8f18b))
* **muta:** hangs up running on single core environment ([#201](https://github.com/nervosnetwork/muta/issues/201)) ([09f5b4e](https://github.com/nervosnetwork/muta/commit/09f5b4ed70a519155933f7fd4c2015ff512dfdb1))
* block hash from bytes ([#192](https://github.com/nervosnetwork/muta/issues/192)) ([7ca0af4](https://github.com/nervosnetwork/muta/commit/7ca0af46edbd00e4ba43e8646e77fa41aba781cf))
### Features
* check size and cycle limit when insert tx into mempool ([#195](https://github.com/nervosnetwork/muta/issues/195)) ([92bdf2d](https://github.com/nervosnetwork/muta/commit/92bdf2d5147502e1d250fdae47b8ae2c2cfce23f))
* remove redundant wal transactions when commit ([#197](https://github.com/nervosnetwork/muta/issues/197)) ([3aff1db](https://github.com/nervosnetwork/muta/commit/3aff1dbb2dcdabaaf9cbecb9c3e9757a2c737354))
* Supports actix in tokio ([#200](https://github.com/nervosnetwork/muta/issues/200)) ([266c1cb](https://github.com/nervosnetwork/muta/commit/266c1cb2cf6223759eba4ca9771ee21b244db3a4))
* **api:** Supports configuring the max number of connections. ([#194](https://github.com/nervosnetwork/muta/issues/194)) ([6cbdd26](https://github.com/nervosnetwork/muta/commit/6cbdd267b7ff56eefbe23bffc8e4dc589272111d))
* **service:** upgrade asset service ([#150](https://github.com/nervosnetwork/muta/issues/150)) ([8925390](https://github.com/nervosnetwork/muta/commit/8925390b59353d853dd1266cdcfe6db1258a8296))
### Reverts
* Revert "fix(muta): hangs up running on single core environment (#201)" (#202) ([28e685a](https://github.com/nervosnetwork/muta/commit/28e685a62b82c1a91699b4495d430b0757e5438d)), closes [#201](https://github.com/nervosnetwork/muta/issues/201) [#202](https://github.com/nervosnetwork/muta/issues/202)
## [0.0.1-rc1-huobi](https://github.com/nervosnetwork/muta/compare/v0.0.1-rc.1-huobi...v0.0.1-rc1-huobi) (2020-02-15)
### Bug Fixes
* **ci:** fail to install sccache after new rust-toolchain ([#68](https://github.com/nervosnetwork/muta/issues/68)) ([f961415](https://github.com/nervosnetwork/muta/commit/f961415803ae6d38b70e97a810f33a1b60639d43))
* **consensus:** check logs bloom when check block ([#168](https://github.com/nervosnetwork/muta/issues/168)) ([0984989](https://github.com/nervosnetwork/muta/commit/09849893270cc0908e2ee965e7e8b7c46ada0f16))
* **consensus:** empty block receipts root ([#61](https://github.com/nervosnetwork/muta/issues/61)) ([89ed4d2](https://github.com/nervosnetwork/muta/commit/89ed4d2c4a708f278e7cd777c562f1f1fb5a9755))
* **consensus:** encode overlord message and verify signature ([#39](https://github.com/nervosnetwork/muta/issues/39)) ([b11e69e](https://github.com/nervosnetwork/muta/commit/b11e69e49ed195d0d23f22b6abf1387f4a4c0c94))
* **consensus:** fix check state roots ([#107](https://github.com/nervosnetwork/muta/issues/107)) ([cf45c3b](https://github.com/nervosnetwork/muta/commit/cf45c3ba39eb65bdb012165e232352a9187a6f0d))
* **consensus:** Get authority list returns none. ([#4](https://github.com/nervosnetwork/muta/issues/4)) ([2a7eb3c](https://github.com/nervosnetwork/muta/commit/2a7eb3c26fade5a065ec2435b4ba46b6c16f223a))
* **consensus:** state root can not be clear ([#140](https://github.com/nervosnetwork/muta/issues/140)) ([4ea1df4](https://github.com/nervosnetwork/muta/commit/4ea1df425620482f36daf61b4b50edb83807efdd))
* **consensus:** sync txs context no session id ([#167](https://github.com/nervosnetwork/muta/issues/167)) ([53136c3](https://github.com/nervosnetwork/muta/commit/53136c3dfdf0e7b29762cd72f51eeb35d52804c2))
* **doc:** fix graphql_api doc link and doc-api build sh ([#161](https://github.com/nervosnetwork/muta/issues/161)) ([e67e2b2](https://github.com/nervosnetwork/muta/commit/e67e2b24bf0609c263f59381a83fcf04d2227583))
* **executor:** wrong hook logic ([#127](https://github.com/nervosnetwork/muta/issues/127)) ([8c6a246](https://github.com/nervosnetwork/muta/commit/8c6a246a1b64a197371305856148b034320f1fa0))
* **framework/executor:** Catch any errors in the call. ([#92](https://github.com/nervosnetwork/muta/issues/92)) ([739a126](https://github.com/nervosnetwork/muta/commit/739a126c86643b28e1c47aef87d8bd803b9fe8d9))
* **keypair:** Use hex encoding common_ref. ([#79](https://github.com/nervosnetwork/muta/issues/79)) ([abbce4c](https://github.com/nervosnetwork/muta/commit/abbce4c15919f45f824bd4967ea64f8234548765))
* **makefile:** Docker push to the correct image ([#146](https://github.com/nervosnetwork/muta/issues/146)) ([05f6396](https://github.com/nervosnetwork/muta/commit/05f6396f1786b46b4cf9c41e3f700b37ebaddb68))
* **mempool:** Always get the latest epoch id when `package`. ([#30](https://github.com/nervosnetwork/muta/issues/30)) ([9a77ebf](https://github.com/nervosnetwork/muta/commit/9a77ebf9ecba6323cc81cd094774e32fd28b946e))
* **mempool:** broadcast new transactions ([#32](https://github.com/nervosnetwork/muta/issues/32)) ([086ec7e](https://github.com/nervosnetwork/muta/commit/086ec7eb6ca2c8f6afc14767d51efdb91533f932))
* **mempool:** Fix concurrent insert bug of mempool ([#19](https://github.com/nervosnetwork/muta/issues/19)) ([515eec2](https://github.com/nervosnetwork/muta/commit/515eec2ab65a2d57a5ca742c774daeb9cef99354))
* **mempool:** Resize the queue to ensure correct switching. ([#18](https://github.com/nervosnetwork/muta/issues/18)) ([ebf1ae3](https://github.com/nervosnetwork/muta/commit/ebf1ae34861fc48297813cdc465e4d9c99e059d4))
* **mempool:** sync proposal txs doesn't insert txs at all ([#179](https://github.com/nervosnetwork/muta/issues/179)) ([33f39c5](https://github.com/nervosnetwork/muta/commit/33f39c5bac0235a8261c53327c558864a6149c8a))
* **network:** dead lock in peer manager ([#24](https://github.com/nervosnetwork/muta/issues/24)) ([a74017a](https://github.com/nervosnetwork/muta/commit/a74017aa9d84b6b862683860e63c000b4048e459))
* **network:** default rpc timeout to 4 seconds ([#115](https://github.com/nervosnetwork/muta/issues/115)) ([666049c](https://github.com/nervosnetwork/muta/commit/666049c54c8eee8291cc173230caccb35de137ca))
* **network:** fail to bootstrap if bootstrap isn't start already ([#46](https://github.com/nervosnetwork/muta/issues/46)) ([9dd515a](https://github.com/nervosnetwork/muta/commit/9dd515a3e09f1c158dff6536ed38eb5116f4317f))
* **network:** give up retry ([#152](https://github.com/nervosnetwork/muta/issues/152)) ([34d052a](https://github.com/nervosnetwork/muta/commit/34d052aaba1684333fdd49f86e54c103064fa2f6))
* **network:** never reconnect bootstrap again after failure ([#22](https://github.com/nervosnetwork/muta/issues/22)) ([79d66bd](https://github.com/nervosnetwork/muta/commit/79d66bd06e61ff6ef41c12ada91cf6485482aa43))
* **network:** NoSessionId Error ([#33](https://github.com/nervosnetwork/muta/issues/33)) ([4761d79](https://github.com/nervosnetwork/muta/commit/4761d797dded9534e0c0b5e43c6e519055542c2c))
* **network:** rpc memory leak if rpc call future is dropped ([#166](https://github.com/nervosnetwork/muta/issues/166)) ([8476a4b](https://github.com/nervosnetwork/muta/commit/8476a4b85bf3cf923adcd7555cef04ae73a225f1))
* **sync:** Check the height again after get the lock ([#171](https://github.com/nervosnetwork/muta/issues/171)) ([68164f3](https://github.com/nervosnetwork/muta/commit/68164f3f75d83b9507ee68a099fb712492339edb))
* **sync:** Flush the memory pool when the storage success ([#165](https://github.com/nervosnetwork/muta/issues/165)) ([3b9cbd5](https://github.com/nervosnetwork/muta/commit/3b9cbd55310993c783b0a5794237df75accf118e))
* fix overlord not found error ([#95](https://github.com/nervosnetwork/muta/issues/95)) ([0754c64](https://github.com/nervosnetwork/muta/commit/0754c64973f7fca92e49080c3a03a869b43a4c46))
* Ignore bootstraps when empty. ([#41](https://github.com/nervosnetwork/muta/issues/41)) ([2b3566b](https://github.com/nervosnetwork/muta/commit/2b3566b4acb91f6086b9cca2b1ea4d2883a75be9))
### Features
* **config:** move bls_pub_key config to genesis.toml ([#162](https://github.com/nervosnetwork/muta/issues/162)) ([337b01f](https://github.com/nervosnetwork/muta/commit/337b01fda21fc33f4d4817d93a27d86af9e2b164))
* **network:** interval report pending data size ([#160](https://github.com/nervosnetwork/muta/issues/160)) ([3c46aca](https://github.com/nervosnetwork/muta/commit/3c46aca4873abf9b8afd01d5f464df57bb1b9b9a))
* **sync:** Trigger sync after waiting for consensus interval ([#169](https://github.com/nervosnetwork/muta/issues/169)) ([fe355f1](https://github.com/nervosnetwork/muta/commit/fe355f1d7d6359dfa97809f1bc603cb99975ba46))
* add api schema ([#90](https://github.com/nervosnetwork/muta/issues/90)) ([3f8adfa](https://github.com/nervosnetwork/muta/commit/3f8adfa0a717b055a4455fd102de68003f835bf2))
* add common_ref argument for keypair tool ([#154](https://github.com/nervosnetwork/muta/issues/154)) ([2651346](https://github.com/nervosnetwork/muta/commit/26513469206aa8a4480c5fffad9d134d5d0e8ded))
* add panic hook to logger ([#156](https://github.com/nervosnetwork/muta/issues/156)) ([93b65fe](https://github.com/nervosnetwork/muta/commit/93b65feb89502b7d7836d7f4c423db37fbd1ef4f))
* Extract muta as crate. ([1b62fe7](https://github.com/nervosnetwork/muta/commit/1b62fe786fbd576b67ea28df3d304d235ae3e94e))
* Metadata service ([#133](https://github.com/nervosnetwork/muta/issues/133)) ([a588b12](https://github.com/nervosnetwork/muta/commit/a588b12de4f3c0de666b66e2a5dea65d71977f5f))
* spawn sync txs in check epoch ([6dca1dd](https://github.com/nervosnetwork/muta/commit/6dca1ddcd9256a3061f132a5abc5d784d466c168))
* support specify module log level via config ([#105](https://github.com/nervosnetwork/muta/issues/105)) ([c06061b](https://github.com/nervosnetwork/muta/commit/c06061b4ccd755177385dfee000783e2b11b0dcd))
* Update juniper, supports async ([#149](https://github.com/nervosnetwork/muta/issues/149)) ([cbabf50](https://github.com/nervosnetwork/muta/commit/cbabf507c25ee8feb8a57de408bc97efc8a4a4ab))
* update overlord with brake engine ([#159](https://github.com/nervosnetwork/muta/issues/159)) ([8cd886a](https://github.com/nervosnetwork/muta/commit/8cd886a79fec934a53d409a27de941f16166c176)), closes [#156](https://github.com/nervosnetwork/muta/issues/156) [#158](https://github.com/nervosnetwork/muta/issues/158)
* **api:** Add the exec_height field to the block ([#138](https://github.com/nervosnetwork/muta/issues/138)) ([417153c](https://github.com/nervosnetwork/muta/commit/417153c632793c7ac4e7bc3ffa5b2832dd2dbe66))
* **binding-macro:** service method supports none payload and none response ([#103](https://github.com/nervosnetwork/muta/issues/103)) ([3a5783e](https://github.com/nervosnetwork/muta/commit/3a5783eadd1090cf739d4fdbe94f049115eb65f0))
* **consensus:** develop aggregate crypto with overlord ([#60](https://github.com/nervosnetwork/muta/issues/60)) ([2bc0869](https://github.com/nervosnetwork/muta/commit/2bc0869e928b35c674b4cafdf48540298752b5b5))
* **core/binding:** Implementation of service state. ([#48](https://github.com/nervosnetwork/muta/issues/48)) ([301be6f](https://github.com/nervosnetwork/muta/commit/301be6f39379bd3826b5f605c999ce107f7404e4))
* **core/binding-macro:** Add `read` and `write` proc-macro. ([#49](https://github.com/nervosnetwork/muta/issues/49)) ([687b6e1](https://github.com/nervosnetwork/muta/commit/687b6e1e1a960f679394843c42b861981828d8aa))
* **core/binding-macro:** Add cycles proc-marco. ([#52](https://github.com/nervosnetwork/muta/issues/52)) ([e2289a2](https://github.com/nervosnetwork/muta/commit/e2289a2481510b59c18e37d0fc8bedd9f5d4537e))
* **core/binding-macro:** Support for returning a struct. ([#70](https://github.com/nervosnetwork/muta/issues/70)) ([e13b1ff](https://github.com/nervosnetwork/muta/commit/e13b1ff7834279de9c2df5a0df6967035b7fb8b3))
* **framework:** add ExecutorParams into hook method ([#116](https://github.com/nervosnetwork/muta/issues/116)) ([8036bd6](https://github.com/nervosnetwork/muta/commit/8036bd6f9be1f49eedbc40bbc260ad82952c2e71))
* **framework:** add extra: Option
Developed by NervosBuild your own blockchain,today
由 Nervos 团队开发