bitcoin core – -regtest generate 101 not working

when I type

bitcoin-cli -regtest generate 101

in the powershell it gives me this error:

PS C:Program FilesBitcoindaemon> ./bitcoin-cli -regtest generate 101
error code: -32601
error message:

I am running bitcoind in regtest too ,this is the last message that I got fom bitcoind:

Adding fixed seed nodes as DNS doesn't seem to be available.

please help

Original default bitcoin script – Bitcoin Stack Exchange

Stack Exchange Network

Stack Exchange network consists of 176 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

❕NEWS – Pizza Hut Accepts Bitcoin And Ethereum In Venezuela | NewProxyLists

Pizza Hut branch in Venezuela is now accepting bitcoin, ethereum, and other crypto and this is all possible due to a collaboration made with crypto firm Cryptobuyer. Around 40,000 businesses are already using Cryptobuyer’s services in Latin America and they also have a few ATMs. Well, it’s wonderful to know that Pizza Hut is now accepting bitcoin…

bitcoind – does Bitcoin Core automatically use reindex when you specify txindex=1 with existing sync’d chain?

I sync’d a bitcoin node with Bitcoin Core Qt GUI. Hundreds of GB, naturally.

I realized I needed txindex on for Lightning node stuff, so I changed the conf file via the GUI to include txindex=1. I launched it on my Mac and then slapped myself in the face – how would I tell it to reindex instead of throwing away my database?? Didn’t wanna download all those GB again.

But then I noticed debug.log started saying this:

2020-11-30T06:07:43Z Syncing txindex with block chain from height 498564
2020-11-30T06:08:28Z Syncing txindex with block chain from height 500148

which, if I remember right means it’s doing a reindex, not a full-blown restart of a sync. Checked on disk, and indeed, files still there.

I’m grateful, but also mystified. Questions:

  1. does Bitcoin Core see when you’re about to throw away a full sync with txindex=1 and then inject a -reindex into the start command?
  2. how can I see the startup command that bitcoin-qt uses when I start with with the Mac OSX launcher?

blockchain – Bitcoin Takeover Possible?

I have a question / scenario im looking to understand regarding cryptos and wondered if anyone here wants to comment on the below and discuss…

It goes:

Given that crypto’s are 100% reliant on organisations dedicating resources toward mining transactions on the blockchain for them to be viable currencies and that financial incentives for participating in the networks are based upon the amount of transactions successfully mined, then it logically follows that the more resources an organsiation can dedicate to mining transactions then the higher the profits they can earn. But whilst anyone can mine transactions, it rarely happens that individuals do, because the economies of scale have kicked in and the vast majority of mining transactions are processed thru these huge crypto data centres owned by unknown orgsanisations who can leverage large sums of $$$ to purchase rackspace, hardware, power, tech administrators and bandwidth.

(We’ve already seen the impact of economies of scale kicking in on the price of DRAM and 3D Video cards, which are double what they should be due to their ability to do better floating point math than CPU’s.)

Without the transaction mining activity any cryptocurrency is dead. Therefore as a holder of crypto you are 100% reliant on these large crypto mining operations for the ongoing usability of the coins you hold. If they stop mining, the transactions times will take longer, utility of the currency will be affected and people will stop using the coins leading to the death of the network.

So exploring this idea that the miners are important for the success of the network and coin holders are reliant upon them, lets imagine for a moment that an organisation (or a consortium) has proprietary access to hardware “Super X” that can perform crypto mining TEN TIMES faster & cheaper than any other organisation is currently capable of. That consortium would be at an advantage and is going to make larger profits because it’s able to process more transactions than the competitors and gain a larger share of the market. The competitors to the consortium will see their profits dwindle and likely close their operations leading to the consortium having a monopoly controlling interest of transaction processing of the currency.

If you think that’s crazy, just imagine a consortium made up of Google, Intel, AMD & NVIDIA — could they pull it off?

So if a consortium gained a controlling interest in mining (and I think it could) it begs the question, would such a consortium then push for a fork in the bitcoin core code fork (release) which then further favour them or some other entity they decided upon? For example maybe they could force through changes that mean you’d have to register your account with the tax office, or local bank or I dunno, publish your id with your wallet. Who knows what.

But effectively, is such a takeover feasible? Could a consortium or state backed organisation perform this kind of change?

Where to get OHLC data for Bitcoin from all active exchanges now that has died?

Recently, I found what was a gold mine of data:

Sadly, since the last 10 days, since 2020-11-20, the data has stopped updating. There is no mention of this on their website and they don’t respond to e-mails. I’m left guessing as to whether it will ever resume. Typical.

