mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 19:47:59 +00:00
56296386ab
* Allow RPCs to be customized. * Implement node-rpc extensions. * Working on a test. * Add node-testing crate. * Fix genesis test config * Fix nonce lookups. * Clean up. * Fix expected block type. * Make the RPC extension function optional. * Fix service doc test. * Bump jsonrpc. * Bump client version. * Update Cargo.lock * Update jsonrpc. * Fix build. * Remove unused imports. * Fix signed extra. * Post merge clean up. * Fix tests. * Patch hashmap-core. * Fix build. * Fix build. * Remove hashmap_core patches.
33 lines
1.3 KiB
Rust
33 lines
1.3 KiB
Rust
// Copyright 2019 Parity Technologies (UK) Ltd.
|
|
// This file is part of Substrate.
|
|
|
|
// Substrate is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Substrate is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
//! A collection of node-specific RPC methods.
|
|
//!
|
|
//! Since `substrate` core functionality makes no assumptions
|
|
//! about the modules used inside the runtime, so do
|
|
//! RPC methods defined in `substrate-rpc` crate.
|
|
//! It means that `core/rpc` can't have any methods that
|
|
//! need some strong assumptions about the particular runtime.
|
|
//!
|
|
//! The RPCs available in this crate however can make some assumptions
|
|
//! about how the runtime is constructed and what `SRML` modules
|
|
//! are part of it. Therefore all node-runtime-specific RPCs can
|
|
//! be placed here.
|
|
|
|
#![warn(missing_docs)]
|
|
|
|
pub mod accounts;
|