[][src]Crate tendermock

Tendermock

A builder API to build and run Tendermock node.

use tendermock::Tendermock;

let jrpc_addr = format!("127.0.0.1:{}", 5000).parse().unwrap();
let grpc_addr = format!("127.0.0.1:{}", 6000).parse().unwrap();

Tendermock::new()
    .verbose(true)
    .growth_rate(10)
    .add_interface(jrpc_addr, grpc_addr)
    .start();

Structs

Tendermock

Tendermock builder object.