For example, if you download the “BTC/USD [Daily]” CSV file on , and look inside it, you will see that the data stopped 10 days ago. It used to update every day.

The last line was:


I searched the Internet and asked around for ages to find that data source. All the others that I’ve ever found have been garbage or want money from me. I don’t have money to pay. I just want to keep track of the Bitcoin “OHLC” prices for each day for each active Bitcoin exchange.

This seems like the kind of information that multiple “crypto geeks” would happily provide as a public service. After all, I’m not needing per-minute or even per-hour data, but only per-day.

protocol – How does change work in a bitcoin transaction?

First, let’s clarify the difference between accounts and addresses.

“Accounts” are used for the convenience of people to track their funds. This is primarily used to track the source of funds. Since this is just for your tracking, you can move Bitcoins from one account to another just by moving a number from one column to another. No transactions are needed. (This is like when you know you owe your son $25 for allowance, and you have $200 budgeted for groceries.)

“Addresses” are used to receive Bitcoins in transactions. The coins are sent to an address. The client associates each address with an account and adds received funds to that account. This is simply done for convenience to allow people to track indirectly which address funds were sent to. But you can have any number of addresses associated with the same account.

Change comes from the way Bitcoins are spent. To spend a certain number of Bitcoins, you must pull in Bitcoins from transaction outputs to accounts you control. Note that in the spending part, it doesn’t matter what address this is or what account that address is associated with. When you spend Bitcoins from a particular account, that just means you debit that account for the amount you send. It doesn’t mean the funds come from addresses associated with that account. Remember, the association between addresses and accounts is for receiving only, not sending. (Like when you spend money on groceries, it’s not like you have specific bills for groceries. You just have an amount budgeted.)

So when you pull in transaction outputs, you form a pile of Bitcoins big enough for the number you are trying to send. Usually, it won’t be exact since you must claim an entire output. So the excess forms the ‘change’.

Since there is no address associated with sending Bitcoins, there is no particular address the change should be sent to. So, to preserve anonymity, the client creates a new one just to receive the change from this transaction. Since this address isn’t really associated with an account and shouldn’t be used to receive any more Bitcoins (because that would senselessly tell people the same recipient got the coins as got this change) the client does not display it.

Because the client manages coins in a particular way, it doesn’t make sense to try to view coins it is managing with any kind of explorer. It’s specifically trying to obscure the fact that all the coins are related. Those kinds of services are intended to monitor recieved funds, not managed funds.

legal – Bitcoin Core Desktop Wallet retaining my coins due to Gap Limit being exceeded

trying to send coins am unable to enter address. have to load from clipboard, cannot copy and paste, address bar goes red, disables send functions. i explore reasons, seems 20 unused address gap limit is probably the reason. researched solutions. only feasible solution seems is sending funds to unused addresses, did so with 11 addresses to no effect – i am still almost 80 over. looks like i exceeded 20 over a year ago. money sat in desktop wallet unusable for a week now. Block chain is up to date. cannot see any solutions here or anywhere else. 1. can anyone offer a solution? i am on Ubuntu – maybe there is a terminal gap limit extension solution i am unaware of? 2. how is this possible that an automated system can withhold my own money from me over a technicality which isn’t ever flagged to users? is this even legal? will it ever release my funds if i can’t sort this problem out and do i have redress if not? seems a ludicrous situation and design flaw. any suggestions or help would be appreciated, thanks.

bitcoin cli – CLI tool to sign a transaction using a private key in an offline computer

Consider an offline computer that has a list of private keys for bitcoin addresses. The computer has some flavor of Linux installed on it, so it can run common CLI tools and Python scripts.

I would like to create a transaction from one of these private keys into a given bitcoin address, sign it, and securely transfer it to an online computer, possibly using a QR code and a phone QR reader that can publish the signed transaction.

  • Searching the site, but I only found old answers
  • STFW, giving me non-CLI tools or obsolete answers
  • Playing with bitcoin-cli sendtoaddress, but it does not seem to support any given private key, just its own wallet.

How can I securely create a signed transaction with a private key, a destination address, and an amount, from an offline computer using CLI tools?

bitcoin core – How Nodes suggests for what the next block in the chain should be by solving cryptographic hash by random guesses

Well, According to my research, Any node can collect a set up unconfirmed transactions into a block and broadcast to the rest of the network as a suggestion for what the next block in the chain should be, by solving the cryptographic hash by random guesses. Moreover, the hash function creates something like a 32byte number might be using SHA256. So, I want to know who creates random numbers? and how nodes do guessing?

Please let me know if my concept is wrong. I will appreciate your guidance. Thanks