Bitcoin Forum
May 11, 2024, 02:00:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core Multiple Wallets  (Read 1257 times)
xishon (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
March 13, 2017, 11:56:26 AM
 #1

Can we create multiple wallets with bitcoin core or we have only one wallet with multiple addresses?
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715392840
Hero Member
*
Offline Offline

Posts: 1715392840

View Profile Personal Message (Offline)

Ignore
1715392840
Reply with quote  #2

1715392840
Report to moderator
1715392840
Hero Member
*
Offline Offline

Posts: 1715392840

View Profile Personal Message (Offline)

Ignore
1715392840
Reply with quote  #2

1715392840
Report to moderator
1715392840
Hero Member
*
Offline Offline

Posts: 1715392840

View Profile Personal Message (Offline)

Ignore
1715392840
Reply with quote  #2

1715392840
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
March 13, 2017, 01:28:41 PM
 #2

Bitcoin Core is not currently designed to easily maintain multiple wallets.

It can be done, but will require a bit of technical know-how and a LOT of care.

Bitcoin Core stores the entire wallet in a file named wallet.dat in the data directory on your filesystem.  If it can't find that file, then it creates a new one.

So, to create a new wallet, you can shut down Bitcion Core, move or rename the wallet.dat file, and then start Bitcoin Core back up again.

As long as you are VERY CAREFUL to keep track of each of your wallet.dat files and not to accidentally delete or overwrite them, then you can maintain as many as you like.
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


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


View Profile WWW
March 13, 2017, 02:13:00 PM
 #3

Bitcoin Core is not currently designed to easily maintain multiple wallets.

It can be done, but will require a bit of technical know-how and a LOT of care.

Bitcoin Core stores the entire wallet in a file named wallet.dat in the data directory on your filesystem.  If it can't find that file, then it creates a new one.

So, to create a new wallet, you can shut down Bitcion Core, move or rename the wallet.dat file, and then start Bitcoin Core back up again.

As long as you are VERY CAREFUL to keep track of each of your wallet.dat files and not to accidentally delete or overwrite them, then you can maintain as many as you like.

I completely agree, i just wanted to add that you can just give each walletfile a different name, and then create aliasses to bitcoind or bitcoin-qt with the -wallet=walletname.dat option...
This way you don't have to juggle with filenames, and potentially lose funds Wink

For example, create 4 wallets by starting bitcoin core, stopping bitcoin core and then renaming the wallet.dat in your ~/.bitcoin folder (then repeating the process). For example, run this process 4 times to generate :
mywallet.dat
wifeswallet.dat
kidswallet.dat
businesswallet.dat

Then, in linux, open your .bashrc with vi, vim, nano,... and add following lines (something similar *MIGHT* exist in windows... don't really know):
alias mywallet="bitcoin-qt -wallet=~/.bitcoin/mywallet.dat"
alias wifeswallet="bitcoin-qt -wallet=~/.bitcoin/wifeswallet.dat"
alias kidswallet="bitcoin-qt -wallet=~/.bitcoin/kidswallet.dat"
alias businesswallet="bitcoin-qt -wallet=~/.bitcoin/businesswallet.dat"

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
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!