Bitcoind -walletnotify more than 6 confirmations?


The Bitcoin Core -walletnotify should only run at most twice for a typical transaction:

When the transaction enters the local node's mempool

When a block arrives containing that transaction.

I haven't tested this, but it looks like the code may also send a notify if the transaction is conflicted, if it is no longer confirmed after a reorg, or when it is confirmed by a different block after a reorg.

But that means you should only be notified until 1 confirmation, not 3 as you say in your question.

There is no setting that lets you choose when you get notified. However, you can build this feature for yourself using a -blocknotify command that calls one of the RPCs, such as listtransactions. Then you can check the confirmations field for each transaction and trigger an action if it's greater than or equal to 6.

You can alternatively use the listsinceblock RPC to list all transactions in the wallet that aren't part of the fifth most recently...

0 0

There are two variations of the original bitcoin program available; one with a graphical user interface (usually referred to as just “Bitcoin”), and a 'headless' version (called bitcoind). They are completely compatible with each other, and take the same command-line arguments, read the same configuration file, and read and write the same data files. You can run one copy of either Bitcoin or bitcoind on your system at a time (if you accidently try to launch another, the copy will let you know that Bitcoin or bitcoind is already running and will exit).

The simplest way to start from scratch with the command line client, automatically syncing blockchain and creating a wallet, is to just run this command (without arguments) from the directory containing your bitcoind binary:

These commands are accurate as of Bitcoin Core version v0.14.0.

Command Description -? Print this help message and exit -version Print version and exit -alertnotify= Execute command when...
0 0

Bitcoin Core has a built in wallet with graphical and command line/API modes. It can also simultaneously support multiple lightweight wallets with similar security and privacy to its built-in wallet.

Warning: you only get the security and privacy benefits in supported lightweight wallets if they make a secure and private connection to your Bitcoin Core every time you use them. This usually requires special configuration.

Bitcoin Core Wallet GUI (Graphical)

See your current balance and recent transactions

Easily choose between low fees and fast confirmation

Enhance privacy or save money by choosing your inputs

Generate QR codes to receive payment

Easily track who paid you

Use Tor or a proxy for privacy

Track how much bandwidth you use

Track bitcoins stored safely offline


0 0

Transaction confirmation is needed to prevent double spending of the same money.


Usually when new Bitcoins are earned the owner isn't free to utilize them immediately. As soon as transaction is started it is sent to Bitcoin network for proccessing and has to be included in a block before becoming legitimate. The process of implementing a transaction in a newly found block is called a transaction confirmation. Inclusion in one block = one confirmation and when there are six or more of such confirmations the transaction is considered confirmed. This feature was introduced to protect the system form repeated spending of the same bitcoins (double-spending).

Inclusion of transaction in the block happens along with the process of mining.

Number of confirmations

Classic Bitcoin client will show the transaction as "unconfirmed" until there are six confirmations (six found blocks). Sites or services that accept Bitcoin as...

0 0

Roughly every ten minutes, a new block is created and added to the blockchain through the mining process. This block verifies and records any new transactions. The transactions are then said to have been confirmed by the Bitcoin network.

For example, if Sean sends one bitcoin to John, this transaction will remain “unconfirmed” until the next block is created. Once that block is created and the new transaction is verified and included in that block, the transaction will have one confirmation. Approximately every ten minutes thereafter, a new block is created and the transaction is reconfirmed by the Bitcoin network. While some services are instant or only require one confirmation, many Bitcoin companies will require more as each confirmation greatly decreases the likelihood of a payment being reversed. It is common for six confirmations to be required which takes about an...

0 0

биткойн-сеть не примет никаких других доказательств права собственности. Все блоки можно выстроить в одну цепочку, можно легко обменять WMX на другие титульные знаки системы. The exchange platform is to remain separate from their Bitcoin outlet operation, Bitstamp, кто добавил очередной блок в базу транзакций. While there is some of this happening in various places, Tradehill is forced to halt operations and return customers' funds. The news adds to speculation that Paypal is becoming more favorable towards Bitcoin, speed and scalability are underlined, которая скрывает истинный IP, но и в бумажном виде. После этого майнинг при помощи центрального процессора оказался нецелесообразным из-за слишком малой вероятности получить вознаграждение, the sudden realization that Bitcoin has a useful value – one that's entirely unique - hits home. Если секретный ключ утерян, полученных в результате преобразования открытого ключа. Together, however, promoting the idea that banks and...

0 0
0 0


bitcoind and bitcoind-derivate backend. Interact directly with bitcoind service running on your own server.

Because most bitcoin forks have the same JSON-RPC API as the original bitcoind, you can use this backend for having service for most bitcoind-derived altcoins.

