[INFO] cloning repository https://github.com/LEON-HYZ/ece598-block-chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LEON-HYZ/ece598-block-chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLEON-HYZ%2Fece598-block-chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLEON-HYZ%2Fece598-block-chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28bac973e5eeacc817dfadabc3b544fc4a029cf5 [INFO] checking LEON-HYZ/ece598-block-chain against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLEON-HYZ%2Fece598-block-chain" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LEON-HYZ/ece598-block-chain on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LEON-HYZ/ece598-block-chain [INFO] finished tweaking git repo https://github.com/LEON-HYZ/ece598-block-chain [INFO] tweaked toml for git repo https://github.com/LEON-HYZ/ece598-block-chain written to /workspace/builds/worker-101/source/Cargo.toml [INFO] crate git repo https://github.com/LEON-HYZ/ece598-block-chain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex v0.4.0 [INFO] [stderr] Downloaded term_size v0.3.1 [INFO] [stderr] Downloaded tiny_http v0.6.2 [INFO] [stderr] Downloaded bincode v1.2.0 [INFO] [stderr] Downloaded ascii v0.8.7 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] [stderr] Downloaded modpow v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8567f01f130f208cb540d7ad490462bd2b4e026ecd62dc33d92835493ff9978a [INFO] running `Command { std: "docker" "start" "-a" "8567f01f130f208cb540d7ad490462bd2b4e026ecd62dc33d92835493ff9978a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8567f01f130f208cb540d7ad490462bd2b4e026ecd62dc33d92835493ff9978a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8567f01f130f208cb540d7ad490462bd2b4e026ecd62dc33d92835493ff9978a", kill_on_drop: false }` [INFO] [stdout] 8567f01f130f208cb540d7ad490462bd2b4e026ecd62dc33d92835493ff9978a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07816ded3283d88c9fbf78716a96924fef7ba8200d59a590e5d1cd08845da271 [INFO] running `Command { std: "docker" "start" "-a" "07816ded3283d88c9fbf78716a96924fef7ba8200d59a590e5d1cd08845da271", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.5 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking modpow v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking bitcoin v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/network/worker.rs (27 fixes) [INFO] [stderr] Fixed src/accumulator.rs (11 fixes) [INFO] [stderr] Fixed src/miner.rs (13 fixes) [INFO] [stderr] Fixed src/network/message.rs (2 fixes) [INFO] [stderr] Fixed src/crypto/merkle.rs (3 fixes) [INFO] [stderr] Fixed src/block.rs (7 fixes) [INFO] [stderr] Fixed src/blockchain.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (8 fixes) [INFO] [stderr] Fixed src/crypto/hash.rs (1 fix) [INFO] [stderr] Fixed src/transaction.rs (31 fixes) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hashable_160` should have an upper camel case name [INFO] [stdout] --> src/crypto/hash.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub trait Hashable_160 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Hashable160` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `witness` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct witness { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `input` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct input { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `output` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct output { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hashable_160` should have an upper camel case name [INFO] [stdout] --> src/crypto/hash.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub trait Hashable_160 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Hashable160` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `witness` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct witness { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `input` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct input { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `output` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct output { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude` [INFO] [stdout] --> src/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/network/worker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerificationAlgorithm` [INFO] [stdout] --> src/transaction.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hashable_160` [INFO] [stdout] --> src/transaction.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::crypto::hash::{H256, Hashable, H160, Hashable_160}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dest_value` is never read [INFO] [stdout] --> src/transaction.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | let mut dest_value:f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude` [INFO] [stdout] --> src/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/network/worker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerificationAlgorithm` [INFO] [stdout] --> src/transaction.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hashable_160` [INFO] [stdout] --> src/transaction.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::crypto::hash::{H256, Hashable, H160, Hashable_160}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dest_value` is never read [INFO] [stdout] --> src/transaction.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | let mut dest_value:f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_address` [INFO] [stdout] --> src/miner.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | local_address: H160, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_public_key` [INFO] [stdout] --> src/miner.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | local_public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Mempool` should have a snake case name [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let new_Mempool = transaction::Mempool::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_mempool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_StateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let new_StateWitness = transaction::StateWitness::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let stateWitness = Arc::new(Mutex::new(new_StateWitness)); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Accumulator` should have a snake case name [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let new_Accumulator = accumulator::Accumulator::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut ifArchival = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merkleRoot` should have a snake case name [INFO] [stdout] --> src/block.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub merkleRoot: H256, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Header` should have a snake case name [INFO] [stdout] --> src/block.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub Header: Header, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Content` should have a snake case name [INFO] [stdout] --> src/block.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub Content: Content, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/block.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let MerkleTree = MerkleTree::new(&transaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/block.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/block.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/block.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub Blocks: HashMap, //H256 - [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut Blocks:HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockLists` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut blockLists = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentHash` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let parentHash = self.Blocks.get(&hash).as_ref().unwrap().0.getparent(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash256` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let Hash256 : H256 = ring::digest::digest(&ring::digest::SHA256, &self.0).into(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash160` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut Hash160 = [0; 20]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leafNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut leafNodes = Vec::with_capacity(length); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `leaf_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childrenNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut childrenNodes = leafNodes.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `children_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curLength` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut curLength = childrenNodes.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cur_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TreeNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut TreeNodes:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let leftNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let leftNodeVal = (leftNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let rightNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let rightNodeVal = (rightNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let parentNodeVal = ::from(digest::digest(&digest::SHA256, &([&leftNodeVal[..], &rightNodeVal[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parent_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let parentNode = TreeNode{val: parentNodeVal ,left:Some(Box::new(leftNode)),right:Some(Box::new(rightNode))}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut curNode = self.root.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut proofVec:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let realIndex = (index + 1) as i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let realHeight = self.height; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `real_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oriCenter` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut oriCenter = center; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ori_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let leftNode = curNode.left.as_ref(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let rightNode = curNode.right.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn getHeight(mut length:usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut proofVec = Vec::from(proof.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut realIndex = index + 1; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let mut signedTransaction = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/miner.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | let MerkleTree = MerkleTree::new(&signedTransaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/miner.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/miner.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 232 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/miner.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HashMap` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HashMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOrphanBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_orphan_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Blocks = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Parent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove(&mut self, Hash:&H256) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isParentIn` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_parent_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | ifArchival: bool [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let mut notContainedBlocks = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphanParent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | let mut newlyOrphanParent = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphan_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyProcessedBlockHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut newlyProcessedBlockHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_processed_block_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphans` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 293 | ... let mut newlyOrphans = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:340:49 [INFO] [stdout] | [INFO] [stdout] 340 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:390:29 [INFO] [stdout] | [INFO] [stdout] 390 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedTransactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | let mut notContainedTransactions = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:425:39 [INFO] [stdout] | [INFO] [stdout] 425 | Message::Transactions(Transactions) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | let Transactions = Transactions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `addedTransactionHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let mut addedTransactionHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `added_transaction_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | for Transaction in Transactions.iter(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newState` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:43 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newProof` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:53 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prevTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub prevTransaction: H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prev_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `preOutputIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub preOutputIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pre_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub recpAddress: H160, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub Input: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Output` should have a snake case name [INFO] [stdout] --> src/transaction.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub Output: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub publicKey: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let publicKey = public_key.as_ref().to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifySignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn verifySignedTransaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verify_signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Transactions` should have a snake case name [INFO] [stdout] --> src/transaction.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub Transactions: HashMap, // hash <-> transaction(signed) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateMempool` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_mempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | for signedTransaction in SignedTransaction{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `readADD` should have a snake case name [INFO] [stdout] --> src/transaction.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let mut readADD: bool = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let mut ICO: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ico` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/transaction.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myStateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | let mut myStateWitness = Vec::<(H256, u32, u32, u128)>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `my_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Iteration` should have a snake case name [INFO] [stdout] --> src/transaction.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | for Iteration in myStateWitness.iter() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iteration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | let SignedTransaction = SignedTransaction::new(&transaction, &signature, &self.key_pair.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let mut txHash = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pre_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:49 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pre_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outValue` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:93 [INFO] [stdout] | [INFO] [stdout] 503 | ...&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `out_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:113 [INFO] [stdout] | [INFO] [stdout] 503 | ...c, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let mut inputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `input_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let mut outputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `output_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub States: HashMap<(H256, u32),(f32, H160, u32, u128)>, // (prev TX Hash, prev Output Index) <-> (Output Value, Recipient Addr, Pri... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | pub AccumulatorProof: HashMap, // Block Hash <-> Accumulator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ifNotDoubleSpent` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_not_double_spent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:37 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:57 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let AccumulatorProof = self.AccumulatorProof.get(&Block_Hash).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn addStates(&mut self, transaction_hash: H256, output_index: u32, output_value: f32, recp_address: H160, prime_number: u32, witn... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deleteStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn deleteStates(&mut self, transaction_hash: H256, output_index: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `delete_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateAccumulator` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:41 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:59 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAllStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub fn getAllStates(&self) -> Vec<(H256, u32, f32, H160, u32, u128)>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let States = self.States.clone(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getNewProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn getNewProof(&self, block_hash: &H256) -> Vec<(H256,u128)> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | let AccumulatorProof = self.AccumulatorProof.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rand_addr_H160` should have a snake case name [INFO] [stdout] --> src/transaction.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | let rand_addr_H160 = ::from(digest::digest(&digest::SHA256,"442cabd17e40d95ac0932d977c0759397b9db4d93c4d62c368b95419db574db0".a... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rand_addr_h160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let SignedTransaction = SignedTransaction::new(&transaction,&signature,&key.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 146 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_address` [INFO] [stdout] --> src/miner.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | local_address: H160, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_public_key` [INFO] [stdout] --> src/miner.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | local_public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Mempool` should have a snake case name [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let new_Mempool = transaction::Mempool::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_mempool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_StateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let new_StateWitness = transaction::StateWitness::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let stateWitness = Arc::new(Mutex::new(new_StateWitness)); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Accumulator` should have a snake case name [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let new_Accumulator = accumulator::Accumulator::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut ifArchival = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merkleRoot` should have a snake case name [INFO] [stdout] --> src/block.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub merkleRoot: H256, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Header` should have a snake case name [INFO] [stdout] --> src/block.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub Header: Header, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Content` should have a snake case name [INFO] [stdout] --> src/block.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub Content: Content, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/block.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let MerkleTree = MerkleTree::new(&transaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/block.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/block.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/block.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub Blocks: HashMap, //H256 - [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut Blocks:HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockLists` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut blockLists = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentHash` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let parentHash = self.Blocks.get(&hash).as_ref().unwrap().0.getparent(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash256` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let Hash256 : H256 = ring::digest::digest(&ring::digest::SHA256, &self.0).into(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash160` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut Hash160 = [0; 20]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leafNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut leafNodes = Vec::with_capacity(length); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `leaf_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childrenNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut childrenNodes = leafNodes.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `children_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curLength` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut curLength = childrenNodes.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cur_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TreeNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut TreeNodes:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let leftNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let leftNodeVal = (leftNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let rightNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let rightNodeVal = (rightNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let parentNodeVal = ::from(digest::digest(&digest::SHA256, &([&leftNodeVal[..], &rightNodeVal[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parent_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let parentNode = TreeNode{val: parentNodeVal ,left:Some(Box::new(leftNode)),right:Some(Box::new(rightNode))}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut curNode = self.root.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut proofVec:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let realIndex = (index + 1) as i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let realHeight = self.height; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `real_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oriCenter` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut oriCenter = center; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ori_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let leftNode = curNode.left.as_ref(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let rightNode = curNode.right.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn getHeight(mut length:usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut proofVec = Vec::from(proof.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut realIndex = index + 1; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let mut signedTransaction = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/miner.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | let MerkleTree = MerkleTree::new(&signedTransaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/miner.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/miner.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 232 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/miner.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HashMap` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HashMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOrphanBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_orphan_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Blocks = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Parent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove(&mut self, Hash:&H256) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isParentIn` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_parent_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | ifArchival: bool [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let mut notContainedBlocks = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphanParent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | let mut newlyOrphanParent = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphan_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyProcessedBlockHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut newlyProcessedBlockHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_processed_block_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphans` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 293 | ... let mut newlyOrphans = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:340:49 [INFO] [stdout] | [INFO] [stdout] 340 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:390:29 [INFO] [stdout] | [INFO] [stdout] 390 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedTransactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | let mut notContainedTransactions = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:425:39 [INFO] [stdout] | [INFO] [stdout] 425 | Message::Transactions(Transactions) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | let Transactions = Transactions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `addedTransactionHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let mut addedTransactionHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `added_transaction_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | for Transaction in Transactions.iter(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newState` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:43 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newProof` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:53 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prevTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub prevTransaction: H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prev_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `preOutputIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub preOutputIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pre_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub recpAddress: H160, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub Input: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Output` should have a snake case name [INFO] [stdout] --> src/transaction.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub Output: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub publicKey: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let publicKey = public_key.as_ref().to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifySignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn verifySignedTransaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verify_signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Transactions` should have a snake case name [INFO] [stdout] --> src/transaction.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub Transactions: HashMap, // hash <-> transaction(signed) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateMempool` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_mempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | for signedTransaction in SignedTransaction{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `readADD` should have a snake case name [INFO] [stdout] --> src/transaction.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let mut readADD: bool = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let mut ICO: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ico` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/transaction.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myStateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | let mut myStateWitness = Vec::<(H256, u32, u32, u128)>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `my_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Iteration` should have a snake case name [INFO] [stdout] --> src/transaction.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | for Iteration in myStateWitness.iter() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iteration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | let SignedTransaction = SignedTransaction::new(&transaction, &signature, &self.key_pair.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let mut txHash = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pre_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:49 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pre_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outValue` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:93 [INFO] [stdout] | [INFO] [stdout] 503 | ...&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `out_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:113 [INFO] [stdout] | [INFO] [stdout] 503 | ...c, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let mut inputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `input_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let mut outputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `output_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub States: HashMap<(H256, u32),(f32, H160, u32, u128)>, // (prev TX Hash, prev Output Index) <-> (Output Value, Recipient Addr, Pri... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | pub AccumulatorProof: HashMap, // Block Hash <-> Accumulator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ifNotDoubleSpent` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_not_double_spent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:37 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:57 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let AccumulatorProof = self.AccumulatorProof.get(&Block_Hash).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn addStates(&mut self, transaction_hash: H256, output_index: u32, output_value: f32, recp_address: H160, prime_number: u32, witn... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deleteStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn deleteStates(&mut self, transaction_hash: H256, output_index: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `delete_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateAccumulator` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:41 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:59 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAllStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub fn getAllStates(&self) -> Vec<(H256, u32, f32, H160, u32, u128)>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let States = self.States.clone(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getNewProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn getNewProof(&self, block_hash: &H256) -> Vec<(H256,u128)> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | let AccumulatorProof = self.AccumulatorProof.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rand_addr_H160` should have a snake case name [INFO] [stdout] --> src/transaction.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | let rand_addr_H160 = ::from(digest::digest(&digest::SHA256,"442cabd17e40d95ac0932d977c0759397b9db4d93c4d62c368b95419db574db0".a... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rand_addr_h160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let SignedTransaction = SignedTransaction::new(&transaction,&signature,&key.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 145 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bincode v1.2.0 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking bitcoin v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hashable_160` should have an upper camel case name [INFO] [stdout] --> src/crypto/hash.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub trait Hashable_160 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Hashable160` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `witness` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct witness { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `input` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct input { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `output` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct output { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hashable_160` should have an upper camel case name [INFO] [stdout] --> src/crypto/hash.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub trait Hashable_160 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Hashable160` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `witness` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct witness { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `input` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct input { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `output` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct output { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude` [INFO] [stdout] --> src/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/network/worker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerificationAlgorithm` [INFO] [stdout] --> src/transaction.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hashable_160` [INFO] [stdout] --> src/transaction.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::crypto::hash::{H256, Hashable, H160, Hashable_160}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dest_value` is never read [INFO] [stdout] --> src/transaction.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | let mut dest_value:f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude` [INFO] [stdout] --> src/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/network/worker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerificationAlgorithm` [INFO] [stdout] --> src/transaction.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use ring::signature::{Ed25519KeyPair, Signature, KeyPair, VerificationAlgorithm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hashable_160` [INFO] [stdout] --> src/transaction.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::crypto::hash::{H256, Hashable, H160, Hashable_160}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dest_value` is never read [INFO] [stdout] --> src/transaction.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | let mut dest_value:f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_address` [INFO] [stdout] --> src/miner.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | local_address: H160, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_public_key` [INFO] [stdout] --> src/miner.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | local_public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Mempool` should have a snake case name [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let new_Mempool = transaction::Mempool::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_mempool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_StateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let new_StateWitness = transaction::StateWitness::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let stateWitness = Arc::new(Mutex::new(new_StateWitness)); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Accumulator` should have a snake case name [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let new_Accumulator = accumulator::Accumulator::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut ifArchival = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merkleRoot` should have a snake case name [INFO] [stdout] --> src/block.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub merkleRoot: H256, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Header` should have a snake case name [INFO] [stdout] --> src/block.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub Header: Header, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Content` should have a snake case name [INFO] [stdout] --> src/block.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub Content: Content, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/block.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let MerkleTree = MerkleTree::new(&transaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/block.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/block.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/block.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub Blocks: HashMap, //H256 - [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut Blocks:HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockLists` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut blockLists = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentHash` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let parentHash = self.Blocks.get(&hash).as_ref().unwrap().0.getparent(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash256` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let Hash256 : H256 = ring::digest::digest(&ring::digest::SHA256, &self.0).into(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash160` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut Hash160 = [0; 20]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leafNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut leafNodes = Vec::with_capacity(length); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `leaf_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childrenNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut childrenNodes = leafNodes.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `children_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curLength` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut curLength = childrenNodes.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cur_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TreeNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut TreeNodes:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let leftNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let leftNodeVal = (leftNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let rightNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let rightNodeVal = (rightNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let parentNodeVal = ::from(digest::digest(&digest::SHA256, &([&leftNodeVal[..], &rightNodeVal[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parent_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let parentNode = TreeNode{val: parentNodeVal ,left:Some(Box::new(leftNode)),right:Some(Box::new(rightNode))}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut curNode = self.root.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut proofVec:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let realIndex = (index + 1) as i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let realHeight = self.height; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `real_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oriCenter` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut oriCenter = center; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ori_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let leftNode = curNode.left.as_ref(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let rightNode = curNode.right.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn getHeight(mut length:usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut proofVec = Vec::from(proof.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut realIndex = index + 1; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let mut signedTransaction = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/miner.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | let MerkleTree = MerkleTree::new(&signedTransaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/miner.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/miner.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 232 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/miner.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HashMap` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HashMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOrphanBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_orphan_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Blocks = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Parent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove(&mut self, Hash:&H256) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isParentIn` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_parent_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | ifArchival: bool [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let mut notContainedBlocks = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphanParent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | let mut newlyOrphanParent = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphan_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyProcessedBlockHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut newlyProcessedBlockHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_processed_block_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphans` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 293 | ... let mut newlyOrphans = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:340:49 [INFO] [stdout] | [INFO] [stdout] 340 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:390:29 [INFO] [stdout] | [INFO] [stdout] 390 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedTransactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | let mut notContainedTransactions = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:425:39 [INFO] [stdout] | [INFO] [stdout] 425 | Message::Transactions(Transactions) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | let Transactions = Transactions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `addedTransactionHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let mut addedTransactionHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `added_transaction_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | for Transaction in Transactions.iter(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newState` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:43 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newProof` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:53 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prevTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub prevTransaction: H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prev_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `preOutputIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub preOutputIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pre_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub recpAddress: H160, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub Input: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Output` should have a snake case name [INFO] [stdout] --> src/transaction.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub Output: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub publicKey: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let publicKey = public_key.as_ref().to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifySignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn verifySignedTransaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verify_signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Transactions` should have a snake case name [INFO] [stdout] --> src/transaction.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub Transactions: HashMap, // hash <-> transaction(signed) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateMempool` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_mempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | for signedTransaction in SignedTransaction{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `readADD` should have a snake case name [INFO] [stdout] --> src/transaction.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let mut readADD: bool = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let mut ICO: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ico` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_address` [INFO] [stdout] --> src/miner.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | local_address: H160, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_public_key` [INFO] [stdout] --> src/miner.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | local_public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/transaction.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myStateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | let mut myStateWitness = Vec::<(H256, u32, u32, u128)>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `my_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Iteration` should have a snake case name [INFO] [stdout] --> src/transaction.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | for Iteration in myStateWitness.iter() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iteration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | let SignedTransaction = SignedTransaction::new(&transaction, &signature, &self.key_pair.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let mut txHash = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pre_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:49 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pre_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outValue` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:93 [INFO] [stdout] | [INFO] [stdout] 503 | ...&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `out_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:113 [INFO] [stdout] | [INFO] [stdout] 503 | ...c, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let mut inputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `input_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let mut outputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `output_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub States: HashMap<(H256, u32),(f32, H160, u32, u128)>, // (prev TX Hash, prev Output Index) <-> (Output Value, Recipient Addr, Pri... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | pub AccumulatorProof: HashMap, // Block Hash <-> Accumulator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ifNotDoubleSpent` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_not_double_spent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:37 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:57 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let AccumulatorProof = self.AccumulatorProof.get(&Block_Hash).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn addStates(&mut self, transaction_hash: H256, output_index: u32, output_value: f32, recp_address: H160, prime_number: u32, witn... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deleteStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn deleteStates(&mut self, transaction_hash: H256, output_index: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `delete_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateAccumulator` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:41 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:59 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAllStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub fn getAllStates(&self) -> Vec<(H256, u32, f32, H160, u32, u128)>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let States = self.States.clone(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getNewProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn getNewProof(&self, block_hash: &H256) -> Vec<(H256,u128)> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | let AccumulatorProof = self.AccumulatorProof.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rand_addr_H160` should have a snake case name [INFO] [stdout] --> src/transaction.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | let rand_addr_H160 = ::from(digest::digest(&digest::SHA256,"442cabd17e40d95ac0932d977c0759397b9db4d93c4d62c368b95419db574db0".a... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rand_addr_h160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let SignedTransaction = SignedTransaction::new(&transaction,&signature,&key.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Mempool` should have a snake case name [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let new_Mempool = transaction::Mempool::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_mempool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_StateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let new_StateWitness = transaction::StateWitness::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let stateWitness = Arc::new(Mutex::new(new_StateWitness)); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Accumulator` should have a snake case name [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let new_Accumulator = accumulator::Accumulator::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut ifArchival = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merkleRoot` should have a snake case name [INFO] [stdout] --> src/block.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub merkleRoot: H256, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Header` should have a snake case name [INFO] [stdout] --> src/block.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub Header: Header, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Content` should have a snake case name [INFO] [stdout] --> src/block.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub Content: Content, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/block.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let MerkleTree = MerkleTree::new(&transaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/block.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/block.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/block.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub Blocks: HashMap, //H256 - [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut Blocks:HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockLists` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut blockLists = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentHash` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let parentHash = self.Blocks.get(&hash).as_ref().unwrap().0.getparent(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash256` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let Hash256 : H256 = ring::digest::digest(&ring::digest::SHA256, &self.0).into(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash160` should have a snake case name [INFO] [stdout] --> src/crypto/hash.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut Hash160 = [0; 20]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leafNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut leafNodes = Vec::with_capacity(length); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `leaf_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childrenNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut childrenNodes = leafNodes.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `children_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curLength` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut curLength = childrenNodes.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cur_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TreeNodes` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut TreeNodes:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let leftNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let leftNodeVal = (leftNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let rightNode = childrenNodes.remove(0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let rightNodeVal = (rightNode.val).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNodeVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let parentNodeVal = ::from(digest::digest(&digest::SHA256, &([&leftNodeVal[..], &rightNodeVal[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parent_node_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let parentNode = TreeNode{val: parentNodeVal ,left:Some(Box::new(leftNode)),right:Some(Box::new(rightNode))}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parent_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut curNode = self.root.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut proofVec:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let realIndex = (index + 1) as i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let realHeight = self.height; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `real_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oriCenter` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut oriCenter = center; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ori_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let leftNode = curNode.left.as_ref(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `left_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNode` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let rightNode = curNode.right.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `right_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHeight` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn getHeight(mut length:usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proofVec` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut proofVec = Vec::from(proof.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `proof_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realIndex` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut realIndex = index + 1; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `real_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parentVal` should have a snake case name [INFO] [stdout] --> src/crypto/merkle.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let parentVal = ::from(digest::digest(&digest::SHA256, &([&left[..], &right[..]].concat()))); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parent_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/miner.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/miner.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let mut signedTransaction = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MerkleTree` should have a snake case name [INFO] [stdout] --> src/miner.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | let MerkleTree = MerkleTree::new(&signedTransaction); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newContent` should have a snake case name [INFO] [stdout] --> src/miner.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | let newContent = Content{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHeader` should have a snake case name [INFO] [stdout] --> src/miner.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 232 | let newHeader = Header{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newBlock` should have a snake case name [INFO] [stdout] --> src/miner.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let newBlock = Block{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/miner.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HashMap` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HashMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOrphanBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_orphan_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOrphanBlocks(&self, Hash:&H256) -> Vec { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Blocks = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Parent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Blocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn insert(&mut self, Parent:H256, Blocks:Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove(&mut self, Hash:&H256) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isParentIn` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_parent_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hash` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn isParentIn(&self, Hash:&H256) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 146 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | ifArchival: bool [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedBlocks` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let mut notContainedBlocks = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphanParent` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | let mut newlyOrphanParent = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphan_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyProcessedBlockHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut newlyProcessedBlockHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_processed_block_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newlyOrphans` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 293 | ... let mut newlyOrphans = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `newly_orphans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | ... let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:340:49 [INFO] [stdout] | [INFO] [stdout] 340 | ... let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | ... let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:390:29 [INFO] [stdout] | [INFO] [stdout] 390 | let mut notContainedHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notContainedTransactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | let mut notContainedTransactions = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `not_contained_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:425:39 [INFO] [stdout] | [INFO] [stdout] 425 | Message::Transactions(Transactions) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transactions` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | let Transactions = Transactions.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `addedTransactionHashes` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let mut addedTransactionHashes = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `added_transaction_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Transaction` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | for Transaction in Transactions.iter(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newState` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:43 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newProof` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:454:53 [INFO] [stdout] | [INFO] [stdout] 454 | Message::NewStateWitness( newState, newProof) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/network/worker.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prevTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub prevTransaction: H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prev_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `preOutputIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub preOutputIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pre_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub recpAddress: H160, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub Input: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Output` should have a snake case name [INFO] [stdout] --> src/transaction.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub Output: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub publicKey: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKey` should have a snake case name [INFO] [stdout] --> src/transaction.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let publicKey = public_key.as_ref().to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifySignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn verifySignedTransaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verify_signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Transactions` should have a snake case name [INFO] [stdout] --> src/transaction.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub Transactions: HashMap, // hash <-> transaction(signed) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateMempool` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_mempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn updateMempool(&mut self, SignedTransaction: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | for signedTransaction in SignedTransaction{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | stateWitness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | stateWitness: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifArchival` should have a snake case name [INFO] [stdout] --> src/transaction.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | ifArchival: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `if_archival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `readADD` should have a snake case name [INFO] [stdout] --> src/transaction.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let mut readADD: bool = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let mut ICO: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ico` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | let mut stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/transaction.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let A = accumulator.accumulate(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myStateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | let mut myStateWitness = Vec::<(H256, u32, u32, u128)>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `my_state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Iteration` should have a snake case name [INFO] [stdout] --> src/transaction.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | for Iteration in myStateWitness.iter() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iteration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | let SignedTransaction = SignedTransaction::new(&transaction, &signature, &self.key_pair.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stateWitness` should have a snake case name [INFO] [stdout] --> src/transaction.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | let stateWitness = self.stateWitness.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `state_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let mut txHash = Vec::::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preHash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pre_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `preIndex` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:49 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn generate_transaction(preHash:&Vec, preIndex:&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pre_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outValue` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:93 [INFO] [stdout] | [INFO] [stdout] 503 | ...&Vec, witness: &Vec, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `out_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `recpAddress` should have a snake case name [INFO] [stdout] --> src/transaction.rs:503:113 [INFO] [stdout] | [INFO] [stdout] 503 | ...c, outValue:&Vec, recpAddress:&Vec) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recp_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let mut inputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `input_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputVec` should have a snake case name [INFO] [stdout] --> src/transaction.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let mut outputVec = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `output_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub States: HashMap<(H256, u32),(f32, H160, u32, u128)>, // (prev TX Hash, prev Output Index) <-> (Output Value, Recipient Addr, Pri... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | pub AccumulatorProof: HashMap, // Block Hash <-> Accumulator [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ifNotDoubleSpent` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_not_double_spent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Input` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:37 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:566:57 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn ifNotDoubleSpent (&self, Input: &Vec, Block_Hash: &H256) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let AccumulatorProof = self.AccumulatorProof.get(&Block_Hash).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn addStates(&mut self, transaction_hash: H256, output_index: u32, output_value: f32, recp_address: H160, prime_number: u32, witn... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deleteStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn deleteStates(&mut self, transaction_hash: H256, output_index: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `delete_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateAccumulator` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Block_Hash` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:41 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:600:59 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn updateAccumulator(&mut self, Block_Hash: H256, AccumulatorProof: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAllStates` should have a snake case name [INFO] [stdout] --> src/transaction.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub fn getAllStates(&self) -> Vec<(H256, u32, f32, H160, u32, u128)>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `States` should have a snake case name [INFO] [stdout] --> src/transaction.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let States = self.States.clone(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getNewProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn getNewProof(&self, block_hash: &H256) -> Vec<(H256,u128)> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AccumulatorProof` should have a snake case name [INFO] [stdout] --> src/transaction.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | let AccumulatorProof = self.AccumulatorProof.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accumulator_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rand_addr_H160` should have a snake case name [INFO] [stdout] --> src/transaction.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | let rand_addr_H160 = ::from(digest::digest(&digest::SHA256,"442cabd17e40d95ac0932d977c0759397b9db4d93c4d62c368b95419db574db0".a... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rand_addr_h160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SignedTransaction` should have a snake case name [INFO] [stdout] --> src/transaction.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let SignedTransaction = SignedTransaction::new(&transaction,&signature,&key.public_key()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `signed_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 145 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.08s [INFO] running `Command { std: "docker" "inspect" "07816ded3283d88c9fbf78716a96924fef7ba8200d59a590e5d1cd08845da271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07816ded3283d88c9fbf78716a96924fef7ba8200d59a590e5d1cd08845da271", kill_on_drop: false }` [INFO] [stdout] 07816ded3283d88c9fbf78716a96924fef7ba8200d59a590e5d1cd08845da271