@@ -767,8 +767,7 @@ impl ArcedNodeBuilder {
767
767
/// Configures the [`Node`] instance to connect to a Bitcoin Core node via RPC.
768
768
///
769
769
/// This method establishes an RPC connection that enables all essential chain operations including
770
- /// transaction broadcasting and chain data synchronization. RPC is the minimum required configuration
771
- /// for Bitcoin Core chain interactions and must be set up before any other Bitcoin Core connection options.
770
+ /// transaction broadcasting and chain data synchronization.
772
771
///
773
772
/// ## Parameters:
774
773
/// * `rpc_host`, `rpc_port`, `rpc_user`, `rpc_password` - Required parameters for the Bitcoin Core RPC
@@ -786,13 +785,13 @@ impl ArcedNodeBuilder {
786
785
787
786
/// Configures the [`Node`] instance to synchronize chain data from a Bitcoin Core REST endpoint.
788
787
///
789
- /// This method enables chain data synchronization via Bitcoin Core's REST interface.
790
- /// It must be called after [`set_chain_source_bitcoind_rpc`] because REST is used only for chain
791
- /// synchronization, while RPC is still required for other essential operations like transaction
792
- /// broadcasting.
788
+ /// This method enables chain data synchronization via Bitcoin Core's REST interface. We pass
789
+ /// additional RPC configuration to non-REST-supported API calls like transaction broadcasting.
793
790
///
794
791
/// ## Parameters:
795
792
/// * `rest_host`, `rest_port` - Required parameters for the Bitcoin Core REST connection.
793
+ /// * `rpc_host`, `rpc_port`, `rpc_user`, `rpc_password` - Required parameters for the Bitcoin Core RPC
794
+ /// connection
796
795
pub fn set_chain_source_bitcoind_rest (
797
796
& self , rest_host : String , rest_port : u16 , rpc_host : String , rpc_port : u16 ,
798
797
rpc_user : String , rpc_password : String ,
0 commit comments