Bitcoin Forum
December 13, 2024, 05:26:55 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: connecting sparrow to new full node  (Read 122 times)
SamSpade24 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 3


View Profile
May 22, 2024, 03:52:10 AM
Merited by mocacinno (1), ABCbits (1)
 #1

Hello Guru's,

Getting stuck on connecting my sparrow wallet to bitcoin core.

URL: 127.0.0.1, port 8332 (standard)
Data Folder: D:\Bitcoin\testnet
Use Proxy (no)

Test connection result: "Connection refused: connect"

What's the fix?  The configuration file?  Or maybe the Data Folder setting is wrong?

Background?

I just installed and synched a full node on an older laptop.  My tech guy wiped it clean and I want to use this exclusively for BTC transactions for security.  I am using an external 2T hard drive to store the data so that I have enough space for the full node for now plus a long time into the future. 

So the data is stored on D:\Bitcoin\testnet3 , and not on the default location "C:\Users\YourUserName\AppData\Roaming\Bitcoin"

I did open D:\Bitcoin\bitcoin.conf and added the line "server=1", and rebooted the laptop

operating system: Windows 10
Bitcoin Core [test] Version 25.0,0

thanks
nc50lc
Legendary
*
Offline Offline

Activity: 2632
Merit: 6512


Self-proclaimed Genius


View Profile
May 22, 2024, 04:36:04 AM
Merited by mocacinno (1), ABCbits (1)
 #2

URL: 127.0.0.1, port 8332 (standard)
Data Folder: D:\Bitcoin\testnet
Use Proxy (no)
You should set TestNet's RPC connection port rather than MainNet's.
It's "18332" by default but you can set your preferred port in your bitcoin core's bitcoin.conf file with rpcport=18332 or as a command line option.

Another is when you've set rpcuser and rpcpassword in Bitcoin Core; in that case, it should also be set in Sparrow.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SamSpade24 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 3


View Profile
May 22, 2024, 05:43:35 AM
 #3

Quote
You should set TestNet's RPC connection port rather than MainNet's.
It's "18332"

Bingo! thanks!

Now the larger question - is this node (testnet) any good?  I want a real node to make real transactions rather than a "sandbox".

Not sure what I clicked on while installing the core.  Do I need to start over again and install it as "mainnet"?
nc50lc
Legendary
*
Offline Offline

Activity: 2632
Merit: 6512


Self-proclaimed Genius


View Profile
May 22, 2024, 05:59:21 AM
 #4

Now the larger question - is this node (testnet) any good?  I want a real node to make real transactions rather than a "sandbox".
The Drive is actually good in the long run but I have no idea on the specs of your "old laptop".

Anyhow, Bitcoin Core doesn't require the latest hardware so that setup should also work in mainnet.
It's just syncing to the network (mainnet) that may take longer than usual in old hardware specially with HDD and low RAM.
Set your configurations like dbcache to a suitable size to speed it up. (not too low/high based from your RAM)

If "good" as in "safe", you should verify Bitcoin Core based from the per OS instructions provided in the download page.
link: bitcoincore.org/en/download

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
mocacinno
Legendary
*
Offline Offline

Activity: 3598
Merit: 5277


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
May 22, 2024, 06:04:14 AM
 #5

Quote
You should set TestNet's RPC connection port rather than MainNet's.
It's "18332"

Bingo! thanks!

Now the larger question - is this node (testnet) any good?  I want a real node to make real transactions rather than a "sandbox".

Not sure what I clicked on while installing the core.  Do I need to start over again and install it as "mainnet"?

Depends on what you want to do... Do you want to learn about bitcoin in a safe way without any chance of losing "real" money, then yes, testnet is perfect... Testnet is an ideal tool for learning, experimenting, scripting,...

If you actually want to transfer value, receive payments, make payments, invest,... you'll need to switch to the main net.

It's basically in the name: testnet, tBTC (testnet BTC) is worthless, testnet can be reset at any time in the future and all your unspent outputs on the testnet will be gone... Don't buy tBTC, get it from a faucet and use it to learn how to use your wallet, create transactions, spend funds,... Once you're done learning and experimenting, switch to the main net.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SamSpade24 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 3


View Profile
May 22, 2024, 06:13:16 AM
Merited by ABCbits (1)
 #6

I'm already running a pruned node on my main laptop, connected it to sparrow, connected sparrow to my cold wallets, made small transactions for testing and larger transactions for cold storage.

I'm not planning on doing any coding.

I would like to move to multisig at some point, but otherwise I think I'm good to go.

So for this full node that I recently synched (took several days), can I switch it to mainnet or do I start synching again from the genesis block?
mocacinno
Legendary
*
Offline Offline

Activity: 3598
Merit: 5277


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
May 22, 2024, 06:31:25 AM
Merited by ABCbits (1)
 #7

you have to re-sync if you switch from the testnet to the main net i'm afraid.

ps: the amount of data inside the mainnet blockchain is a lot more than the amount of data in the blocks of the testnet chain aswell. If it took you several days to sync the testnet, it'll take a lot longer to sync the main net i'm afraid.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SamSpade24 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 3


View Profile
May 22, 2024, 09:27:21 AM
 #8


Got it, thanks.

I'll get started tonight.  I'll uninstall the test version, download the core again now that version 27 is out, and start from scratch.

Extra time is fine.  BTC ain't going away.
mocacinno
Legendary
*
Offline Offline

Activity: 3598
Merit: 5277


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
May 22, 2024, 10:46:41 AM
 #9


Got it, thanks.

I'll get started tonight.  I'll uninstall the test version, download the core again now that version 27 is out, and start from scratch.

Extra time is fine.  BTC ain't going away.

I'm glad to see people sticking around Smiley
By the way, if you run a daemon on the testnet, the data is stored in a testnet3 subfolder. Usually, there's no real need to uninstall and re-install to switch from testnet to mainnet. Usually it's sufficient to edit your bitcoin.conf (and restart your daemon) or stop your running daemon and start it without the testnet parameter. If you do this, you'll keep your testnet data and wallet (stored in a testnet3 subfolder), so if there's ever a need to start your daemon in testnet mode again, you won't have to re-sync everything.

Personally, i try never to throw away a wallet.dat, but if you've never touched the main net, just erasing everything and restarting doesn't seem to be harmfull to me.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!