Add server specification
This commit is contained in:
@ -172,7 +172,7 @@ pub struct Meta {
|
|||||||
}
|
}
|
||||||
impl Metadata for Meta {}
|
impl Metadata for Meta {}
|
||||||
|
|
||||||
#[rpc]
|
#[rpc(server)]
|
||||||
pub trait RpcSol {
|
pub trait RpcSol {
|
||||||
type Metadata;
|
type Metadata;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ use solana_sdk::signature::Signature;
|
|||||||
use std::mem;
|
use std::mem;
|
||||||
use std::sync::{atomic, Arc};
|
use std::sync::{atomic, Arc};
|
||||||
|
|
||||||
#[rpc]
|
#[rpc(server)]
|
||||||
pub trait RpcSolPubSub {
|
pub trait RpcSolPubSub {
|
||||||
type Metadata;
|
type Metadata;
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ pub struct Meta {
|
|||||||
}
|
}
|
||||||
impl Metadata for Meta {}
|
impl Metadata for Meta {}
|
||||||
|
|
||||||
#[rpc]
|
#[rpc(server)]
|
||||||
pub trait VoteSignerRpc {
|
pub trait VoteSignerRpc {
|
||||||
type Metadata;
|
type Metadata;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user