Hot answers tagged

8

-zapwallettxes removes all wallet transactions that are not in the blockchain. It can remove "stuck" transactions, although you don't need this feature in normal operations mode. Solution A) On Windows, you need to start the command line prompt (cmd.exe), go to your window search and enter "cmd" and start cmd.exe. Start bitcoin-qt with --zapwallettxes=1 C:...


7

I had the same problem and for me it worked to set the TERM variable to nothing directly before you execute cgminer. Like this in the cmd shell: set TERM= cgminer-nogpu.exe ........ If you set it to "" (meaning nothing) in the system settings it will use the default value "c:\windows\system32\cmd.exe". You can check the the variable in the shell with: ...


5

When looking at the Bitcoin Developer Reference I saw an example where they use two additional '' before and after the list of inputs in comparison to you. For your input, I also got "Error parsing JSON", but with bitcoin-cli -testnet createrawtransaction '''[{ "txid" : "12b8e7ede4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad", "vout" : 0 }]''' '{"...


4

They're in the wallet.dat file.


4

Try rewriting your command to bitcoin-cli -testnet createrawtransaction "[{\"txid\": \"12b8e7ede4992f4d30f93idj3085746951d945e39f40becebd7c290af8c2e7ad\", \"vout\": 0}]" "{\"mxh3H416KCRoBDiweSESew5YJyAk1nxLrN\": 0.025, \"mkrzDhhZtzQm8zgckSs4fMNrvtNJ66zaFe\": 0.0245}" as suggested by this thread.


4

You're getting this error because bitcoind isn't running. Once it is, it will create an authentication cookie, and bitcoin-cli will be able to connect. To start bitcoind from cmd prompt, type: cd C:/Program\ Files/Bitcoin/daemon/ Press enter, then type: bitcoind And press enter.


3

The build_unix directory contains just the .IGNORE_ME file in the distribution. The directory is populated by the make command. ../dist/configure --disable-replication --enable-mingw --enable-cxx make You do not need to edit db.h in the latest distribution since they have already corrected the typedef.


3

The Linux installer is slightly different to the windows installer in that there are different scripts to get the host machine to recognise the bitcoin URIs. What ARE very similar is the multibit-exe.jar (used on Linux and Mac) and the multibit.exe (used in Windows). The exe is basically a wrapped jar file. On any operating system you can run MultiBit jar ...


3

These executables are used to run Bitcoin's unit tests, so that developers can verify that various parts of the code work as designed. They are not needed by end users. From the file src/test/README.md: The sources in this directory are unit test cases. Boost includes a unit testing framework, and since bitcoin already uses boost, it makes sense to ...


3

For the first command, you need to include the JSON in single quotes, like so: $ bitcoin-cli createrawtransaction '[{"txid":"dbdc2e2c7f143af70c5e7e8725f55d226b3c058d7bf34a303091b3c6a514848c","vout":1}]' '{"1BCi1L25GC9hUSvtSyGjmEvSyywoYubk4P":0.00011}' ...


3

Install Download NSSM Comment out #daemon=1 from bitcoin.conf with comment #incompatible with windows service Shut down bitcoin-qt, bitcoind, bitcoin-cli to eliminate any confusion nssm install BitcoinCore "C:\Program Files\Bitcoin\daemon\bitcoind.exe" -datadir=C:\Documents\Data\Bitcoin (use your own path of course) nssm set BitcoinCore ...


3

You can run bitcoind.exe on windows if you leave off the -daemon flag, as the error message says. Then it will run in the command prompt window or whatever you are running it with. While it's running, you can interact with it using bitcoin-cli.exe in a separate command prompt window. No, you can't run bitcoind and bitcoin-qt at the same time if they're ...


2

cgminer's FPGA and ASIC support was originally taken from BFGMiner. Due to the maintainers of GPU mining being upset over the obsoletion of GPU mining, they forked the project and eventually (poorly) rewrote the FPGA/ASIC drivers. You are seeing the effects of that. BFGMiner continues to maintain the original (working) drivers, but you will need to remove ...


2

Start the cgminer script with the -T flag. That worked for me. It disables ncurses and uses text-only output.


2

