The foreign_rpc and owner_rpc auto generated helper modules should be made public. (#3734)

* Minor update for foreign api docs. Peers seems to be no longer needed as an arg in the grin_api::Foreign::new.

* This changes foreign_rpc and owner_rpc modules to public so the helper modules for the rpc clients can be accessible in external projects.
This commit is contained in:
thaddeus 2022-09-07 08:51:36 -06:00 committed by GitHub
parent 6d25382ff5
commit 3119899551
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -59,7 +59,6 @@ where
/// # Arguments /// # Arguments
/// * `chain` - A non-owning reference of the chain. /// * `chain` - A non-owning reference of the chain.
/// * `tx_pool` - A non-owning reference of the transaction pool. /// * `tx_pool` - A non-owning reference of the transaction pool.
/// * `peers` - A non-owning reference of the peers.
/// * `sync_state` - A non-owning reference of the `sync_state`. /// * `sync_state` - A non-owning reference of the `sync_state`.
/// ///
/// # Returns /// # Returns

View file

@ -33,11 +33,11 @@ mod web;
pub mod auth; pub mod auth;
pub mod client; pub mod client;
mod foreign; mod foreign;
mod foreign_rpc; pub mod foreign_rpc;
mod handlers; mod handlers;
pub mod json_rpc; pub mod json_rpc;
mod owner; mod owner;
mod owner_rpc; pub mod owner_rpc;
mod rest; mod rest;
mod router; mod router;
pub mod types; pub mod types;