bitcoin cli – How to use RPC to get the total number of transactions on the network

I'm pretty sure this is not shown by the RPC API.

You could analyze debug.log and search for lines like:

2019-08-20T12:17:58Z UpdateTip: new best=0000000000000000000e6c402b311740e21f79a42ed84ecf69a3ae4fe88ce882 height=590956 version=0x20000000 log2_work=90.9855 tx=446914655 date='2019-08-20T12:17:55Z' progress=1.000000 cache=277.1MiB(321228txo)

From where tx=num Specifies the total number of transactions. I assume that most explorers maintain a separate database of transactions and simply run a query instead of retrieving such data from a node or log.

rest – API key vs. Per User Auth for B2B transactions at Restful Service

I was asked how to secure a recovery service that requires (at least for now) third-party B2B applications to authenticate.

Traditionally, this is done with API keys. I understand that API keys are basically a token that has been generated once but is used for a group of users of an organization.

The problem with API keys is that they are often shared or assigned to repos, making them a bit more vulnerable than a custom schema such as JWT, which generates an access token / update token pair for a user and a new one each time Access token is requested as often.

As far as I know, a schema like JWT would allow more flexibility to code roles.

Are my results correct? If you were to use something like JWT, how would I create something like a Rails app (or name your MVC backend framework) to do this?


I would like to talk to you about the new CoinHub software

available here:

In fact, with this little miracle, you can use your Blockchain wallet on Windows, Mac OS X or Linux without a password. CoinHub is software that enables secure BIP32 synchronization between your wallet and the software. This effectively prevents anyone from seeing your password and blockchain ID. You can safely conduct transactions and use your wallet (portable software).


c ++ RAII wrapper for SQLite transactions

I use this nice C ++ wrapper to work with SQLite3 in my project. I wanted to handle bugs elegantly and automatically reset if any part of the code fails. That's why I wrote this simple helper class:

class SqlTransaction { // RAII class to rollback on error
        SqlTransaction(std::shared_ptr db_): db(db_) { *db << "begin;"; };
        ~SqlTransaction() { if (!finished) rollback(); };
        void commit() { if (!finished) { *db << "commit;"; finished = true; } };
        void rollback() { if (!finished) { *db << "rollback;"; finished = true; } };

        // Disable both copying and moving
        SqlTransaction(const SqlTransaction&) = delete;
        SqlTransaction& operator=(const SqlTransaction&) = delete;
        SqlTransaction(SqlTransaction&&) = delete;

        std::shared_ptr db;

It is to be used as follows:

SqlTransaction trans(db);
// work with db here, may throw if something goes wrong

Transactions – Where can I get a visual example of the entire Bitcoin network, from the physical network to the overlay network?

* Note I am not a technical person, please excuse any misunderstandings here.

I'd like to get a sense of what the entire system looks like, from physical hardware (like miners and full nodes) to overlaid networks (possibly node transaction relays?) For mobile clients that drop and receive transactional data.

Mining Pools – Can a block have multiple Coinbase transactions? Is there also a limit to the number of signatures that a multi-sig-transaction has or needs?

I'm wondering if a block with multiple Coinbase transactions can be created. The US government regulates mine pools that are in control of the miner's wallets. So it would be fabulous if this could be circumvented by having multiple coin wallet transactions with multiple sig wallets. Is there a limit to the number of signatures required for a multi-sig wallet?

Transactions – Bitcoin was successfully debited from the sender's wallet, but the purse of the recipient was not reached

The receiving address has received the coins and has already issued, resulting in a balance of zero.

The recipient should still be able to view the transaction in his wallet history when using a consumer wallet. You may or may not see it with a purse or other payment processor.

Wallet – Bitcoins and transactions are missing

Any ideas or can someone help me? I really do not know what to do

TL; DR: Your money was stolen. There is nothing you can do that has a significant chance of getting your $ 660 back.

The thief has access to the private keys that are stored in your wallet.

At some point in March 2019, a transaction was made and I did not do any transactions in March

One possibility is that someone has access to your wallet and has stolen your money.

A current problem was the purse Electrum.

However, if you have a PC wallet or access an online wallet from a PC, other malware on your PC may have stolen your passwords and used them to access your wallet, steal money, and eventually delete logs and data to cover their tracks.

I have entered my receiving address in (a) Block Chain (Explorer)

Most modern wallets are HD wallets that create a new delivery address for each transaction.

I've created new recipient addresses that I've read to show your available bitcoins sometimes,

I did not hear about it, it should be a mistake in a particular wallet. In general, I would be surprised if this helps.

If you find unexpected transactions in a Blockchain Explorer, it is unlikely that your Wallet software has an error. More likely, you are the victim of theft.

If your wallet misbehaves. One solution is to make a careful copy of your source words or private key (which you should already keep in a safe place) and then use it on a new computer (or phone, etc.) to download and install the wallet software just real trusted website and make a new duplicate wallet and let it completely sync. You do not have to delete your old wallet until the new one works completely.

It is safe for me to enter my address here


There are potential privacy issues if you use only one receive address. Everyone can see a list of all transactions made with this address. But it does not give anyone the opportunity to access your money.

You can also securely publish a transaction ID and the name and version number of your Wallet software (eg Bitcoin-Core 0.18.0, Electrum 3.3.4, …).

never Give someone your private key, seed set / recovery kit, or password for your wallet or wallet or account. If you change a previously-registered password, your wallet / account will not be backed up again.

Again, what I've read about creating a new address can sometimes show balances again:

This advice refers to IOTA and not to Bitcoin.

I am sure that I have never used Bitcoin this year

Everything indicates that your Bitcoin was stolen.

I would not use this wallet anymore and I would not use this PC for a new wallet or financial activity. Even after zeroing the disks and reinstalling the operating system, I'm worried about BIOS malware, infected USB devices, and so on.