2022 Developer Survey is open! Take survey.

Hot answers tagged

12 votes

Ubuntu Linux -- How do I start bitcoind as a service to run automatically?

There's an upstart script for Ubuntu in the Bitcoin Core source tree. Using that is the most correct way. However, I just login as the user account I want to run Bitcoin Core daemon, start a ...
user avatar
6 votes
Accepted

What's the POST endpoint to broadcast a transaction in copay's server?

Multisig and singlesig wallets use the same flow. A Tx proposal need to be created in singlesig wallets also. Copay syncronize across devices, so you can have a non-signing copayers in a 1-1 wallet ...
user avatar
  • 203
5 votes
Accepted

How to securely store Bitcoin server-side?

The precautions you can take from an architerual point of view would be as follows: The database storing the private keys or the seeds in case of HD wallets should be running on a separate instance ...
user avatar
4 votes

How to Connect bitcoind to one of your workers in a pool?

Assessment I think you are slightly misunderstanding some things, but basically you are already on the right path. Wallet I signed up for a bitcoin wallet (coinbase) where I am given an id....
user avatar
  • 204
4 votes

Who owns the bitcoin mining servers

There is no central authority that "determines the equations". Instead, every Bitcoin node (whether run by a big mining operation or your computer in your basement) is responsible for verifying all ...
user avatar
  • 3,401
4 votes
Accepted

How to resolve Bitcoin Daemon Warning of last 100 blocks have unexpected version message?

There is no need to resolve anything - some miners create arbitrary versions to attempt to speed up the mining process, as it gives them an additional field in the block block header to alter without ...
user avatar
  • 16.4k
4 votes

How do I move my c-lightning node to a different machine without closing my channels?

This question was answered by Christian Decker on IRC. Yes, it's a bit tricky, because you never want to start the old copy once you started the new one, but absolutely doable. 1) stop the old node, ...
user avatar
3 votes
Accepted

Other server wallets than bitcoind recommended for a ubuntu server

The easiest solution would be to upgrade to the recently released version 0.12.0 which allows running a wallet while in pruning mode (which was not possible with 0.11.2). That way you can limit the ...
user avatar
  • 62.5k
3 votes

Ubuntu Linux -- How do I start bitcoind as a service to run automatically?

I finally end up with this setting for my raspberry nano /etc/systemd/system/bitcoind.service content of the file bitcoind.service [Unit] Description=bitcoin After=network.target [Service] Type=...
user avatar
3 votes
Accepted

How to receive payments online to single address per user in scalable way?

Use Bitcoin Core in server mode and use it's notification functions: server=1 blocknotify = curl\yoururl walletnotify = curl\yoururl Set them up to make a call to your app. This way, you won't be ...
user avatar
  • 3,148
3 votes
Accepted

bitcoind stops working

I had a similar problem - it turned out that Bitcoin was running out of memory. (This happened when I was using one of DigitalOcean's 512MB VPS's.) Here's what you can do to check if this is the ...
user avatar
  • 28.6k
2 votes
Accepted

BlockNotify/WalletNotify - but without the console window

