11

bitcoind supports the argument -stopatheight, which takes the number of blocks to download before halting.


4

You can run with -connect=0. If it's not connected to anything, it can't sync further.


4

It appears that btcwire is the Bitcoin p2p module of btcd and neutrino is Lightning Labs's implementation of BIP157/158 (compact client-side block filters (CBF)). I suspect that the agent identifier btcwire 0.5.0/neutrino indicates LND (Lightning Network Daemon) instances which are configured to allow or prefer CBF for synchronization. Given your experience ...


2

You probably need a newer version of gcc. This helped me fix for Ubuntu: https://askubuntu.com/questions/1140183/install-gcc-9-on-ubuntu-18-04 TL&DR: adds custom PPA repo so you will able to upgrade: sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt update sudo apt --fix-broken install


2

The truth is somewhere in the middle. Your colleague is correct to point out that there is an ongoing cost for maintaining your own full nodes. Beside the employee cost, there is also the cost for the actual server infrastructure, which may be higher than you think if you consider that you will need to maintain high availability, redundancy, testing ...


1

Edit: you’re using the wrong architecture bitcoind binary, gnueabihf means armv7 hard float, which is 32-bit. There are 3 possibilities: Download the correct Bitcoin binary for arm64 architecture (preferred); Use 32-bit OS; Install 32-bit compatibility layer on 64-bit OS. — Type ldd /usr/local/bin/bitcoind to check what libraries you’re missing. Most ...


1

If you purchased Bitcoin a long time ago, and it's on an exchange, and that exchange still exists, and you can recover your username and password to that exchange, then you should be able to transfer your money off of there. If you used your own Bitcoin wallet software such as Bitcoin Core, then you will need to have your wallet.dat or other wallet file to ...


1

After a point, there's no reason to increase memory usage further. dbcache is useful up until the point where you have the entire UTXO in memory (4GB+ in 2021), and then increasing it further does not a lot other than increasing the time to shutdown the node safely (up to many minutes on a slow disk) maxmempool will increase performance by allowing more ...


1

Cash The Bitcoin network doesn't authenticate users. The Bitcoin network doesn't know or need to keep track of people's identities. Just as a recipient of a $10 bill or €50 banknote don't need to know the identity of the other person, they just need to examine the paper to see if it looks genuine. Bitcoin is cash, not a bank account. Bitcoin transactions ...


1

If you want to run bitcoin node on an ubuntu machine, it is always recommend to build it from the source code itself. That way you can be almost 100% sure of its authenticity. Start with: sudo apt-get update sudo apt-get install build-essential software-properties-common sudo apt-add-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install ...


1

Here is the protocol: https://electrumx.readthedocs.io/en/latest/protocol.html. If get_mempool serves your use-case then you may use it. You may need to experiment with it to find what is more convenient with Core. Some apps might be using the Electrum protocol under the hood. Only Electrum allows setting the server manually. Electrum protocol has blockchain....


1

I think I found a bitcoin private key So far as I know, a private key is 64 characters long in Hexadecimal (a mix of digits 0-9 and letters A-F only) or 51 characters long in WIF/Base58 (which includes a mix of any uppercase and lowercase letters as well as digits). There's also a mini format that is 22 characters long. It's 33 letters long That's likely ...


1

Since this question still comes up in search results, it's worth noting that bitcoin-cli now has a getzmqnotifications method. If you get something like this, you've successfully built with ZMQ: $ bitcoin-cli getzmqnotifications [ { "type": "pubrawblock", "address": "tcp://127.0.0.1:28332", "hwm"...


1

Indeed to use bitcoinrpc, you need to set the username and password in bitcoin.conf by: rpcauth=user:salt$hash of password which you can generate using https://github.com/bitcoin/bitcoin/blob/master/share/rpcauth/rpcauth.py. Simply shutdown bitcoind, add this to bitcoin.conf, restart, and you'll immediately be able to run commands in python like print(...


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