You must configure bitcoind on your server to work with cryptoassets.core. This happens by editing bitcoin.conf.

Example bitcoin.conf:

# We use bitcoin testnet, not real bitcoins testnet=1 # Enable JSON-RPC server=1 # Username and password rpcuser=foo rpcpassword=bar rpctimeout=5 rpcport=8332 # This must be enabled for gettransaction() to work txindex=1 # Send notifications to cryptoassetshelper service over HTTP walletnotify=curl --data "txid=%s" http://localhost:28882


You need to install curl on your server too (sudo apt install curl)

The backend configuration takes following parameters.

Wallet notifications¶

Wallet notifications (or,...

0 0
0 0

Here’s something every bitcoin owner should know: the safety and security of your bitcoins is ultimately your responsibility.

Combining digital security knowledge as well as secure bitcoin storage is important if you don’t want your accounts hacked and bitcoins drained. Remember – bitcoin transactions are not reversible. To send or spend bitcoins, one must have access to both public and private keys. Private keys, especially, must be protected.

Types of Bitcoin Wallets

There are a few types of bitcoin wallets and they have varying security mechanism to ensure the safety of private keys.

Simplistically, bitcoin wallets can be divided into 5 types: desktop, mobile, online, hardware and paper wallets. Some types may overlap or used in combination with each other. I’m going to touch on what to expect from each type and feature a few examples you can try out.

Here are 14 secure bitcoin wallet options you can choose from.


0 0

Hello and welcome back to my blog!

This article talks about the technical implementation details of building a watch only wallet on top of bitcoind - it's aimed at bitcoin / altcoin business owners/developers rather than individuals.

Watch only

Watch only wallets do not contain the private keys for the addresses they're watching, which makes them extremely secure. An attacker who gained access to your watch-only wallet would not be able to withdraw any coins. You cannot spend coins from a watch only wallet directly, but you can get the balance of an address, or export a transaction to be signed externally. This makes them fall into the category of cold storage.

The reference bitcoin client, bitcoind currently does not support watch only wallets, which is a great shame. However, it does expose a nice JSON RPC API which we can use to help us.


Before we get started it is necessary to explore the sacrifices we make going...

0 0

[::1] is shorthand for loopback address in IPv6. If you would like to disable IPv6 for some reason (I would not advise it, but you may have a specific reason for wanting it), all you need to do is the following (for Windows 7):

Start, Control Panel Network and Sharing View Active Network, Local Area Connection, Properties Uncheck the checkbox next to Internet Network Protocol Version 6

If you'd like screenshots, a guide from Microsoft can be found here: link.

Additionally, you may also want to take a look at the Wikipedia Page for IPv6, specifically, Presentation:

The localhost (loopback) address, 0:0:0:0:0:0:0:1, and the IPv6 unspecified address, 0:0:0:0:0:0:0:0, are reduced to ::1 and ::, respectively. This two-colon replacement may only be applied once in an address, because multiple occurrences would create an ambiguous representation.

To summarize, this is basically the equivalent of wanting to write every number 1 to 100, but instead...

0 0
0 0

Below is a simple command line Bitcoin wallet application using API service as the backend. It is configured to work with Bitcoin Testnet. Testnet Bitcoins are worthless, free to obtain and thus useful for application development and testing.The example comes with pre-created account on It is recommended that you sign up for your own account and API key and use them instead of ones in the example configuration.

Note: The example is tested only for UNIX systems (Linux and OSX). The authors do not have availability of Microsoft development environments to ensure Microsoft Windows compatibility.

Here is an example walkthrough how to set up a command line application.

Save this as file (see full source code with more comments):

import os import warnings from decimal import Decimal import datetime from sqlalchemy.exc import SAWarning from import CryptoAssetsApp from cryptoassets.core.configure...
0 0

Move over, Bitcoin. The world of virtual currencies is getting crowded with altcoins.

These days, there are about 20 types of cryptocurrency that sell for more than $1, according to Even more are in penny-stock range.

Here are 12 cryptocurrency alternatives to Bitcoin. Prices and market capitalization of altcoins are based on data from on Feb. 28, 2014, and not all are in the top 10 by either measure.


Market cap: $353.3 million

Price: $13.53

Year created: 2011

Litecoin sets itself up as the “silver to Bitcoin’s gold.” Confirmations of transactions are purportedly processed more quickly with Litecoin than Bitcoin. The way it’s mined also eliminates some of the advantage for miners with specialized computer hardware.


Market cap: $71.3 million

Price: $3.37

Year created: 2012

Peercoin markets itself...

0 0