Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
6

No, it won't. That's also not possible without rebuilding the UTXO set from scratch, as the unspent outputs being spent need to be known to validate spends against. If you want to force a revalidation from scratch, start with -reindex-chainstate. This will blow away the UTXO set, and recreate it from the blocks on disk, and revalidate everything in the ...


4

That's because although the Bitcoin blockchain has a current height of 574080, your full node has synced until 195807 (the output "blocks": 195807 after running getblockchaininfo command). Block 195876, the one that you are querying, has not synced yet on your node. As you said, you have just installed Bitcoin Core. It take many hours (or sometimes days ...


2

The getrawmempool interface provides this information in the time field, though it is potentially very slow to respond with a large number of transactions in the mempool. It does not record this time once the transaction is removed from the mempool for non-wallet transactions, so it either needs to be gathered from this interface or recorded on addition with ...


2

You really should use the newer importmulti RPC. It lets you import multiple private keys at once (and since 0.18, also supports BIP32 derivation etc), and will do the rescan (if desired) once for all keys simultaneously. If you have accurate birthday information for your keys (a lower bound on the time when the corresponding addresses might be first used ...


2

If you're building from source, you can select a specific version as follows: First, review the build requirements, dependencies, and instructions for your OS: https://github.com/bitcoin/bitcoin/tree/master/doc Once that is done, use git to pull the source code and select a branch: ## clone the bitcoin repository $ git clone https://github.com/bitcoin/...


2

getaccount command was deprecated in Bitcoin Core 0.18, the wallet uses "labels" now. When the wallet was created, it created a seed for you. This is used to generate the addresses in a BIP32 heirarchy. To generate the first address, you can use the getnewaddress command, followed by an optional label (to save the address in the address book), and an ...


2

Try setting rpcbind to the same ip address as rpcallowip. I believe the behavior of those options changed recently with 0.18.0, https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.18.0.md. The rpcallowip option can no longer be used to automatically listen on all network interfaces. Instead, the rpcbind parameter must be used ...


1

You can follow the instructions for Debian at the build docs: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md For Berkely DB, specifically: Berkeley DB It is recommended to use Berkeley DB 4.8. If you have to build it yourself, you can use the installation script included in contrib/ like so: ./contrib/install_db4.sh `pwd` from the ...


1

Use bitcoin-cli getrawtransaction "txID" 1 The output will include a "confirmations" field, telling you how many confirmations the transaction currently has. Note that to get this information for transactions not related to your wallet, you will need to set txindex=1 when syncing your your node, or provide bitcoin-cli with the blockhash of the block the ...


1

tail -f .bitcoin/debug.log You will see the progress % in the end of every line. 2019-05-21T15:53:22Z UpdateTip: new best=00000000000007463022a75f47fbce4832d885cccfddc66b9ae6d332888f825d height=181720 version=0x00000001 log2_work=68.184645 tx=3482689 date='2012-05-26T22:08:18Z' progress=0.008422 cache=256.7MiB(1838887txo) Here, in case you did not find it ...


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