Struct bitcoin_node::NodeImpl
source · pub struct NodeImpl { /* private fields */ }
Implementations§
source§impl NodeImpl
impl NodeImpl
pub fn chainman(&mut self) -> &mut ChainstateManager
pub fn new(context: &mut dyn NodeContextInterface) -> Self
pub fn init_logging(&mut self)
pub fn init_parameter_interaction(&mut self)
pub fn get_warnings(&mut self) -> BilingualStr
pub fn get_log_categories(&mut self) -> u32
pub fn base_initialize(&mut self) -> bool
pub fn app_init_main(&mut self, tip_info: *mut BlockAndHeaderTipInfo) -> bool
pub fn app_shutdown(&mut self)
pub fn start_shutdown(&mut self)
pub fn shutdown_requested(&mut self) -> bool
pub fn map_port(&mut self, use_upnp: bool, use_natpmp: bool)
pub fn get_proxy(&mut self, net: Network, proxy_info: &mut ProxyType) -> bool
pub fn get_node_count(&mut self, flags: ConnectionDirection) -> usize
pub fn get_nodes_stats(&mut self, stats: &mut NodesStats) -> bool
pub fn get_banned(&mut self, banmap: &mut BanMap) -> bool
pub fn ban(&mut self, net_addr: &NetAddr, ban_time_offset: i64) -> bool
pub fn unban(&mut self, ip: &SubNet) -> bool
pub fn disconnect_by_address(&mut self, net_addr: &NetAddr) -> bool
pub fn disconnect_by_id(&mut self, id: NodeId) -> bool
pub fn external_signers(&mut self) -> Vec<ExternalSigner>
pub fn get_total_bytes_recv(&mut self) -> i64
pub fn get_total_bytes_sent(&mut self) -> i64
pub fn get_mempool_size(&mut self) -> usize
pub fn get_mempool_dynamic_usage(&mut self) -> usize
pub fn get_header_tip(&mut self, height: &mut i32, block_time: &mut i64) -> bool
pub fn get_num_blocks(&mut self) -> i32
pub fn get_best_block_hash(&mut self) -> u256
pub fn get_last_block_time(&mut self) -> i64
pub fn get_verification_progress(&mut self) -> f64
pub fn is_initial_block_download(&mut self) -> bool
pub fn get_reindex(&mut self) -> bool
pub fn get_importing(&mut self) -> bool
pub fn set_network_active(&mut self, active: bool)
pub fn get_network_active(&mut self) -> bool
pub fn get_dust_relay_fee(&mut self) -> FeeRate
pub fn execute_rpc( &mut self, command: &String, params: &UniValue, uri: &String ) -> UniValue
pub fn list_rpc_commands(&mut self) -> Vec<String>
pub fn rpc_set_timer_interface_if_unset<'a>( &mut self, iface: &'a mut dyn RPCTimerInterface )
pub fn rpc_unset_timer_interface<'a>( &mut self, iface: &'a mut dyn RPCTimerInterface )
pub fn get_unspent_output(&mut self, output: &OutPoint, coin: &mut Coin) -> bool
pub fn wallet_client(&mut self) -> Rc<RefCell<dyn WalletClient>>
pub fn handle_init_message( &mut self, fn_: NodeInitMessageFn ) -> Box<dyn Handler>
pub fn handle_message_box(&mut self, fn_: NodeMessageBoxFn) -> Box<dyn Handler>
pub fn handle_question(&mut self, fn_: NodeQuestionFn) -> Box<dyn Handler>
pub fn handle_show_progress( &mut self, fn_: NodeShowProgressFn ) -> Box<dyn Handler>
pub fn handle_notify_num_connections_changed( &mut self, fn_: NodeNotifyNumConnectionsChangedFn ) -> Box<dyn Handler>
pub fn handle_notify_network_active_changed( &mut self, fn_: NodeNotifyNetworkActiveChangedFn ) -> Box<dyn Handler>
pub fn handle_notify_alert_changed( &mut self, fn_: NodeNotifyAlertChangedFn ) -> Box<dyn Handler>
pub fn handle_banned_list_changed( &mut self, fn_: NodeBannedListChangedFn ) -> Box<dyn Handler>
pub fn handle_notify_block_tip( &mut self, fn_: NodeNotifyBlockTipFn ) -> Box<dyn Handler>
pub fn handle_notify_header_tip( &mut self, fn_: NodeNotifyHeaderTipFn ) -> Box<dyn Handler>
pub fn context(&mut self) -> *mut dyn NodeContextInterface
pub fn set_context(&mut self, context: *mut dyn NodeContextInterface)
Auto Trait Implementations§
impl !RefUnwindSafe for NodeImpl
impl !Send for NodeImpl
impl !Sync for NodeImpl
impl Unpin for NodeImpl
impl !UnwindSafe for NodeImpl
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more