Bitcoin Forum
May 05, 2024, 12:14:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin core and bitcoin abc on the same computer?  (Read 745 times)
ledsgo (OP)
Member
**
Offline Offline

Activity: 93
Merit: 11


View Profile
October 09, 2017, 04:55:01 AM
 #1

Hi,

I use armory to hold my bitcoin (I have to change that...) and need to have bitcoincore maintaining the database behind.

When I installed bitcoinabc (in a different folder) it seems to have corrupted my btc database.

I had to delete and download everything again...ouch!

Can I install both on the same computer?
1714868061
Hero Member
*
Offline Offline

Posts: 1714868061

View Profile Personal Message (Offline)

Ignore
1714868061
Reply with quote  #2

1714868061
Report to moderator
1714868061
Hero Member
*
Offline Offline

Posts: 1714868061

View Profile Personal Message (Offline)

Ignore
1714868061
Reply with quote  #2

1714868061
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714868061
Hero Member
*
Offline Offline

Posts: 1714868061

View Profile Personal Message (Offline)

Ignore
1714868061
Reply with quote  #2

1714868061
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
October 09, 2017, 05:34:50 AM
 #2

Hi,

I use armory to hold my bitcoin (I have to change that...) and need to have bitcoincore maintaining the database behind.

When I installed bitcoinabc (in a different folder) it seems to have corrupted my btc database.

I had to delete and download everything again...ouch!

Can I install both on the same computer?
Bitcoin ABC used to point their database in the same directory as Bitcoin Core and that was a problem since they have differing blocks after the fork. Im not really sure whether they corrected it or not.

You can install both of the clients in the same computer but you have to specify an alternate data directory. When you run Bitcoin ABC, you have to have -datadir=[directory here] to have Bitcoin ABC obtain the data directory from a different place.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ledsgo (OP)
Member
**
Offline Offline

Activity: 93
Merit: 11


View Profile
October 09, 2017, 05:40:27 AM
 #3

I did install it in a different directory, I even installed it on a different user.

Maybe something else went wrong with my database. Anyway, I am going to try again. Thanks!
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
October 09, 2017, 05:52:51 AM
 #4

I did install it in a different directory, I even installed it on a different user.

Maybe something else went wrong with my database. Anyway, I am going to try again. Thanks!
Did you specify the data directory? Your installation directory is different from a data directory. Your installation directory contains the itself while the data directory contains the database, blocks, wallets etc.

Even if you install it in a different directory, both client will have their data directory pointed at the same place, resulting in corruption. You HAVE to specify an alternate directory for either of the client to prevent them from loading information from the same directory.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 09, 2017, 08:22:27 AM
 #5

I did install it in a different directory, I even installed it on a different user.
On a proper Operating System, user directories shouldn't be able to touch eachother.
I don't trust many wallets, and keep most wallets in their own Virtual Machine. If you have enough disk space to add another full blockchain, and have some RAM to spare, I recommend to use VirtualBox for all (untrusted) altcoin wallets.

AtheistAKASaneBrain
Hero Member
*****
Offline Offline

Activity: 770
Merit: 509


View Profile
October 11, 2017, 03:53:48 PM
 #6

I did install it in a different directory, I even installed it on a different user.
On a proper Operating System, user directories shouldn't be able to touch eachother.
I don't trust many wallets, and keep most wallets in their own Virtual Machine. If you have enough disk space to add another full blockchain, and have some RAM to spare, I recommend to use VirtualBox for all (untrusted) altcoin wallets.

I wouldn't even trust Virtual Machines like Virtualbox. There are attacks that can tresspass the barriers of the VM and infect the main OS.

If you are serious about your bitcoins, get an additional computer to install dodgy software (and Bitcoin ABC is pretty dodgy in my book). Basically any altcoin software is a potential threat, so get some laptop and use it to completely isolate your main computer is my advice. Once you access the coins, you will be able to delete Bitcoin ABC and get the free space back for the next fork.
ledsgo (OP)
Member
**
Offline Offline

Activity: 93
Merit: 11


View Profile
October 11, 2017, 04:08:26 PM
 #7


I wouldn't even trust Virtual Machines like Virtualbox. There are attacks that can tresspass the barriers of the VM and infect the main OS.

If you are serious about your bitcoins, get an additional computer to install dodgy software (and Bitcoin ABC is pretty dodgy in my book). Basically any altcoin software is a potential threat, so get some laptop and use it to completely isolate your main computer is my advice. Once you access the coins, you will be able to delete Bitcoin ABC and get the free space back for the next fork.


Yeah, that is a good advice, thanks!
salmanahmedone
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500


View Profile
October 11, 2017, 04:40:13 PM
 #8

Hi,

I use armory to hold my bitcoin (I have to change that...) and need to have bitcoincore maintaining the database behind.

When I installed bitcoinabc (in a different folder) it seems to have corrupted my btc database.

I had to delete and download everything again...ouch!

Can I install both on the same computer?

They have nothing to do with each other, so they should not conflict. We have run up to 100 different coins on the same box at the same time, the only issue there would be power and bogging the system. As long as ports do not conflict and you are not using two deep Java built coins, then there is never an issue.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 11, 2017, 04:48:01 PM
 #9

Hi,

I use armory to hold my bitcoin (I have to change that...) and need to have bitcoincore maintaining the database behind.

When I installed bitcoinabc (in a different folder) it seems to have corrupted my btc database.

I had to delete and download everything again...ouch!

Can I install both on the same computer?

They have nothing to do with each other, so they should not conflict. We have run up to 100 different coins on the same box at the same time, the only issue there would be power and bogging the system. As long as ports do not conflict and you are not using two deep Java built coins, then there is never an issue.

The default datadirs do conflict (or they did when I used them) as above stated. The solution is to make a 1 line bat file just pointing out where the data is stored.
Don't try to do fancy stuff with the config logs as they both try to listen to the same log also.
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!