forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/origin/mm2' into libp2p-gossip-…
…sub-ordermatch # Conflicts: # Cargo.lock # mm2src/coins/lp_coins.rs # mm2src/coins/utxo/rpc_clients.rs # mm2src/common/build.rs # mm2src/common/common.rs # mm2src/common/mm_ctx.rs # mm2src/common/mm_number.rs # mm2src/docker_tests.rs # mm2src/lp_native_dex.rs # mm2src/lp_network.rs # mm2src/lp_ordermatch.rs # mm2src/lp_swap.rs # mm2src/lp_swap/maker_swap.rs # mm2src/lp_swap/taker_swap.rs # mm2src/mm2.rs # mm2src/mm2_tests.rs # mm2src/rpc.rs # mm2src/rpc/lp_signatures.rs
- Loading branch information
Showing
54 changed files
with
12,282 additions
and
7,928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Contributing to AtomicDEX Marketmaker | ||
|
||
We welcomes contribution from everyone in the form of suggestions, bug reports, pull requests, and feedback. | ||
Please note we have a code of conduct, please follow it in all your interactions with the project. | ||
|
||
## Submitting feature requests | ||
|
||
Before uploading any changes, please make sure that the test suite passes locally before submitting a pull request with your changes. | ||
|
||
``` | ||
cargo test --all --features native | ||
``` | ||
|
||
We also use [Clippy](https://github.com/rust-lang/rust-clippy) to avoid common mistakes | ||
and we use [rustfmt](https://github.com/rust-lang/rustfmt) to make our code clear to everyone. | ||
|
||
1. Install these tools (only once): | ||
``` | ||
rustup component add rustfmt --toolchain nightly-2020-02-01 | ||
rustup component add clippy | ||
``` | ||
1. Format the code using rustfmt: | ||
``` | ||
cargo +nightly fmt | ||
``` | ||
1. Make sure there are no warnings and errors. Run the Clippy: | ||
``` | ||
cargo clippy --features native -- -D warnings | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.