Bitcoin Forum
April 23, 2024, 11:19:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-qt custom data directory and Chrome links  (Read 726 times)
STTrife (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 28, 2014, 01:27:22 PM
 #1

Hi there, I can't seem to find information about the following issue:

in the documentation it said that you had to add -dataDir=... (or something like that)  to the link to the bitcoin client. this works fine, but
in chrome, when I want to pay at for example www.thuisbezorgd.nl, they give this link with a bitcoin protocol like:
bitcoin:etc .etc.
this link opens the bitcoin client nicely and the payment is made ready automatically which is great, but it DOES NOT use the new data directory if the client is started this way.

How can I fix this? I've looked in the chrome settings and in the settings of windows 7, but I can't even find the link between bitcoin: adress and starting the bitcoin client.

What do I have to do to make it so that links in chrome open the bitcoin client, but WITH the new data directory?
(I have been searching this on google, but I really find the answer...)

thanks!
1713871191
Hero Member
*
Offline Offline

Posts: 1713871191

View Profile Personal Message (Offline)

Ignore
1713871191
Reply with quote  #2

1713871191
Report to moderator
1713871191
Hero Member
*
Offline Offline

Posts: 1713871191

View Profile Personal Message (Offline)

Ignore
1713871191
Reply with quote  #2

1713871191
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713871191
Hero Member
*
Offline Offline

Posts: 1713871191

View Profile Personal Message (Offline)

Ignore
1713871191
Reply with quote  #2

1713871191
Report to moderator
1713871191
Hero Member
*
Offline Offline

Posts: 1713871191

View Profile Personal Message (Offline)

Ignore
1713871191
Reply with quote  #2

1713871191
Report to moderator
1713871191
Hero Member
*
Offline Offline

Posts: 1713871191

View Profile Personal Message (Offline)

Ignore
1713871191
Reply with quote  #2

1713871191
Report to moderator
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
July 28, 2014, 02:23:09 PM
 #2

Chrome does not handle this, but your OS.
It can be changed via commandline [1]:

Code:
ftype bitcoin

to see what the current setting is.

with

Code:
ftype bitcoin="C:\Program Files\Bitcoin\bitcoin-qt.exe -datadir=d:\mybitcoindata\is\here" "%1"

it should do what you want. Another possibility would be to do it via the registry [2], but ftype should change the same registry key anyway.


[1] source: http://stackoverflow.com/questions/796748/how-can-i-add-a-custom-url-handler-on-windows-like-itunes-itms
[2] as linked from [1] http://msdn.microsoft.com/en-us/library/aa767914%28VS.85%29.aspx



Im not really here, its just your imagination.
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!