[][src]Trait interledger_ccp::CcpRoutingAccount

pub trait CcpRoutingAccount: Account + IldcpAccount {
    fn routing_relation(&self) -> RoutingRelation;

    fn should_send_routes(&self) -> bool { ... }
fn should_receive_routes(&self) -> bool { ... } }

DefineCcpAccountethods Account types need to be used by the CCP Service

Required methods

fn routing_relation(&self) -> RoutingRelation

The type of relationship we have with this account

Loading content...

Provided methods

fn should_send_routes(&self) -> bool

Indicates whether we should send CCP Route Updates to this account

fn should_receive_routes(&self) -> bool

Indicates whether we should accept CCP Route Update Requests from this account

Loading content...

Implementors

Loading content...