By using process of elimination , I would do something like this. First, I would reinstall your Bitcoin wallet and see if it works. If it works properly, there was probably a Bitcoind configuration file that was messed around with in your original installation or you were using an outdated version. If it still doesn't work, install a Bitcoin wallet on ...


2

The backup file produced by the Android Bitcoin app is a text file containing lines of the form 5Jhvcnoi9LFxEcg68gTaDB3DiKEJ6TWJuMmyfjv89uEv3AbgdV 2013-01-01T12:34:56Z The first field is the private key. This can be imported into bitcoin-qt using the importprivkey command. Choose "Help > Debug window", go to the "Console" tab, and enter: importprivkey ...


2

When I've had this happen it's been because of a non-clean shutdown. Something about the disk state ends up being inconsistent and this (understandably) results in the system wanting to verify all the information it has on disk.


2

The blocks, chains, and all that excessive data can be tossed. All you need is your wallet.dat which contains your private key. I like to think of it this way... The bitcoin network is like a massive bank full of billions, trillions, and so on of vaults. You can put coins into any vault without needing a key to that vault. You can only take coins out of a ...


2

CPU and GPU mining costs more in electricity than it rewards in BTC at the moment. You need special equipment with ASIC chips to mine at a profit. These chips are designed to perform many hashes at low power consumption. I suggest you ask your boss if he agrees with the negative efficiency of your current setup.


2

In Windows 7 download and install Altap Salamander 2.54 (Google for it) It's file manager (you can use any other file manager as well) Then press Ctrl and key F to bring search window Then set all options exactly as in this screen: http://s21.postimg.org/5qdx5cb1j/search.png In Containing field enter: name"1 (each wallet has this text inside) and then ...


2

Place to start - use the linux "file" command, which will show the following for a bitcoin wallet (at least in the client I use) wallet.dat: Berkeley DB (Btree, version 9, native byte-order) So - you could run something like: find / -type f exec file '{U}' \; | grep "Berkeley DB" That would be a start!


2

bitcoin data dir link in the wiki: https://en.bitcoin.it/wiki/Data_directory ... shows where all the data files are located, the "a proper folder" link from ThePiachu 's post seems to have died since.


2

Binaries available for Python 3.4: https://github.com/axper/python3-pycrypto-windows-installer 32 & 64 bits As outlined here on SE, binaries available for Python 2.x - 3.3: http://www.voidspace.org.uk/python/modules.shtml#pycrypto This solves the dependencies issues error compile failed with error code 1 using pip. Also, the following error screen (...


2

While you have bitcoind or bitcoin-qt running with the -server option, you can then use bitcoin-cli to run commands. It's part of the bitcoind package. If you have your conf file in a custom directory you'll have to specify that to bitcoin-cli as well, otherwise it should just work.


2

In the command line on windows you must type just bitcoind -regtest whitout -daemon


2

On Windows (when using Ardor mainnet) the blockchain will be downloaded to your "C:\Users\USERNAME\AppData\Roaming\Ardor\nxt_db" folder. Make sure that you can see hidden folders. You can find your AppData folder very quickly by entering "%appdata%" in the address bar of the file explorer. On MacOS (when using Ardor mainnet) your default user directory is ~...


2

A version for XP can be downloaded from github. This is actually 93.3 not 92.3. It says "Armory 0.93.3 for Windows XP, Vista, 7, 8+ (64-bit)" I have not used this version and cannot vouch for it in any way. As I expect you know, Windows-XP is an insecure operating system. Microsoft stopped supporting XP in 2014, 5 years ago now. Personally I'd install ...


2

As Pieter pointed out, it sounds like your Bitcoin Core is not shutting down cleanly when you turn off your computer. This could happen for example if the shutdown process does not wait for Bitcoin Core to shut down cleanly before killing it, or if the computer is just powered off immediately. Bitcoin Core caches progress to the chainstate¹. The chainstate ...


2

If you want a definitive answer, you'll need to ask him I'm afraid. My best guess is that Windows development was the thing he was most familiar with (or even only familiar with). The coding style was also similar to one commonly used in the 90's by Windows developers.


Only top voted, non community-wiki answers of a minimum length are eligible