Opening a wallet with bitcoind

I am running bitcoind after previously running bitcoin-qt. I made a wallet with bitcoin-qt (and encrypted it) and I would like to open it now with bitcoind. The folder that contains the wallet.dat file is in the data directory, but when I run either of the following:

bitcoin-cli listwallets
bitcoin-cli getwalletinfo

it does not show my wallet. I have tried:

bitcoind -wallet="directory with file"

and still no luck, it just tried to rund bitcoind and says it is already running (not sure why, I am running bitcoind -daemon).

Any idea how I can import this wallet?

How do people using thin clients know the correct merkle path of transactions they’ve sent without knowing the full block?

User A send a transaction to user B. Those transactions are bundled together into a merkle tree. User A and B can both use the transaction plus the merkle root, plus the merkle path to prove the merkle root in the block header is correct.

I understand all that.. what I don’t understand is how do A and B know the correct merkle path without needing the entire block?

Do they need a centralized provider that processes the blocks to calculate these for them? Is it possible to do in a decentralized way?

Physical safety of crypto owner

Let’s image a scenario where I buy (or trade) BTC on a regular basis and have a large number of coins in my wallet. Of course I’d like to be able to use my coins whenever possible, exchange with friends or strangers locally. So, I move part of my cryptos to another wallet for petty purchases, exchanges, etc.

My concern is, suppose I have a transaction with a malicious person, they can trace back with relatively high certainty to my account. Now I know this is debatable as they couldn’t really tell with certainty but maybe they just don’t care. All it matters is they know or I may have cryptos. In this scenario I am left at their mercy. They could threaten me, there’s cases of kidnapping, etc.

My question is, is there a reasonable way to go around this problem? Bear in mind I’m talking about local exchanges in a relatively small towns, where people know my face and name, not online where I could keep anonymity.

Bitcoin Core JSONRPC only accept requests with in configs

I’ve lunched a Bitcoin Core server, and trying to connect to it via JSON-RPC.
This is my configuration settings:


But all cURL connections to this server via the IP has the same error result as:

cURL error 7: Failed to connect to port 1234: Connection refused

I tried adding this option too, but it did not solve the problem:

Only when I put as a bined RPC IP, Bitcoin core returns true response. I’ve checked many pages but did not find any other appropriate way to allow some certain IPs to Bitcoind. May you help me please?

Note: IP, Port number, username and password are changed from real values.

Delete Bitcoin Qt Mac: System folder inflated in size, although “Application Support/Bitcoin/” and app deleted

I downloaded Bitcoin Qt and the entire blockchain, now I’d like to delete it.

I followed instructions from various search results, which all instructed to delete the app and to delete all data (where the “data”, the blockchain, is supposed to take up so much space) in ~/Library/Preferences/, ~/Library/Application Support/ and ~/Library/Caches/. This was the most comprehensive guide:

In ~/Library/Preferences/ & ~/Library/Caches/, I couldn’t find any related data. In ~/Library/Application Support/, there was a “Bitcoin” folder (which was like 7gb in size according to right click->”Get Info”), which I moved to Trash (was emptied subsequently).

I’m sure that I chose only default options in the installation of Bitcoin Qt – no non-default directories were chosen.

Before Bitcoin Qt, under “Storage management”, “System” took up like 30-50 gb. Now, it takes up 155 gb. The way I understand it, “Library” is basically my system directory. The “Library” directory, via “get info”, shows a total size of 60 gb. However, in “Storage management” System is shown to occupy 155gb. I’m not sure how this makes sense. I have enabled to see all hidden files, so I’m also sure that I’m not overlooking something too obvious.

Rebooting my mac also doesn’t help.

Do you have any clue where the blockchain from Bitcoin Qt could sit, so I can delete it and free up the space?

I use a MacBook Pro Early 2015, macOS High Sierra, Version 10.13.6

Creating a unconfirmed bitcoin transaction

I know that it’s sounds ridiculous, but i need to create an unconfirmed bitcoin transaction that will be unconfirmed for 2+ hours.I came to a conclusion that i need to create a 0 fee transactions but can’t find a solution to make it and broadcast. Another variant was to set the min. fee ( 1sat/byte ) , but sometimes it’s got confirmed after 5-10 minutes.How can a achieve the desired result ?

How ./configure Bitcoin Core build to pick up depends build and installation path at the same time?

I’m trying to build Bitcoin Core and, if I understand it correctly, the configure script uses the --prefix= option twice, once for the inclusion of the depends build (from depends/

**Bitcoin Core's configure script by default will ignore the depends output.** In
order for it to pick up libraries, tools, and settings from the depends build,
you must point it at the appropriate `--prefix` directory generated by the
build. In the above example, a prefix dir named x86_64-w64-mingw32 will be
created. To use it for Bitcoin:

    ./configure --prefix=$PWD/depends/x86_64-w64-mingw32

And another usage of --prefix as it’s usually used in configure, to specify a nonstandard install location (output from ./configure --help):

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

How can I specify an installation path and a depends path at the same time?