Skip to content

Commit

Permalink
Add some function docs
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jul 28, 2022
1 parent 306f45a commit ca9eaea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zebrad/tests/common/lightwalletd/wallet_grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ tonic::include_proto!("cash.z.wallet.sdk.rpc");
pub type LightwalletdRpcClient =
compact_tx_streamer_client::CompactTxStreamerClient<tonic::transport::Channel>;

/// Start a lightwalletd instance with its RPC server functionality enabled.
/// Start a lightwalletd instance connected to `zebrad_rpc_address`,
/// using the `lightwalletd_state_path`, with its gRPC server functionality enabled.
///
/// Expects cached state based on the `test_type`.
/// Waits for `lightwalletd` to log "waiting for block" if `wait_for_blocks` is true.
///
/// Returns the lightwalletd instance and the port number that it is listening for RPC connections.
pub fn spawn_lightwalletd_with_rpc_server(
Expand Down

0 comments on commit ca9eaea

Please sign in to comment.