I took me some, but I think I have an answer. I went trough the source code and found the runCommand() function that actually starts the command provided by notify options (it is called mostly from ...
user avatar
  • 1,570
2 votes

blockchain webgame - use api or actual blockchain to build database?

Use a third-party API if the correctness or accuracy of the data is not important. When the financial data needs to be accurate, using a third-party API is slightly more dangerous because as an ...
user avatar
  • 121
2 votes

JSON RPC library unable to connect to bitcoind?

As @Bittylicious mentioned the JSON-RPC is a little bit buggy https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#PHP Note: The jsonRPCClient library uses fopen() and will throw an exception saying "...
user avatar
  • 131
2 votes

How to setup bitcoind 10.2 for solo mining on LAN with Bitmain S3

Bitcoin Core doesn't directly allow for stratum miners to connect, you need a middleman proxy to translate the two mining methods used by Bitcoin Core and cgminer on the Antminer S3. This is simplest ...
user avatar
  • 15k
2 votes
Accepted

What is the mechanism by which the 'system' adjusts the difficulty of finding blocks so one is found on average every 10 minutes?

It's enforced by the fact that every miner and every Bitcoin user is running software which implements the adjustment algorithm you described. So everyone is able to compute, and agree, what the ...
user avatar
2 votes

Storing your private key on a "security server"?

Usually we try to discourage storing private keys on a server at all unless absolutely necessary. However, if necessary, just having the keys on a separate server increases the complexity of the ...
user avatar
  • 1,982
1 vote

Idea on how to keep my altcoin private, make it impossible for others to mine even if they have my altcoin's source code

I've been doing freelance to create an altcoin and my client wants this new coin to be private which means only authorized users can mine and use the coin. What I've been doing so far is to make a new ...
user avatar
  • 28.6k
1 vote
Accepted

ccminer JSON-RPC call failed: Method not found

Above question was also asked at Github Sorry, but Bitcoin solo mining is no longer supported, because they removed the getwork command. Trying to mine Bitcoin is useless anyway, the difficulty ...
user avatar
1 vote

What's the POST endpoint to broadcast a transaction in copay's server?

I think I should leave a comment with a small correction to the flow ematiu posted after 1 day trying to figure out why I couldn't sign my transaction. the actual flow is: create => publish => get ...
user avatar
1 vote

Making a Server?

To directly use you wallet to recieve payment, I recommend two options https://gear.mycelium.com/. It has payment widgets etc... and you need to do less work on your server http://docs.electrum.org/...
user avatar
  • 1,892
1 vote
Accepted

Bitcoin core installation

Since you mention a server, you'll probably want to run the daemon, bitcoind. The size of the blockchain has eclipsed 20 GiB a long time ago, so you'll want to run with the flag -prune=<n> ...
user avatar
  • 62.5k
1 vote
Accepted

Transacting bitcoins while there are no Accept rules in iptables

Telnet says 'Connection failed' which means others will not be able to connect to you. Your iptables is working as it should. You may be mistaken thinking that bitcoin is working without ACCEPT rule ...
user avatar
  • 6,169
1 vote

Automatically restart bitcoind on crash

I'm running a RaspberryPi Bitcoin node. Since I discovered that the node had sometimes crashed due to overload, I put an hourly starting command into crontab: @hourly <completePath>/bitcoind -...
user avatar
  • 62.5k
1 vote
Accepted

Can I install a wallet on Windows Server 2008?

You can install "Bitcoin-Core" (including Bitcoin-Qt) on a window server 2008. It requires initial syncing and verification of around 40GB of data. So it might take 1-2 days until you can use it. ...
user avatar
1 vote

Fixing libtool for -rpath problems

That's not an error. Continue by running make, optimally with -j set to the number of cores you have on your system.
user avatar
  • 15k
1 vote

What do I change in my config to access my local NXT NRS Server/Client from another computer on my local LAN?

what I did was the following, create a nxt.properties file in the conf/ directory and put this in the file: This basically makes your NXT NRS server publicly available on your local lan or via the ...
user avatar
1 vote

How to receive payments online to single address per user in scalable way?

I know it's late to answer but I provide my solution which handles most of the risks. First of all, I prefer to generate a new address for any time when user wants to deposit; But if the condition ...
user avatar
1 vote

npm / node mining for litecoins

The answer to this is yes, it will. Mining can be done on most turing-complete languages like Javascript. But the true question is how useful is a JavaScript miner. Not to mention Node.js is optimized ...
user avatar
  • 2,863
1 vote
Accepted

Bitcoin daemon sends "Empty reply from server" when in test net

I leave it here. Because i spent about two days on it :-o https://github.com/bitcoin/bitcoin/issues/10218 Authentication is not optional. Configuring it yourself is optional, but bitcoind never ...
user avatar

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