text:
missing transaction not received
I transfered 0.013 mBTC into Bitoincore.org wallet.on the 07/07/2020. As yet I have not received
Hash:-
13290114c5e1fe381c707e5f67b246cd0260f5bd24c9a1fc1aed0eab08dd2521
Address:-
1AKWvdsoAQC43sBANr9pCnk74nHCdrAvB6
0.0126 after fee, not recieved, can someone help me please

Why do you say "not received" exactly? What is telling you that the transaction is missing or hasn't been received? The transaction executed successfully.

Is your Bitcoin Core synced with the network?

Ok it is on the blockchain, but it is not showing in my wallet, the balance has not gone up by 0.0126mBTC.

I synced twice since 07/07/2020

The Address was generated by the Bitcoin core wallet. It is the same address as the last transaction that went into the account, but that one worked

Synchronisation
If the bottom of the main window of your Bictoincore.org wallet looks like this, you need to wait for it to catch up (it is still busy downloading details of recent transactions)

The icon at bottom right (two arrows moving in a circle) indicates the wallet is busy "catching up".
What wallets really contain
Remember that wallets don't actually contain money and don't really receive money. They provide a view of the public blockchain - a list of completed transactions that every wallet either creates its own copy of, or in the case of other types of wallet (SPV etc) has access to some other way. If the blockchain data says you have received the money, you have received it. Regardless of what your wallet says.
The only important data in any wallet is a secret number called a "private key".
The public blockchain is the only truth
As you know, when I write "blockchain", I mean the concept, not any of the many unrelated businesses who subsequently used that word opportunistically as their name or part of their name. I suspect their use of this name can confuse people.
There are many public websites that offer a view of the blockchain. By checking a transaction-id or address in several of these you can find out whether you have received money - regardless of what your wallet says. You don't need a wallet to receive money in Bitcoin. You only really need a wallet when the time comes to spend money in Bitcoin. Including when you use it to purchase other currency.

Checking whether a transaction is complete
A randomly chosen blockchain explorer says
2020-07-07 19:45    Block 638188    1711 confirmations

Senders                          Recipients

10.73060786 BTC  bc1q7⋯zpemf     38Un8⋯7YWqm   0.00279737 BTC
                                 13bVn⋯gxQig   0.01100000 BTC  Unspent
                                 1AKWv⋯rAvB6   0.01260000 BTC  Unspent
                                 1JAE7⋯W5sDP   0.03600000 BTC
                                 3BMEX⋯f958k   0.23655533 BTC
                                 bc1q7⋯zpemf  10.43155304 BTC

(I shortened the addresses to make the table fit here)
So 0.0126 BTC has definitely been received by the owner(s) of whatever wallet(s) contain the private-key from which was derived address 1AKWvdsoAQC43sBANr9pCnk74nHCdrAvB6
Wallet problems
If your wallet doesn't show this, there can be several causes

Your wallet is not fully synced as far as block 638188
You don't in fact have the private-key from which that address was ultimately derived.
Something else.

Checking whether a Bitcoin Core wallet knows about a transaction
In Bitcoin core it is usually obvious if the wallet has not finished synchronisation. You will see a message like this:

If not you can check from the "Debug Window" in the "Help" menu

Then you can click the "console" tab and then type command getblockcount at the bottom

Here we see this wallet has only retrieved blocks as far as 554269
Therefore this wallet would not know about your transaction in block 638188.

Related questions:

I sent Bitcoin to an address but the recipient hasn't yet received it. It has been 2 days
Someone else created a wallet for me to use. Is this a scam?
What kinds of wallets are there?
How do I import a private key into Bitcoin-Core?

Yes I have synced twice since 07/07/2020

How do spend money off the blockchain when the wallet you are using has no funds to send???

After reading a bit more about bitcoin, I have used the same address twice, will this have anything to do with it not appearing in my wallet?

@NW: 1) Fully synced? 2) By using the wallet to construct and broadcast a draft transaction using the results of a mathematical calculation involving your private key from your wallet and the unspent transaction output data of prior transactions from the public blockchain. 3) No.

@NW: See updated answer

Hi Redgrittybrick, I have loaded the Bitcoin Core wallet on to my laptop, but there is no log-in. How does the wallet on my phone sync to the laptop wallet. The laptop wallet is busy syncing, but still has another 4 years to catch up. But I suspect this is a brand new wallet????

@NW: If two wallets each have the same secret number they will both show the same amount of money and both allow you to spend it. The synchronisation is the wallet downloading the list of all Bitcoin transactions ever made anywhere in the world to work out how much money you have.  If you have a login, you are probably using a custodial kind of wallet where some business is looking after your cash instead of you taking full control of your own cash yourself.  See What kinds of wallet are there?.

At the end of the day is there any way that I can get my money back?

@NW: Back from where? Your 0.0126BTC hasn't gone anywhere, you still have it, no-one else has it. All you need to do is to set up a functioning wallet that contains the relevant private-key.

That address is the same address as the second transaction on the chain to the Bitcoin core wallet, it was generated from the same wallet??????????

How can I do a block count with the android app on my phone, although the app is synced, there is not as much functionality on the app??

@NW In your question you said "I transfered 0.013 mBTC into Bitoincore.org wallet." - but The Bitcoin core wallet isn't available on Android. Are you using the Schildbach wallet?

@NW: You may be better off asking your follow-up questions as actual questions like this

The block is 641138

and that wallet is the one, this is so confusing, the address was produced by this wallet, it is the same as the last transaction I made that worked???????

Still no luck, still on the block unspent, I used same addrrss as the last transaction into and from same wallets, but the second transaction has not shown in the wallet. How do I bring the address into the wallet?

@NW that's not how things work. If your Schildback wallet on android generated the 1AKWv⋯rAvB6 receiving address, it already has that address (it should be listed in the address book). You can import addresses into a wallet but that is pointless as you then can only see but cannot control or spend any money sent that address.

So are you saying I have lost the money and what do you mean by Schilback wallet????

@NW, No. The Schildbach wallet is a wallet for Android phones created by Andreas Schildbach which is nowadays called "Bitcoin Wallet" by "Bitcoin Wallet Developers, the current version is "Wallet 8.05"" - you can see this by touching the three-dots menu at top-right and selecting "Settings" then "About". It's icon on android is an orange circle with a tilted Bitcoin currency symbol "B" in white.  --- Because "Bitcoin Wallet" is such a hopelessly general name, many people still call it the Schildbach wallet to distinguish this "Bitcoin Wallet" from all the hundreds of other Bitcoin wallet apps.

Sorry for being well stupid, but I want to do is get the money usable, will that be possible.

@NW. It should be possible but only if you can either get a clear understanding of how everything works or are able to explain what you did about ten times more clearly and carefully. I'm assuming something minor went wrong and that you are not the victim of a trickster who gave you false instructions to cheat you..

I sent a transaction from a crypto .com wallet which had the last transaction address stored on a white paper in the app. It was from a previous tr

That I did the same two wallets, sent it and it got to the blockchain but did appear in the Bitcoin wallet.If you look at the address on the blockchain click the hash you see all tr

The transactions that I have done and the 126 sats ar

I didn't write anything my only crime was use a recieving address twice, I now know that is not a done thing, can you help.  If you want money I can spare a little if I get it back

@NW I don't want any money. Please don't offer money to helpers. You'll just attract scammers who will trick you. Using an address twice isn't a problem - it just means your actions are not as private as they could be. That doesn't prevent money being transferred.

So is the app wallet thats at fault?

Hi pal, have you had any ideas on how I can retrieve my money?

How do I get to the debug menu on  app wallet??

Sorry to bother you again, but how do you test a private key to generate a key for a transaction that has not fully completed?

Downloaded Electrum transfered seed hey presto funds back in my posession

The hash mentioned is already confirmed on blockchain. It is already credited to receiver.  You can see it here
So, it must be issue with your local node syncing.

Can you look in to this for me please?

Ok thanks, the wallet is on my phone, how do I transfer it to my laptop, for more functionality?

Are still there

How do I get to debug in the app?


text:
Question about nSequence with regard to bip-0112 and bip-0068
So far my understanding is that when you create an op_csv output the value entered before the OP_NOP3 is an arbitary number, lets say 10.
This number can be interpreted as block based of time based depending on the nSequence value set when spending (according to bip-0068).
What I am confused about is the following, say my first transaction has a redeem script as follows
10
OP_NOP3,
OP_DROP,
alicePubKey,
OP_CHECKSIG
Does this mean that the spender, who sets the nSequence type flag (1<<22) to either on or off whilst creating the spend transaction, effectively has the ability to decide whether the 10 is interpreted as block based or time based?
It seems the granularity of the time based option is 512 seconds, so close to an average block time.
Thanks

So turns out the sender has to set the same number in the nSequence that is in the script. In the case above 10 will be interpreted as 10 blocks because I was using bitcoinJS lib which converts the decimal 10 to a 32 bit integer which would be
00000000000000000000000000001010
according to bip68 https://github.com/bitcoin/bips/blob/master/bip-0068.mediawiki
the last 16 bits is the value i.e. 10 in binary signed twos compliment is
0000000000001010
the first 16 bits represents the flags, so as they are all 0s it means the disable flag is set to off and the type flag is set to off which means the number is interpreted as blocks
however if I did this
00000000010000000000000000001010
it would be interpreted as time span, i.e. 10 * 512 seconds
for anybody like me who needs to stop thinking in terms of decimal/ints and start using 32 uint and thinking in bits/bitshift operations etc
there's a handy bitcoin-js lib which will convert it for you
https://github.com/bitcoinjs/bip68

If your answer is correct and addresses the question you can help Bitcoin.SE by marking it as accepted so that the question does not remain as "unanswered".

yep I tried but wasnt allowed to as my account was too new or something

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
Why is Bitcoin's unconfirmed transaction count rising and what effect does it have on the network?
I see that blockchain.info is reporting a large and steadily growing number of unconfirmed transactions.
I assume that these are all transactions broadcasted to the network but never confirmed as a result of low fees.
What does this mean long-term? Given my understanding of the blockchain, only transactions on the blockchain are considered confirmed and don't exist on the blockchain if they are not confirmed - and instead, exist only in the mempool.
According to blockchain.info's mempool size chart, the mempool size has increased considerably since genesis, and some initial research shows that the size does grow with abnormal network conditions (high volume spikes, etc).
At the time of writing, the number of transactions is 285,565, totaling about 228.71450055 BTC that are tied up in fees.
That means about 0.0008009192322 BTC per transaction on average. However, following the rule of 20 satoshis per byte, on average, each transaction would need only 0.00002 BTC in fees - about 40 times less than what is currently tied up in BTC fees.
What's going on here? Will the number of unconfirmed transactions die down over time? Will it increase uncontrollably? Will this ever out-scale the number of miners on the network?
Or am I completely missing something here?

Bitcoin is limited to about 15,000 transactions per hour.  The number of transactions will go down over time, but anytime people are adding transactions faster than 15,000 / hour, the network cannot keep up and the backlog will grow.

Yes, you are correct.
In mempool = Unconfirmed.
Blockchain = Confirmed.
A transaction with 1 input and 1 output is approximately 192 Bytes.
Using 20 Sat/Byte will result in 0.0000384 BTC in transaction fees. However in real-life, most transactions have more than 1 input and 1 output. So on average the fees are much higher.
If you take a look at Johoe's Mempool Statistics, you can tell that about 1/4 of the transactions in the mempool are sent with 50Sat/Byte or lower. These transactions will probably be stucked for a long time, or dropped gradually when they reach their mempool expiry time(default 2 weeks for Bitcoin Core v0.14.0 and later).

Will this ever out-scale the number of miners on the network?

Not in the sense that the network will go down, the target solve-time of a block is 10 minutes. It doesn't matter if there are 10k miners or 10 million miners, the mining difficulty will over-time be adjusted so that the average block time approximate to 10 minutes given the total hash rate of the network.
At this rate, where there are more incoming transactions than what the network can process. The network will be more and more congested and eventually a lot of nodes mempool's will be saturated(if they have set a max cap), and new transactions will be rejected.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
Few questions on Bitcoin purchase and transfer
would like to know how you do things from buying Bitcoin to transferring it to Poloniex/other wallet.
1) Where do you buy Bitcoins (USD/SGD/PHP/OtherCurrencies to Bitcoin)?
2) How do you transfer it to another wallet (i.e to Poloniex)?
3) When transferring an amount to Poloniex, does it have a low transaction fee?

By posting 3 questions as a single question, you've made it difficult for someone to point you to the existing answers for each of them, of which there are.  This means you are not seeing the best answers that exist on this site.  Please post questions separately in the future, for your own benefit.

In future please focus on asking one question per thread rather than multiple :)

1) Where do you buy Bitcoins (USD/SGD/PHP/OtherCurrencies to Bitcoin)?

A number of exchanges allow you to deposit USD or other currencies and purchase BTC, usually after some verification process. You can search for exchanges or have a look at other questions with the buy-bitcoins tag here.

2) How do you transfer it to another wallet (i.e to Poloniex)?

Your wallet will generate an address for you, which will usually look like a random numbers and letters around 30 characters long, starting with a 1. You can enter this address into the withdrawal section of the exchange you chose, and they will send the BTC to it.

3) When transferring an amount to Poloniex, does it have a low transaction fee?

No, transaction fees are the same no matter where you are sending from / to. At the time of writing, I suggest a transaction fee of around 100 sat/byte, which would give an overall fee of roughly $5 per transaction. If you only have a small amount of bitcoin, you can keep it on the exchange without withdrawing to a wallet if you want to avoid this fee.


text:
Inquiry about blockchain fee
So, I'm still new to Bitcoin and I have a fund around 0.004 BTC from a certain wallet. I transferred an amount around 0.001 BTC to another wallet (i.e. in Poloniex). The blockchain fee was 0.002 BTC (twice the amount I transferred)
Is this normal? Blockchain fee is higher than the amount transferred?

yes, unfortunately this is normal. bitcoin is not designed to transfer very small funds.
usually the fees are lower but in the last few days the fees are increased because of the mass of bitcoin-user.
admittedly: 0.002btc fee is really high even for the current blockchain-workload.

That's weird. I find it surprising that the transaction/blockchain fee is higher than the amount I send/transfer. Anyways, thanks for the confirmation

To clarify, it is not necessarily normal for the fee to be higher than the amount transacted. The fee is actually not dependant on the amount transacted at all, it is dependant on the size of the raw tx data, in bytes. The fee rate varies according to network traffic, and right now we are seeing all time highs for fee rates / traffic. So right now is not really 'normal', compared to the average fees in the recent past.


text:
How do I buy the bitcoins?
I do not know how to buy the bitcoins.
Could someone tell me how I get rich with the bitcoins?
Why are the question standards so high?

I'm voting to close this question as off-topic because it is a request for investment advice.

"Why are the question standards so high?" http://lesswrong.com/lw/c1/wellkept_gardens_die_by_pacifism/

please close, i tried to delete... was kinda a joke but not as funny in execution, especially when someone tried to help me.  sry, wont do again, cheers!

I read that article.  feel more ashamed

Sorry, I should have elaborated: We are making an effort to keep quality standards high on this site in order to make it useful and attractive for experts to contribute. Regarding your question of how to buy bitcoins, please see: https://bitcoin.stackexchange.com/q/91/5406. Satire is hard to recognize, when it fits well within the ~20 or so posts that we delete daily because they are very similar. ;)

Before answering to the main question ''how do I buy bitcoins'' I would tell you that bitcoins are not the only cryptocurrency available on the market.
Since when bitcoins were born, many other cryptocurrencies were founded.
So, to answer to your question ''Could someone tell me how I get rich with the bitcoins?'': you probably wouldn't get rich by buying bitcoins, since bitcoins became very popular and the main peak has already took place.
In order to ''get rich'' (if you are totally unaware of the risks of buying cryptocurrencies I would suggest you to not buy anything) you should buy a cryptocurrency which is less rated than bitcoins, hoping that it will increase.
For example if you buy ripple (XRP- which is actually around 1 $ worth) and it gets to 100 $, you earn 100 x you first investment.
But there's not a rule to get rich by trading with cryptocurrencies and before take any action you should first be informed of the risks and possibilities of such cryptocurrencies.

"main peak has already took place"
why do you think so? any proofs?

Well, there's not a proof. This observation is only based on the likelihood of the event (which is absolutely estimated and cannot be demonstrated). When bitcoin was born it was worth 2 cents of euro, now it's more or less around 15.000 euro (depending on the day). This means that bitcoin increased of 750.000 times. Of course I cannot demonstrate that bitcoin will not increase again and will become worth 11.250.000.000 of euro, but that's not very likely to be. Of course it doesn't exist a proof for that, this observation is only based on common sense.


text:
p2sh execution timing info help
I'm a newbie and trying to grasp some concepts that are challenging.
In the case of a p2sh transaction - when is the transaction executed?
I grasp that these transactions give the receiver control of the terms of sending - but what I want to know is if the sender - when initiating the transaction - submits this data to the block and if so does that mean that p2sh transactions are mined twice? Initially from sender to '3' prefaced address and then once again from '3' prefaced address to the receiver..?
Any info is appreciated.
Regards,

I also grasp that p2sh transactions consolidate input data so it is more efficeient - but I am still confused about the chain of activity.

Not sure why this question was down voted, some explanation would have helped...
In general: A p2sh tx sends data to a hash. The hash is a one way function, so we cannot know, what content is behind the hash... also there is no double mining or similar. There is a funding tx, and a spending tx. Like with any other tx, you mine a first tx from someone else to my account, and if I spend the tx, another tx is created and mined. Same applies to p2sh transactions.
The funding tx is created, defining a condition for spending the funds (e.g. multisig, with a “type3” address), and post this tx to the network. Everyone can see the tx, but nobody knows, what’s inside (privacy gain). If then one day these funds get spent, the content of the hash is made visible, and only then one can see, what the original funding tx was about.
Advantage beside privacy: the funding of the tx is fairly cheap on fees, cause you have a short tx with several bytes. The spending tx however, reveals the hash contents, and if multisig, can be very long (increasing tx size and thus fee costs).
I found the best explanation for this in Andreas book “Mastering Bitcoin”, which is also available online.


text:
Are IDs, IPs, or onion addresses of nodes with whom there have been issues shared between many different lightning service providers?
Are IDs, IPs, or onion addresses of nodes with whom lightning service providers had
issues, e.g. force-closures, shared between many different lightning service providers?
I don't mean here simply sharing between various nodes of the same entity but rather sharing between the nodes of separate entities (e.g. between ACINQ and Wallet_of_Satoshi).

As some force closes can be detected on chain and as public Channels are announced on gossip there is a large part of the data you are interested in already publicly available

This answer could be improved with links to specific places where this data can be found.

The onchain data can be read with the bitcoin software https://github.com/bitcoin/bitcoin/ and historic channel data is available at https://github.com/lnresearch/topology lightning gossip is available through your favourite LN implementation

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Does a pruned node have the same chainstate/ as the unpruned one? Does not seeing historical data impact transacting?
Let's assume that I have two identical clearnet-only Bitcoin Core nodes on the same ethernet LAN. I then moved  1BTC on the same day of October of 2021 to the Core Lightning wallets connected to those Bitcoin Core nodes and I then funded a private channel on the same day in each of those wallets. The only difference is that one of them pruned their Bitcoin Core a week ago to a target of 550MB .
Questions:
1. Will both of those Bitcoin Core nodes have the same content of .bitcoin/chainstate/?
2. Will both of those Core Lightning wallets have the same transacting ability? How that could differ if another Lightning implementation be chosen.

Only the UTXO set is required to determine whether the inputs for a transaction are available for spending or the funding output for a channel remains unspent. Just like any other full nodes, pruned nodes have processed the entire blockchain and derived the current chainstate by applying all transactions to arrive at the same UTXO set.
I do not consider myself an expert regarding Core Lightning, but the README on the Core Lightning GitHub project states that a pruned node is sufficient to run Core Lightning without further qualifications, so I would read that as Core Lightning having its full capabilities when paired with a pruned node.
LND used to require a full node with txindex. Since pruning is incompatible with the txindex option, this meant that LND could not be used with pruned full nodes. Since LND 0.13 (released in June 2021), LND can also be run with a pruned node, although the documentation states that pairing LND with a node that uses the txindex option will be more performant.


text:
Did I lost the chance to get my BCH from Aug 2017 fork?
I had some BTC before the BCH fork in my wallet, but I didn't know I could claim the same quantity on BCH too, I've just read about how "hard fork" works :(
Then I sell my BTC, that means now I cannot get my BCH anymore? or the BCH should be there even after selling my BTC?

I was able to recover my BCH following these steps:

Export private key from Electrum (my wallet was there)
Download Electrum Cash from: https://www.electroncash.org/ (I choose portable version)
Execute Electrum Cash creating a new wallet importing the private key

that's all

Your BCH will still be at the same address your BTC were in as of the fork date. BCH is a separate chain, so if you send BTC transactions it will not affect the BCH balance.
In order to move the BCH, you will need to install some BCH wallet software, and then import the private keys/seed for the addresses that were funded at the time of the fork. You can obtain the keys/seed from your BTC wallet, but be warned: it is prudent to empty out your BTC wallet before doing this, in case the BCH software is malicious and attempts to steal your funds. (even if it is a small chance, better to be safe)
The BCH software will be able to communicate with the BCH network, allowing you to access those coins.

I've used Electron Cash, do you think it could have malicious software? (I don't have any BTC anyway in my wallet)

@Enrique Electron Cash is safe, but there are lots of scammy "Download Electron Cash" websites.

@Enrique I've heard of others using that software without problem, but you shouldn't just trust the opinion of a stranger on the internet without further investigation. If my answer helped you, please remember to mark it as accepted :)


text:
'lightningd.sqlite3' and 'emergency.recover' are binary files, why use diff then?
It is written in the documentation for core-lightning:

Copy the contents of the $LIGHTNINGDIR to the BTRFS mount point.
Copy the entire directory, then chown -R the copy to the user who will run the lightningd.
If you are paranoid, run diff -r on both copies to check.

lightningd.sqlite3 and emergency.recover are binary files, as evidenced by file --mime-encoding. Is cmp a better tool than diff for checking integrity of channel backups? Isn't diff preferred for text files and cmp for binary files?

If you only want to know whether or not two binary files have identical contents, diff will do the job
See How to compare binary files to check if they are the same?


text:
Bitcoin core crash during IBD
I've been running bitcoin core on an android device (nexus 5x) and emulator, and sync on testnet always fails at around 3% progress
the last thing logged is
“pre-allocating up to position 0x900000 in rev00006.dat”
core crashes and when restarting the sync process never restarts getting stuck at
“Failed to open mempool file from disk. Continuing anyway”
Prune is set to 550mb and the device has 2gb ram but 70% seems to be taken up by the OS
Is this issue caused by a lack of ram? Or likely something else?

From my own experience, running ABCore on a Nexus 5X, Android is too eager to kill processes that use a large amount of memory on systems with less than 3 GB.

Good to know it’s not just my 5x, so likely it is ram, I’m testing versions of config i.e. low dbcache prune size etc sometimes it works, seeing if there is a stable setup that can keep ram low enough, interestingly I have another 3gb device with an older android os which seems ok, but I think that OS is lighter than current ones

is it expected that if Android kills the process during IBD that the db could get corrupted? as mentioned in my question bitcoin core gets stuck on restart trying to prune the block store, last logs are
“Failed to open mempool file from disk. Continuing anyway”


text:
Is it possible to alter the source code and still have a valid Bitcoin transaction?
Say I wanted to run an alternative version of Bitcoin, and I changed 1 line in the bitcoin source code.
Is the signature/hash of the completed transaction going be the same or different when I run the original bitcoin software and my altered version? Or would they be two separate transactions?
How do miners know what transactions are valid if there are two different implementations of the BTC protocol?

It depends what you change. If you don't agree with other clients on what is a valid transaction and what is a valid block, then you won't agree on who holds what bitcoins.

How do miners know what transactions are valid if there are two different implementations of the BTC protocol?

All the people who wish to interoperate with each other have to use the same rules for what constitutes a valid transaction and what constitutes a valid block. Groups that can't agree fork the network into two networks as happened when bitcoin split into bitcoin and bitcoin cash.


text:
can i find my wallet address without opening bitcoin core qt
I havent ran bitcoin core qt for 4 years. And now the program wont run, just says bitcoin qt quit unexpectedly.
A: How can i check my bitcoin address and balance
B: How can i get the program working again.
driving me up the wall.

Might be answered here: https://bitcoin.stackexchange.com/questions/7886/bitcoin-qt-v0-8-0b-client-on-mac-os-x-10-8-crashes-why Hopefully you have everything backed up?

To get helpful answers you should post as much potentially useful information as possible. What was your version of Bitcoin Core Qt?
You can easily check your adress' balance if you know the address on https://blockchain.info.


text:
Risk of double spending
Hi I sent $10 btc To an address now it’s saying that my account is at risk of double spending I don’t know what does that mean or what to do. Any help would work thanks

1BwQcgHBTeigka7hyJs6vfgQrc3TjRxSVp

A double spend occurs when someone sends a bitcoin tx, and then quickly sends another transaction using the same coins, but to a different receiving address. The network will ultimately only confirm one of the two transactions by adding it into a new block, so one of the receivers of a double-spent transactoin is at risk of not having their payment confirmed.
Some wallet software will watch for potential double spends, and issue a warning if one is detected. If you sent this transaction and know you did not double spend, then its probably just a false positive from the software, and you have nothing to worry about.
If you are the receiver of this transaction, do not release whatever goods/services you are trading the btc for until after this transaction has enough confirmations. Usually, 6 blocks is safe, but this number varies with the total value transacted (it is smart to wait longer for large transactions. Each block after the transaction has been mined is considered '1 confirmation').

Also the transaction never confirmed it’s been 10 hours am I at risk of losing $$?

Transactions are for the most part processed in order of fee rate, so if your tx has been pending confirmation that long, it likely has a lower fee rate than other txs being processed. Can you link the tx ID?

There is no danger in having a transaction pending confirmation, though if it has a super low fee rate, eventually the majority of nodes may remove the tx from their mempool, and the coins would effectively be returned to their original owner. At that time, since the network nodes 'forgot' about the unconfirmed tx, the wallet controlling those coins can submit a new tx to spend them.

What do I need to do in order to link the tx ID. Sorry I’m very knew to this

The wallet software should provide you with the tx ID, or you can just share the receiving address, its easy to find the tx ID with that. You can use blockchain explorer websites like blockchain.info to parse out this info.

Ok one sec I’ll look up the recipient id

Your tx is fine, you can see here that the fee rate is 89.4 sat/byte (22.35 sat/wu). This link shows you what txs are in the mempool, yours would be somewhere in the blue 70-100 band, so the higher fee rate transactions above it will clear first. Right now the mempool is just very full (a lot of people have sent txs recently). Give it some time and it will confirm, how long it will take will depend on how busy the network remains, it is difficult to predict exactly.

Thanks but it’s been over 24hrs since I last did my transactions but it’s still haven’t confirmed

Look up RBF and CPFP, your wallet software may support these functions, so you could speed the tx up. You can also look up a transaction accelerator and use one of those to get it confirmed. Again though, there is no risk to just waiting, if it doesn't confirm within ~1 week, the network nodes will eventually remove it from their mempool, and your wallet will be able to send a new tx out.

Would I be able to get my funds back if it doesn’t confirm? @chytrik

Yes, but 'getting them back' isn't really the right way to describe it. Right now, those coins still exist in your wallet as far as the blockchain is concerned. The blockchain is what matters, once your transaction is confirmed by a miner, it will be put in the blockchain for eternity. Until then, your signed tx is just waiting in the mempools of nodes around the world, once it has been confirmed the coins will have been spent. So if it doesnt confirm, the nodes forget about your transaction, & your wallet software will think it is okay to spend them again.


text:
Bitcoin transaction stuck since almost 3 weeks
about 3 weeks before (06th December) I have send a bitcoin transaction from my Ledger Nano S to my Bitfinex account and until today (25th December) it still didn't get confirmed.
I have no clue why it takes so long as I am sure that I ticked the high fee.
The transaction is mentioned as an open deposit in my Bitfinex account already, but it had 0/3 confirms after 2 weeks, so I baught a paid accelerator service (https://pushtx.btc.com/) where I paid 80 USD and finally it started to get confirmed, but so far it has 416/3 confirms. How can I need so many confirms?
The TXID is: a3b9d2eef1305a845ebe4e1c0c5fe813f10dfbf7c6f39553a71ca829e885b5c0
I would highly appreciate if you guys could help me. Either it will be received on my Bitfinex account or back to my Ledger does not matter, I just want to have it somewhere since I am worried that I am loosing the BTC in the transaction.
Thank you guys in advance and I wish you a merry Christmas!

Your transaction has 428 confirmations. Some services are satisfied with one confirmation, while some require up to six. Anyway, with over 400 confirmations, it's clear that Bitfinex has received the deposit. If you haven't been credited for it yet, I suggest that you check that you have sent to the correct address, and then if that's the case you reach out to Bitfinex to have them remedy the missing deposit.


text:
Installation instrucion the for bitcoin core (tar.gz file from bitcoin.org in Linux/Ubuntu Desktop 18.04.)
There are many discussions going on as there is a lack of a simple tutorial as to how to install Bitcoin Core (GUI) on Linux distributions, i.e Ubuntu 18.04.
Bitcoin.org offers the tar.gz file (i.e. available here: https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz) which can be installed in Linux, i.e. Ubuntu Desktop 18.04 or 20.04.
It would be great if someone could provide such instruction to reach out to a broader user base.
Not all users wish to use the Snapstore.
See also here: https://www.reddit.com/r/Bitcoin/comments/hka0qc/why_are_there_no_packages_for_bitcoin_in_linux/
Is there anybody who could write up a tutorial or just post a video for a safe & quick installation of the tar.gz file which is downloaded from Bitcoin.org?

Preparations
Login as user with sudo privileges and change to a temporary directory which is cleared on reboot
$ cd /tmp

Set a temporary version environment variable to the installation
$ VERSION=25.0

Download binary, checksum, and signature files
$ wget https://bitcoincore.org/bin/bitcoin-core-$VERSION/bitcoin-$VERSION-x86_64-linux-gnu.tar.gz

$ wget https://bitcoincore.org/bin/bitcoin-core-$VERSION/SHA256SUMS

$ wget https://bitcoincore.org/bin/bitcoin-core-$VERSION/SHA256SUMS.asc

Checksum check
Check that the reference checksum in the file SHA256SUMS matches the checksum calculated by you
$ sha256sum --ignore-missing --check SHA256SUMS

Example of expected output:
> bitcoin-25.0-x86_64-linux-gnu.tar.gz: OK

Signature check
Bitcoin releases are signed by several individuals, each using its own key. To verify the validity of these signatures, you must first import the corresponding public keys into your GPG key database.
The next command download and imports automatically all signatures from the Bitcoin Core release attestations (Guix) repository
$ curl -s "https://api.github.com/repositories/355107265/contents/builder-keys" | grep download_url | grep -oE "https://[a-zA-Z0-9./-]+" | while read url; do curl -s "$url" | gpg --import; done

Example of expected output:
> gpg: key 17565732E08E5E41: 29 signatures not checked due to missing keys
> gpg: /home/admin/.gnupg/trustdb.gpg: trustdb created
> gpg: key 17565732E08E5E41: public key "Andrew Chow <andrew@achow101.com>" imported
> gpg: Total number processed: 1
> gpg:               imported: 1
> gpg: no ultimately trusted keys found
[...]

Verify that the checksums file is cryptographically signed by the release signing keys. The following command prints signature checks for each of the public keys that signed the checksums.
$ gpg --verify SHA256SUMS.asc

Check that at least a few signatures show the following text
> gpg: Good signature from ...
> Primary key fingerprint: ...

Binaries installation
If you're satisfied with the checksum, signature, extract the Bitcoin Core binaries
$ tar -xvf bitcoin-$VERSION-x86_64-linux-gnu.tar.gz

Install the binaries on the OS
$ sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-$VERSION/bin/*

Check the correct installation requesting the output of the version
$ bitcoind --version

The following output is just an example of one of the versions:
> Bitcoin Core version v25.0.0
> Copyright (C) 2009-2022 The Bitcoin Core developers
> [...]

Source: https://v2.minibolt.info/bitcoin/bitcoin/bitcoin-client

Not gonna write a 'tutorial', but here's a couple things that should be mentioned:

As you imply, ubuntu provides a standard 'snap' for bitcoin. easily installed via apt. Agree they are a PITA to use, so ...

if you use the tar.gz, just extract it somewhere, then (using the appropriate version number):

2a) check the signature on the hash file:
gpg --verify SHA256SUMS.asc
2b) and confirm the hash for the downloaded file matches the appropriate hash in the hash file:
sha256sum bitcoin-0.17.1-x86_64-linux-gnu.tar.gz
2c) Then the trick is to use this to get the files where they need to go (links included):
sudo cp -vR bitcoin-0.17.1/* /usr/
2d) Not sure what the 'right' way to start it is, but this works for me. I put it in the automatic startups:
bitcoin-qt&

Thanks. Could you please clarify: So I go into the folder where the downloaded file is (bitcoin-0.20.0-x86_64-linux-gnu.tar.gz,.   Then I extract the file.  And then in the Terminal I enter "sudo cp -vR bitcoin-0.20.0/* /usr/.     --- Is my understanding correct?

Thanks. THat helped. The files have been copied succesfully with your command. Please just let me know how the GUI is started now? Thank you

edited my post to include this

Thanks. Succesfully started the GUI. Thank you for the instructions.vUnfortunately other issue persists, not related: https://github.com/bitcoin-core/gui/issues/32


text:
Name of attack where you pay a high fee to block others
Is there a name for an attack where someone with a lot of capital makes loads of transactions with a high fee, just to prevent other transactions from taking place?
This seems like a moderately cheap way of preventing 99% of all transactions. Is this a real vulnerability, and if so what is its name?

In a free market, it is expected that someone can outbid you for block space. I would not consider that a vulnerability.

It's a flood attack. Or just specifically "transaction spamming".
It's rather theoretical vulnerability, blockspace market is open to everyone  and proceeding with this attack is a waste of money. It's not vulnerability in terms of being malicious and preventing parties from sending transactions with higher fees/ rbf.

Such a flood attack or spam attack is extremely costly. The attacker has to continuously outbid every other participant not once, but with a sufficient transaction volume to occupy all available blockspace. Meanwhile, each regular participant can decide to wait them out or increase the fee on their one or few transactions if their need to transact is urgent enough.
Not only is the attacker paying for 4,000,000 WU of blockdata per block at the highest fee rate, but if they maintain this level of fees, the increased reward is incentivizing miners to increase the hash rate, further increasing the blockspace supply that needs to be occupied. The attack is therefore largely self-defeating when aiming to suppress 99% of the transactions.
It may be useful for suppressing transactions below a certain level by creating e.g. a large backlog at 20 sats/vB, which would force other participants to overbid this level to get a timely confirmation. Such a backlog at a specific fee rate would be less costly to maintain and would get processed more slowly, but even so would cost up to about 29 BTC per day.


text:
can someone give me an example on how collaboration is difficult without the Blockchain?
i understand the technology and i understand how it helps in two domains which are voting and currency but i don't understand how the Blockchain helps in other domains such as health care or supplychain, i mean what is wrong with today's health care and supplychain !

It doesn't help "voting" and indeed also not in health care or supply chain. Whatever kind of "hash chain" those domains may possibly use at some point is more likely to be similar to what git or bittorrent does (and has done for longer than bitcoin exists).

Regarding voting and blockchain systems, this is a great article: https://benlog.com/2017/12/28/blockchain-and-voting/

Short answer: Nobody can give such an example.
Simple reason: Collaboration existed long before blockchain was invented.
Satoshi Nakamoto started chapter 12. Conclusion of his paper with the sentence:

We have proposed a system for electronic transactions without relying on trust.

If you take a deeper look into the technology you realize trust got in fact replaced by distributed computing power. Causing another problem. Namely, how to distribute this computing power in a trustworthy way.
Since voting (as we usually do in democracies) and health care heavily rely on trust in the persons involved I find it difficult to see any reason why and how a blockchain could help in these fields.
Satoshi Nakamoto's paper


text:
Two threats to Bitcoin: Quantum Computing and Mining farm seizures - what new BIPs are needed before it is too late?

How resistant is bitcoin blockchain against physical attacks? Contrary to other consensus mechanisms, Bitcoin's PoW model is dependent on massive Mining Farms with tons of ASIIC hardware. These farms are known to everyone, especially the government of respective country.

Every mining farm in every country, could be sized as one example of a possible future.
What does the bitcoin blockchain do to mitigate such attack of government seizure of all mining farms in one country?

The bitcoin network is not using signatures or encryption methods that are especially suited against quantum computer attacks. Especially Bitcoin's ECDSA and the PoW mining process would become easily vulnerable with quantum computers.

Many bitcoin developers here have the opinion that there is still many years time, let us wait and see what methods the NIST will be selecting.
But this is very naive thinking. Even when nobody knows it for sure, History has always proven to be like this: Very major technology breakthroughs were known way in advance before they hit the public.
When you stick to waiting philosophy, it will be too late to act when NIST picks a cipher.  Something should be done before that,  adding a new signature type to Bitcoin can be done with a soft fork easily for example.
What is the status of Core Developers regarding this topic?

How resistant is bitcoin blockchain against physical attacks? Contrary to other consensus mechanisms, Bitcoin's PoW model is dependent on massive Mining Farms with tons of ASIIC hardware. These farms are known to everyone, especially the government of respective country.

Bitcoin's protocol is designed to adjust to increases and decreases in network hash rate. There is a difficulty adjustment for this purpose. If a number of mining farms all went offline in an instant it would result in higher confirmation times until the difficulty adjustment kicked in two weeks later. Although disruptive in the short term it would have no greater impact than that.

The bitcoin network is not using signatures or encryption methods that are especially suited against quantum computer attacks. Especially Bitcoin's ECDSA and the PoW mining process would become easily vulnerable with quantum computers.

The Bitcoin protocol is using elliptic curve cryptography as are all internet security protocols and banking security applications. As Pieter Wuille states here:

Quantum resistant signature algorithms do exist, but they all rely on very large signatures - which may make them unfeasibly expensive for purposes like Bitcoin.


text:
Is the Trade History only from the order book or is it also live/market trades
Is the "Trade History" on exchanges like GDAX showing only the order book (limit trades) executions or is it also showing Market trades?


text:
Hosted web wallet based on bitcoin core - approach to handling keys
I'm building a website for my client, that is essentially a web-based hosted wallet.
I'm going to use bitcoin core and talk to it via its API in order to handle the transactions.
I understand that I can allow users to export their private keys and import them by using

dumpprivkey

and

importprivkey

The question is: after several thousands of users will create their wallets, the server's wallet.dat file is going to be really huge.
Would that make the bitcoin server slow?
I'm thinking about queuing all the requests to the bitcoin server and store there only one key at a time. But that would require to restart the server everytime, and would basically make every request time consuming?
What is the correct approach to this?
Thank you

The question is: after several thousands of users will create their wallets, the server's wallet.dat file is going to be really huge. Would that make the bitcoin server slow?

Yes, it is know that when the wallet.dat file is very large it noticeable slows down Bitcoin Core. However this only happens when there are millions of keys stored in the wallet.
Instead of having all of the private keys in one file, you can use Bitcoin Core's multiwallet feature. This feature allows you to have multiple wallet files loaded into Bitcoin Core so this should avoid the issue of having too large of a wallet file. It will also let each use have their own wallet file so only one user's coins are actually moved when spending any money. The only downside to this is that loading and unloading a wallet requires restarting. Once PR 10740 is merged, you will be able to dynamically load and unload wallets. Note that having many wallets loaded at the same time may also be problematic.

Thank you Andrew for pointing the right direction. I will look into this near time


text:
Bitcoin sent to Bitcoin Cash address in blockchain
I sent bitcoin to a bitcoin cash address in my blockchain account. Are the coins going to the account and if not what if anything can I do to recover my bitcoins?

If you have the private key of the bitcoin cash address, you can import it into your bitcoin wallet and send it somewhere else.
If not, you have to ask the one, who has its private key, for example an exchange.


text:
I forgot where i created my bitcoin wallet
I have a wallet that contains bitcoin, but I forgot on the site where I made the wallet. anybody know how to find which website location that create my wallet ?
do i need to write the wallet address here?

the sites where you can get bitcoins come and go. There is no way for us to estimate... The wallet address does not help, only the private keys or a seed would help.

do you have your private key ?

How can i find my bitcoin. As look in history and I change my phone. And I think the company my have been shut down. Does this mean I lost it.???

Hi Kathleen, yes, if the entity that is keeping your coins in custody for you has disappeared your coins are likely inaccessible to you. If you were keeping your own private keys in software and removed the software without a backup, likely the same. In the future, please start a new topic when you have a question.

I had a similar problem could not find the website that hosted my wallet, I went to google search history ( not the browser history but the history that google search has) and started to research about the time I created my wallet, visited the sites I visited back then, and found the wallet.

Search through your email history as you will have had to verify your account at some point.

Thanks everyone for the answer, i am looking my browser history one by one and finally find the website where i created the wallet address..
Best Regards

Your best bet might just be to look at your browser's history and use the search box to find which site you visited to create your wallet.


text:
Does specifying the optional passphrase after regenerating a wallet with the same BIP39 word list as earlier create a new, different and empty wallet?
A core-lightning user generated years ago a wallet with a BIP39 word list and lightning-hsmtool generatehsm hsm_secret without specifying an optional passphrase, then moved their Bitcoin there, funded a channel, and have been using their node every couple of weeks when shopping - regenerating when needed with lightning-hsmtool generatehsm hsm_secret and accessing from my backups lightningd.sqlite3 , always running their node and shopping without an optional passphrase.
Now, the same user started to become concerned with the security of their setup and wishes to use the optional passphrase. Does specifying the optional passphrase after regenerating a wallet with the same BIP39 word list as earlier create a new, different and empty wallet? Or does the wallet stay the same? Can they just start using the passphrase with their old wallet (without running the risk of their channels being closed as a penalty)?

The optional passphrase is included in the generation of the root secret, and adding one after the fact will therefore change the generated secret:

Using a passphrase comes with a significant amount of added personal responsibility. You may choose to avoid using a passphrase because:

if you forget or lose your passphrase, you will permanently lose access to your funds - even if you have your recovery phrase.

[from the Jade help]

If you use a BIP39 passphrase of "abc", a wallet will be generated using both your recovery phrase and passphrase of "abc". However if you log in again and enter a different passphrase, for example "abcd", an entirely different wallet will be logged in to than before.

There is no way to derive a recovery phrase + passphrase from an existing secret either (since BIP39 hashes the phrase to derive the secret), so there is no way to add the passphrase after the fact, independently of where it is used.


text:
Bitcoin-qt attempts to load its old wallets. How can I configure it so that it does not do it?

Warning: Skipping -wallet path that doesn't exist. Failed to load database path '/home/jerzy/.bitcoin/testnet3/wallets/blank'. Path does not exist.

I get this warning anytime I launch it with nohup ~/bitcoin/bin/bitcoin-qt --conf=/home/jerzy/.bitcoin/bitcoinT.conf &.
The content of the respective configuration file is:
testnet=1
keypool=3

It seems that bitcoin-qt attempts to load old and non-existing in .bitcoin/wallets wallets, but only those created with bitcoin-qt, and not those
from with bitcoin-cli. From what file does bitcoin-qt get the information about the old wallets? How can I stop this behaviour?


text:
How do I pass optional arguments in JSON to bitcoin-cli createwallet without using curl?
I need to create an encrypted blank wallet, and for this purpose I need to furnish
bitcoin-cli --testnet createwallet testwallet with two more optional arguments.
Let the passphrase be "k3YQN3JOtyHMlRCg4v4". How do I do this?
I came across this example from bitcoin-cli help createwallet:
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "createwallet", "params": ["testwallet"]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/

Whereas I've used curl before for scraping I would rather avoid using just creating a wallet?
I have already figured out a way of how to do this using -named:
/home/jerzy/bitcoin/bin/bitcoin-cli --testnet -named createwallet wallet_name=testwtwo blank=true passphrase=k3YQN3JOtyHMlRCg4v4

Now, I would like to do the same by passing the optional argumets in JSON.
I've tried all the following but to no avail:
/home/jerzy/bitcoin/bin/bitcoin-cli --testnet createwallet testwtwo '{ "blank":"true", "passphrase":"k3YQN3JOtyHMlRCg4v4" }'
error code: -1
error message:
JSON value is not a boolean as expected

/home/jerzy/bitcoin/bin/bitcoin-cli --testnet createwallet testwtwo '{ "blank":true, "passphrase":"k3YQN3JOtyHMlRCg4v4" }'
error code: -1
error message:
JSON value is not a boolean as expected

/home/jerzy/bitcoin/bin/bitcoin-cli --testnet createwallet testwtwo '{ blank : true, passphrase : "k3YQN3JOtyHMlRCg4v4" }'
error: Error parsing JSON: { blank : true, passphrase : "k3YQN3JOtyHMlRCg4v4" }

How do I do this?


text:
What happens if the block's generated are exactly 10 minutes?
My understanding is that every 2016 blocks, the average block time is taken. If it is less than 10 minutes, network ramps up the difficulty. Is there a possibility where the average block time is exactly 10 minutes. What happens in such case?

Exactly nothing. The difficulty would remain the same.


text:
What if somebody invested $100 billion in bitcoin now? What are the thing that will get effected?
I know this is just a hypothetical situation but just out of curiosity I wanted to what are the thing that will change after this investment like the price, difficulty etc.


text:
Which peer-to-peer technologies are used to sync blocks in a blockchain?
I searched a lot about it but didn't found out anything. I want to know about the technologies used in block syncing and the algorithms.

That's a bit broad. Do you mean what kind of protocol is used, or how nodes balance bandwidth across nodes, or how validation of the received blocks works?

Yes! I mean the protocol.


text:
do you think bitcoin futures exchanges (CBOE/CME) are a positive or negative for bitcoin price and why?
do you think bitcoin futures exchanges (CBOE/CME) are a positive or negative for bitcoin price and why?

I do not consider the Futures Exchanges to be a good thing.
I don't trust large institutional traders.  They can and will manipulate prices in their favor.  I believe they are currently running up the price artificially ahead of the start of Futures trading.
Once futures trading begins, they'll short BTC then dump it.  The price will plummet, and their shorts will make a fortune.  Then they'll trumpet how they were right all along about it being a bubble; a bubble of their own creation, burst to benefit them.

I hate conspiracy theories; however you might be right.  Futures are an almost perfect way to manipulate price.  Having said that, there may just be enough hodl'ers looking for a nice buying opportunity to effectively counter the issue.  In my opinion, its a good thing transactions take a long time to process because that should give humans (hodl'ers) a chance to react.

Pure speculation, and also this conspiracy theory is gaining so much traction, it'd be stupid for them to actually do it. So many shoe shiners think they know what instutional money is going to do but the truth is smart money won't make sense to dumb money.

Every answer would be pure speculation: No one can predict the future. So you're stating the obvious, then not offering any counter-point beyond saying that I'm "dumb money".


text:
btc transaction show all btc moved from wallet
I transfered a small amount of btc from my private wallet with bitcoin core client. When I check blockchain.info I see the transaction with the amount of btc i transferred going to the correct address. But I also see the rest of the BTC in my wallet going to an unknown address.
Is it supposed to do this, or have I been hacked?

Reading up a bit I now understand that what happened is that the client had to make a change-transaction since the only incoming transactions to my wallet doesn't match what im trying to send out.
It would be nice if the client could inform you about this and also show your change-address(es).

I'm 99.9% sure the 'unknown' address is the 'change address' of your wallet, being returned back to your wallet. If you check the balance of your wallet, is it what you think it should be?
You should read this: http://support.exodus.io/article/109-what-are-bitcoin-change-addresses

After reading up a bit, I came to the same conclusion. The balance in my wallet is correct, but my original fear was that this would change after the transaction got confirmed. Is there any way to confirm that the address actually is the 'change address'?


text:
Understanding a Mysterious Bitcoin Transaction
I recently sent someone .5 Bitcoins, from the wallet on my Trezor.
My Trezor wallet shows a transaction of -.5 bitcoins (actually slightly more than .5 because of the transaction fee of course).  Moreover, the balance showing on my Trezor is exactly what it should be --- that is, .5 less than it was before. And moreover, the recipient received exactly .5 bitcoins.  So it looks like everything went exactly as it should.
However, when I look up the transaction on the blockchain, I see this:

This appears to show 43.99 Bitcoins leaving my wallet, .5 of them going to the recipient, and the remaining 43.49 going to some mysterious other address.
This almost makes it appear that somebody somehow managed to steal 43.49 of my Bitcoins, but given what's showing on the Trezor I'm not too worried about that. (As I said, the Trezor balance has been decremented by just .5, as it should be.  In case it's relevant, the total balance on the Trezor is substantially more than 43.99.)
I'm guessing that somehow what happened is that for some reason the 43.49 extra Bitcoins were taken from my wallet and returned to me, but then I wonder why that doesn't show up on the list of transactions on my Trezor.  And the address to which the 43.49 were apparently sent does not match any public key that I have any record of ever having used.
Bottom line:  I'm not too concerned, but I'd sure like to understand this.  Can someone help?

if you have 50 BTC in one address and you are about sending 10 BTC to another address, Programmatically left bitcoins(40 BTC) in this address are the transaction fee. so some wallets sent remaining bitcoins minus the fee to a new address for privacy purposes.
Almost all wallets don't show this transaction because its a transaction that you didn't make and it contains bitcoin change.

Let me be sure I understand you:  I have 50 bitcoins at address A.  I send 10 bitcoins to some other address that is not in my wallet.  My wallet then creates address B, and sends the remaining 40 bitcoins from A to B, for reasons that have to do with programming but not with any actual wealth transfer.  And when I look at the list of addresses in my wallet, I continue to see A but do not see B, because my wallet sees no reason to show me B.  Have I understood?

Exactly, if you have bitcoin core software and you call bitcoin-cli listtransactions you will be able to see all transactions including "Change Transactions".


text:
Other Bitcoin exchange wesbite
Is there any other website that offers to buy or sell bitcoin on their website and also has Java API for developers? I tried Coinbase, but their fees is expensive and also they don't sell on the exact exchange rate.


text:
Help. Lost my backup phrase, but I have access to my wallet
When I downloaded the wallet on my phone I was  asked to write down a strange, meaningless phrase on a paper so I could access my bitcoins if they were lost, and I did so. I know pretty good why does this exist and understand it's importance, but i'm afraid I've lost the paper on which I wrote the phrase.
Keeping in mind that I STILL HAVE ACCESS to my wallet, Is there any way I could change or recover my phrase?
P.S : Alright, I promise to protect this one with my life.
P.P.S : I really need help. Any sort of help that lets me change or recover my phrase would be highly appreciated.

You may find https://metasafe.org useful

First of all: Don't worry.
There is no way to change the "strange, meaningless phrase" (it's called seed).
Your private key is generated by the seed, but you can't do it the other direction.
What you could do: Create a new wallet (you can use the same password again), write down the seed of that wallet, send your bitcoins to an adress of the new wallet (should be possible as you remember the password). Result: You have a wallet with bitcoins on its adress(es) AND you have a seed for that.

First of all, thanks for the solution. I already thought of that but if you say there is no other way, well I guess I must do so.

Depending on the wallet you can usually create a new backup which will give you the same phrase. Look in your wallet for options to create recovery phrase or backup current wallet.


text:
Anyone know of an API for RSI and other indicators?
I am looking for Relative Strenght Index and other market indicators API's for cryptos. I don't think TradingView provides one but maybe you know one?

I had the same problem, couldn’t seem to find a good API that supported most of the popular indicators, and at the same time covered all the exchanges. So I decided to start up a project for this. So check out https://taapi.io . We cover 200+ indicators, pattern recognitions etc… I’m a big fan of free products myself, so taapi.io is free as well.
If your indicator isn’t there, then shoot us message, and we’ll get it added!

Hi Emaix, I saw that you posted about taapi.io twice in your first two answers. Please be sure that you disclose if you're associated with a service that you're recommending: Please check out https://bitcoin.stackexchange.com/help/promotion

Hi, sorry, my bad. I clearly missed that. I'll revise my answer.

I think this is just free ad... taapi.io is not so free...
{"errors":["Free plans only permits use of symbols [BTC/USDT,ETH/USDT,XRP/USDT,LTC/USDT,XMR/USDT] from Binance"]}

You can calculate it yourself. Use an API to get the gains and losses over an period of 14 points and put it into the formula described here: http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:relative_strength_index_rsi

Thanks Futchas, I figured it out on December 28th 2017 but I'll keep your link in my bookmarks!

@Wizzardzz Good to hear! Can you share with us/me your solution? Since I'm looking for a good why to implement it myself currently

The https://iexcloud.io/ API delivers a powerful toolset with dozens of indicators available. They now support a variety of cryptocurrencies as well. The most cost-effective platform I have seen yet.


text:
Storing wallet key for automatic transactions
Is there any way to do this? For example I don't even want to know what my wallet is, only my server (intranet), so that it can make automatic transactions for me based on thresholds.
Or should I not be looking at this approach at all? How do the big exchanges do it? Can I automate transactions securely without needing to type a password every time?
The context here is a mining network

It depends on the type of wallet you are using in the server.
you can write your own node to publish transactions (very hard)
you can use 3rd party services like blockchain info (easy)
you can use a wallet that has an api (like bitcoin-core has json rpc)
then you write a program that call this wallet to generate tx
it uses the build in security of the wallet

The wallets are created manually, as they need to pre-exist for pool mining, and they are all offline wallets

take a look at HD - wallet , you will need one master public key to generate all other addresses


text:
Can we trust Aionnext exchange platform?
I have a general question, if there is a list of regulatory approved exchange for cryptocurrency brokers?


text:
Bitcoind lose the latest blocks when synchronize
I've the latest version of Bitcoin-qt (bitcoin.org 0.15.1). My problem is I lose info about latest blocks with delay about 3-5 minutes. When my GUI or bitcoind started sometimes for a short time I get this warning in debug.log:

2017-12-26 19:42:52 Timeout downloading block
  000000000000000000594fca8fc2e2e6f7baff5ac96a10d94f33ae3b0f4e1971 from
  peer=12, disconnecting

After that I lose latest new blocks for a while, and the easier way is restart bitcoind.
Is it could be because of that my ports is not forwarding and I have only 8 connections? What means this warning, I can't google it?

What do you mean lose info? What info? Did you have this information at any other time, or did you just never have it? The warning is a harmless message telling you that one of your peers is too slow at giving you a block, so the client will ask the block from someone else.

@PieterWuille Thanks for answering! I mean info about the latest blocks in the blockchain. I usually have a delay (3-5 min.) compared to btc.com or blockexplorer.com. When I try mining solo (jut for fun) I can't work on actual blocks - my Longpool work on outdated blocks for this reason. If I'm mining in a pool, stratum get actual blocks immediatly.

Sure if you just start up your client needs to synchronize with the network. It may take a few minute to learn and validate the most recent blocks. What do you expect?

@Pieter Wuille Yes, I know, but often I can't get actual blocks after my client synchronized 100%!
Debug.log show me "progress = 1.000000" but on the next step when new blocks assepted by the network already, my client is silent for 5 minutes.

My problem was I didn't configure nodes settings and use unhealthy default nodes. When I specified "addnode=closestnodesIP" my problem was solved.


text:
Where in ~/.bitcoin are mempool and UTXO pools written?
Where in ~/.bitcoin are the two pools in question stored when their size grows above the size set by dbcache and maxmempool in bitcoin.conf.
Is UTXO pool written to such location at Bitcoin Core's shutdown?

mempool.dat stores the obvious, but it it only written there when the node is shut down
chainstate/ stores the entire UTXO, all the time

"all the time" = "every time the chainstate cache is flushed", which may be only once per day in current Bitcoin Core version (depending on -dbcache setting).


text:
What is the maximum byte size or limit of characters in label in lightning-cli invoice? Are UTF-8 characters accepted?
I'm writing a script in C that is mean to make the usage of my c-lightning wallet more convenient. And so I have to
specify a limit of characters (l is a variable that stands for label):
puts("The label(a unique string or number)?");
        char l[15];
        fgets(l, 15, stdin);
        l[strcspn(l, "\n")] = 0;

I arbitrarily decided on 15 not knowing whether lightning-cli invoice would accept such long string. Although help invoice gives some info about the label:

The  label  must be a unique string or number (which is treated as a string, so "01" is different
from "1"); it is never revealed to other nodes on the lightning network, but it can  be  used  to
query the status of this invoice.

it does not specify it's length nor its character set? Are UTF-8 characters accepted within the label or should I use only ASCII character set? What is the maximum size / number of characters of the label?

If you look at the source code you can find the data base schema of the SQLite3 database that is being used to store invoices at: https://github.com/ElementsProject/lightning/blob/426ff0abfff8b080b22095b9f0b670c7192f54ea/wallet/db.c#L185
This indicates that the label field is of type TEXT. According to the SQLite3 Documentation this means:

TEXT. The value is a text string, stored using the database encoding (UTF-8, UTF-16BE or UTF-16LE).

Of course you need to check the if lightningd can also handle such long strings. the labels are stored in invoice_details which which is defined at:
https://github.com/ElementsProject/lightning/blob/335ef3fb69f923f6f30213f68881d10ee6d977ed/wallet/wallet.h#L777
from there you can see that it is of type * json_escape which comes from rusty's ccan libraries and is defined at:
https://github.com/ElementsProject/lightning/blob/ade10e7fc4dacbb9d635b05152c7dc38c0896ce7/ccan/ccan/json_escape/json_escape.h
There it says:
/* Type differentiation for a correctly-escaped JSON string */
struct json_escape {
    /* NUL terminated string. */
    char s[1];
};

/**
 * json_escape - escape a valid UTF-8 string.
 * @ctx: tal context to allocate from.
 * @str: the string to escape.
 *
 * Allocates and returns a valid JSON string (without surrounding quotes).
 */
struct json_escape *json_escape(const tal_t *ctx, const char *str TAKES);

To my understanding this indicates indeed that as long as you have memory and disc you should be able to store UTF-8 strings of arbitrary length.

Thank for this great answer. It is stated in json_escape.h: struct json_escape { char s[1]; }; . I'm a newbie to C, but doesn't it mean that the maximum size of the label is just one char? It wouldn't make sense but I think that the general syntax for declaring a string in C is: char variable_name [array_size];

No as mentioned in my answer invoice_details includes a pointer to that struct so effectively it is an array of those wrapped 1 element char arrays. I myself are a bit confused why it can be used to store utf8 but I guess they take the char as a byte and have the encoding in there. The reason for doing a one element array from the stack instead of a variable however is mysterious to me.


text:
Does signing a message as specified in AOPP incur a fee?
Does signing a message as specified in Address Ownership Proof Protocol (AOPP) incur a fee? I think not - there is nothing written in the specification about broadcasting
anything to the Bitcoin blockchain. Am I correct assuming that such proof of ownership does not incur a fee?

The transaction fee is a bid for the transaction to get included in a block. Since signed messages are only transferred out of band directly to the recipient of the message, they do not incur a fee.


text:
I can recover my Trezor funds without a Trezor?
Consider that I have my seed phrase.
If I lost my Trezor and can't buy another, I have a way to access my funds without a Trezor ?

Recovery from seed phrase is BIP39, but generally all BIP32 wallets use BIP39.


text:
Upgrading - OLD PC - Wallet v0.8.1-beta and qt v4.8.3
Can you advise me on upgrading my wallet and bitcoin software. Are there files I should save before upgrading? what should I upgrade to? Other basic questions.
I have a number of bitcoin files in my block folder *.dat in a file folder created in 2008 (when I gave bitcoin mining a very short try, but freaked out with my PC nearly grinding to a halt). Not sure if this means I have any bitcoins.  I have a wallet, that is showing zero bitcoins but isn't synchronised. The PC is running on windows 7.  That last time I looked at my PC was in 2018, but I wasn't able to synchronise the files fully, but thought I would try again. My OLD PC is currently trying to "reindex" the blocks on the disk.
I am not the most techie person. Thanks.

Shut down the Bitcoin software, and make a backup of your wallet.dat file now. Your coins, if any, will be safe. Then update to the latest release (Bitcoin Core 0.20.1, see https://bitcoincore.org/en/download/), and import the wallet.dat file. 0.8.1 is very old, and I wouldn't bother trying to reindex it left; just synchronize from scratch with new software. As long as you're using unsynchronized software it is expected that your balance shows as 0. Good luck!

Thank you. Should I download bitcoin core v 0.20.1 to my newer (but not brand new PC) where space might be an issue, or just download to the old PC that is running on xxx. Also, I have a "LOG" file in my blocks directory. That I previously backed-up as Log.old, do I need to back it up again before I do this?


text:
What happens to the bitcoin mining if the device changes?
First I've opened this site via mobile and registered with a Google account. Some time later, I continued to mine bitcoin through my laptop with the same account. Will this device change make it impossible for me to exchange the earned bitcoins to dollar or other currencies?

You cannot mine bitcoins with a laptop or mobile phone. Which site are you talking about? What makes you think that the website is mining Bitcoin when you log in?

https://cryptofree.casa/dashboard     this is the site im talking about. It refers this Website to ask any other questions.

@Ramtin that site is obviously a scam of some sort, mining requires highly specialized hardware. It is not possible on a phone / laptop / etc.

Some people say they could earn about 7 or 10 grand. So u think this is not true?

@Ramtin that is absolutely, without any doubt whatsoever, not true.

You can read more about the specialized hardware required for mining here: https://bitcoin.stackexchange.com/q/41276/5406

Will this device change make it impossible for me to exchange the earned bitcoins to dollar

No, it will make no difference whatsoever to your ability to exchange earned bitcoins to dollars.
However this is because all websites offering Bitcoin mining with mobile phones or laptops are scams which have no intention of ever giving you the Bitcoins they have tricked you into thinking you have earned.
Criminals don't care what changes of computer their victims make.
They might use it as a convenient excuse to blame you for not being able to give you your "earnings" but they'd have easily invented some other excuse if you hadn't made any change.

As others have noted

The difficulty of mining Bitcoin has increased hugely year on year.
It became infeasible to mine Bitcoin on laptops many many years ago. You now need nearly-free electricity and the equivalent power of tens or hundreds of thousands of laptops to have any chance of profit.
It has never been possible to mine Bitcoins on smartphones.


text:
Rescan starts not from first block
I have a complete blockchain but when I set rescan = 1 in .conf file my bitcoind starts rescaning from 435000 block. How to start it from the first block? What's wrong with my blockchain?

I’m not sure if I fully understand your question.  Try to remove the rescan from .conf file and take a look there https://developer.bitcoin.org/reference/rpc/rescanblockchain.html

As of Bitcoin Core v0.16 and later, it is recommended to rescan the blockchain using the rescanblockchain RPC rather than the -rescan parameter (which will be removed in the latest release). The default start height of this RPC is 0, so you can simply run rescanblockchain with no parameters to rescan the entire chain.


text:
Why do people go looking for old hardware that has a wallet?
Don't you just need the recovery phrase to get your bitcoins back if your computer is lost or damaged?
I don't understand these stories of people trying to find old computers with wallets on them at the dump.

Are you talking about the people who mined or bought bitcoins in 2009 - 2011 and are surprised that the price is that high now?
HD-wallets (wallets with such a recovery phrase, it's called seed) are available since BIP 32 and that was around 2013.
So they don't have such a wallet and can't recover anything. That's why they search their old hardware.

The wallet file may be encrypted with a passphrase however the wallet file contains the private keys associated to addresses in that wallet. Without the private keys you can never spend the bitcoin in those addresses.
It is all the magic of asymetric cryptography and digital signatures. A private key is used to sign data, and a public key is used to verify the data was signed by the appropriate person.

Recovery phrases are just one of the ways of recovering a wallet. Private keys can also be contained in (encrypted) files.
People go looking for old hardware because finding these files might give them access to old wallets that have been abandoned.

It sounds like maybe you've been using a wallet like Electrum, which allows the recovery of the wallet from a passphrase if the wallet itself gets lost/destroyed. This works by using the randomly generated passphrase as the seed to create the keys used for 'storing' bitcoin. Not all wallets support this functionality, instead generating the seed completely randomly instead of generating it from a passphrase. Back when these people had a large number of bitcoins there may have been no wallets with this feature.


text:
What underlying data structure is used to store wallet address on the blockchain?
I'm curious how websites like bitref.com can determine the balance of a bitcoin wallet very quickly.
I understand that the blockchain stores every single transaction across the thousands of blocks, so it's possible to reconstruct the balance of any wallet with this ledger. But wouldn't it take a long time to scan all these transactions?
Instead, does the blockchain actually store every single address in some sort of map? Would this also contain the balance of each address? If so, I can't find a website where I could view all the addresses on the blockchain. Does anyone know where I can find that?

Bitcoin's blockchain does not track total amounts of bitcoin owned by individual addresses, only the changes in amounts (i.e. transactions between addresses).
To know the total amount of bitcoin a single address owns, wallet software must search the blockchain for transactions that reference that address. Then, using those transactions, the wallet software must sum the ins and outs of bitcoin coming from and going to that address.

Wouldn't this be extremely slow? How can bitref.com determine your balance so quickly?

It can be slow, but it reduces the amount of space used on the blockchain. It is likely that bitref.com have written an indexing software which maintains a map of used addresses and their balances.


text:
get utxo at a certain chain height
I have the reference client running with a complete transaction index.
Is it possible to get all UTXO for a certain height of the chain either via bitcoin-cli or some other tool?

The utxo set is indexed by transaction_id + out_index from Bitcoin Core 0.15 onwards (just by transaction_id from 0.8 - 0.14). So in order to get all UTXOs for a certain height you need to parse the whole set and filter it by height.
There's no way of doing so with bitcoin-cli AFAIK. You can do it by using STATUS (a tool I'm coauthor of). Feel free to ask for support if needed.

I took a look at it, you parse the ".bitcoin/chainstate" directory, does this contain all outputs or just the utxo at current chain height?

Contains all the utxos at the height the chainstate is updated to.

is it possible then to get the utxo at an earlier chainstate?

You can work it around by re-downloading the blockchain and stop the sync process at the block height you'd like to analyze. We have a script designed for this as part of the dev brach at https://github.com/sr-gi/bitcoin_tools/blob/dev/bitcoin_tools/analysis/status/kill_at_heigh.py


text:
Multibit seed/ or files to Electrum wallet
i tried moving multibit wallet as explained here but failed.  https://youtu.be/E-KcY6KUVnY i have the seed and password from Multibit wallet and some files from backup folder in the 'mbh......aes' format. Any help i'll appreciate
 Am using linux

You haven't specified how it failed so we can only guess. Here's a more detailed guide. Pay attention to the last two paragraphs and try again.


text:
bitcoin adresss in my email from 2014
i did a search in my email for "bitcoin" and i came up with a bitcoin address sent from me to me looking like this "bitcoin:1AQhW**************" is that bitcoin money and if so how do i get it ?

That's just a bitcoin address, it may not have any bitcoins sent to it, and even if it does, you can't spend them unless you find the private key too. Check the balance of that address here https://blockchain.info


text:
What data i can save?
i'm make one application about bitcoin, and I'm searching that data i can save, I'm read that the public key i can save in my database and privit key no, but i dont know, what more data i can save, I explain?, I'm would like to guide me, I have also read about getblock, but I don't know what it really is.
To be more specific, I would like to know exactly what data I have to save in the database and what performs each of the aforementioned functions of bitcoin.

Why do you want to save data in your database?
Your answer doesn't explain why but the answer can have a pattern, described below

When I need to store additional information when I use bitcoin RPC

In general, you don't need to store additional information from the DB, for instance, you don't need to store the block in your DB (I hope if you don't want pass all the life to see your script make insert on the database) because Bitcoin core use the DB to indexed each block and get the data back when you will ask some block.
There are special cases when you need to save the data, for example, you are doing your personal web wallet for fun (I did with c-lightning) and what has a different wallet, and maybe you want to store the name (it is called wallet_name) of the last wallet that is using, or maybe you want to save additional information, as the name of a special address that you generated to receive some donation.
In conclusion, with Bitcoin RPC you have the access to the Bitcoin core node and you have the power to do all things that you want, but maybe you can use your application to learn how bitcoin work and if it is a good idea store data locally from bitcoin network.

I have also read about getblock, but I don't know what it really is.

You can start to read how bitcoin work with this good resource (In my opinion).

Thanks to answer my question, i need save the data in my database because is more fast to return data in my application, but thanks very much.


text:
Bitcoin-cli sendtoaddress error Fallbackfee is disabled. Wait a few blocks or enable -fallbackfee
I am following the documentation to perform transactions when I put the command:
bitcoin-cli -regtest sendtoaddress "xx address" 1.0
return:
Fee estimation failed. Fallbackfee is disabled. Wait a few blocks or enable -fallbackfee.

In my bitcoin.conf I enable this option in fallbackfee = true or enabled but nothing happed
this is my mempoolinfo:
{
  "loaded": true,
  "size": 0,
  "bytes": 0,
  "usage": 0,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00001000,
  "minrelaytxfee": 0.00001000
}

I have read the other posts but I still don't have the solution, help.

fallbackfee takes a fee rate as a parameter, not a boolean. The fee rate is denominated in BTC/kvB. For a 1 sat/byte fee rate, you would do fallbackfee=0.00001.

thnx very much :) (Y)


text:
Why I cant connect bitcoin-cli -regtest
I need generate satoshi in my bitcoin how test and i need use the -tesnet or -regtest, and when I press the command in my shell:
bitcoind -regtest -daemon
return:
Bitcoin Core starting

bitcoin-cli -regtest setgenerate true 101
return:
error: Could not connect to the server 127.0.0.1:18444

Make sure the bitcoind server is running and that you are connecting to the correct RPC port.

the command that i use, is the bitcoin core example testing but i cant connect :/.
this is my file bitcoin.conf
##
## bitcoin.conf configuration file. Lines beginning with # are comments.
##

# Network-related settings:

# Note that if you use testnet or regtest, particularly with the options
# addnode, connect, port, bind, rpcport, rpcbind or wallet, you will also
# want to read "[Sections]" further down.

# Run on the test network instead of the real bitcoin network.
testnet=0

# Run a regression test network
regtest=0

# Connect via a SOCKS5 proxy
#proxy=127.0.0.1:9050

# Bind to given address and always listen on it. Use [host]:port notation for IPv6
#bind=<addr>

# Bind to given address and add permission flags to peers connecting to it. Use [host]:port notation for IPv6
#whitebind=perm@<addr>

##############################################################
##            Quick Primer on addnode vs connect            ##
##  Let's say for instance you use addnode=4.2.2.4          ##
##  addnode will connect you to and tell you about the      ##
##    nodes connected to 4.2.2.4.  In addition it will tell ##
##    the other nodes connected to it that you exist so     ##
##    they can connect to you.                              ##
##  connect will not do the above when you 'connect' to it. ##
##    It will *only* connect you to 4.2.2.4 and no one else.##
##                                                          ##
##  So if you're behind a firewall, or have other problems  ##
##  finding nodes, add some using 'addnode'.                ##
##                                                          ##
##  If you want to stay private, use 'connect' to only      ##
##  connect to "trusted" nodes.                             ##
##                                                          ##
##  If you run multiple nodes on a LAN, there's no need for ##
##  all of them to open lots of connections.  Instead       ##
##  'connect' them all to one node that is port forwarded   ##
##  and has lots of connections.                            ##
##       Thanks goes to [Noodle] on Freenode.               ##
##############################################################

# Use as many addnode= settings as you like to connect to specific peers
#addnode=69.164.218.197
#addnode=10.0.0.2:8333

# Alternatively use as many connect= settings as you like to connect ONLY to specific peers
#connect=69.164.218.197
#connect=10.0.0.1:8333

# Listening mode, enabled by default except when 'connect' is being used
listen=1

# Port on which to listen for connections (default: 8333, testnet: 18333, regtest: 18444)
#port=

# Maximum number of inbound+outbound connections.
#maxconnections=

#
# JSON-RPC options (for controlling a running Bitcoin/bitcoind process)
#

# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
server=1
daemon=1
# Bind to given address to listen for JSON-RPC connections.
# Refer to the manpage or bitcoind -help for further details.
#rpcbind=<addr>

# If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name
# is .cookie and found in the `-datadir` being used for bitcoind. This option is typically used
# when the server and client are run as the same user.
#
# If not, you must set rpcuser and rpcpassword to secure the JSON-RPC API.
#
# The config option `rpcauth` can be added to server startup argument. It is set at initialization time
# using the output from the script in share/rpcauth/rpcauth.py after providing a username:
#
# ./share/rpcauth/rpcauth.py alice
# String to be appended to bitcoin.conf:
# rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
# Your password:
# DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
#
# On client-side, you add the normal user/password pair to send commands:
rpcuser=user
rpcpassword=password
#
# You can even add multiple entries of these to the server conf file, and client can use any of them:
# rpcauth=bob:b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99

# How many seconds bitcoin will wait for a complete RPC HTTP request.
# after the HTTP connection is established.
rpcclienttimeout=900

# By default, only RPC connections from localhost are allowed.
# Specify as many rpcallowip= settings as you like to allow connections from other hosts,
# either as a single IPv4/IPv6 or with a subnet specification.

# NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED,
# because the rpcpassword is transmitted over the network unencrypted.

# server=1 tells Bitcoin-Qt to accept JSON-RPC commands.
# it is also read by bitcoind to determine if RPC should be enabled
#rpcallowip=10.1.1.34/255.255.255.0
#rpcallowip=1.2.3.4/24
#rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96

# Listen for RPC connections on this TCP port:
#rpcport=8332    //18332 // 18444
rpcport=8332
# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
# running on another host using this option:
rpcconnect=127.0.0.1

# Wallet options

# Specify where to find wallet, lockfile and logs. If not present, those files will be
# created as new.
#wallet=</path/to/dir>

# Create transactions that have enough fees so they are likely to begin confirmation within n blocks (default: 6).
# This setting is over-ridden by the -paytxfee option.
#txconfirmtarget=n

# Pay a transaction fee every time you send bitcoins.
#paytxfee=0.000x

# Miscellaneous options

# Pre-generate this many public/private key pairs, so wallet backups will be valid for
# both prior transactions and several dozen future transactions.
#keypool=100

# Enable pruning to reduce storage requirements by deleting old blocks.
# This mode is incompatible with -txindex and -rescan.
# 0 = default (no pruning).
# 1 = allows manual pruning via RPC.
# >=550 = target to stay under in MiB.
#prune=550

# User interface options

# Start Bitcoin minimized
#min=1

# Minimize to the system tray
#minimizetotray=1

# [Sections]
# Most options apply to mainnet, testnet and regtest.
# If you want to confine an option to just one network, you should add it in the
# relevant section below.
# EXCEPTIONS: The options addnode, connect, port, bind, rpcport, rpcbind and wallet
# only apply to mainnet unless they appear in the appropriate section below.

# Options only for mainnet
[main]

# Options only for testnet
[test]

# Options only for regtest
[regtest]
port=18444
rpcport=18444
rpcconnect=127.0.0.1:18444
rpcuser=user
rpcpassword=password
server=1
daemon=1
listen=1
regtest=1

Are you sure that bitcoind is running? The starting message does not always mean it is actually running. It may be shutting down soon afterwards. Please check and post the debug.log file. It would also be useful to run without -daemon.

The problem is I guess, your bitcoin.conf says your are running on mainnet because testnet and regtest option are set to 0, but your bitcoin-cli command specifies regtest.
To activate an option in the bitcoin.conf file set the value to one:
In your case
regtest=1

see https://jlopp.github.io/bitcoin-core-config-generator/ to genearte a proper bitcoin.conf file

hello @norisOG if you show my bitcoin.conf i have the regtest in number 1 and not 0. in the section [regtest]. but thanks to send me the link to generate my conf, Im improve the app.

From the bitcoin-core repo it says: If multiple values for the same option are found with the same precedence, the
first one is generally chosen. Because at the beginning you have the the network option regtest=0

thnx @norisgOG today Im going teste, that you say me.

Well, I had delete my options and create new options and connect, But, I when use bitcoin-cli -regtest setgenerate true 101 to generate satoshi the console send me method not found i use getinfo with -regtest and say the same text. How i can fix this error?

so your daemon is running? which system I you running your software on? Did you build it from source? Can you post your new config file and the start command for botch bitcoind your full bitcoin-cli command.

hello @norisgOG, yes mi daemon is running. My software es lubuntu 20.04 and answered your question about if my bitcoin is form source, the answer is no, My config is this.

rpcallowip = 127.0.0.1
rpcport = 8332
rpcthreads = 10
servidor = 1
regtest = 1
tesnet = 1
[tesnet]
rpcport = 18333
[regtest]
rpcport = 18443
In my config, I am add the rpcuser y rpcpassword , and to start my bitcoind is the same bitcoind -regtest -daemon, then i use bitcoin-cli -regtest  my bitcoin core is the version 20.0 and to generate satoshi is generatetoaddress

Just delete the config file, and start your bitcoind with:  bitcoind -regtest -daemon then without a config file try the bitcoin-cli -regtest help to see all commands then you are savely connected. Then to get a better understanding of the command type bitcoin-cli -regtest help generatetoaddress to see further details


text:
Bitcoin Core private key import
I would like to import the private keys from a multisig paper wallet to Bitcoin Core. My aim is to convert the paper wallet to an electronic wallet and to be able to export the corresponding wallet.dat. What's the recommended way of doing this via the command line?

What is the format of the private key ? Raw hexadecimal or WIF ?

It's WIF uncompressed.

Do you know the script ? Did you use a P2SH or a bare multisig ?

I do have a P2SH redeem script.

Firstly, you need to know both all the public keys, and at least the threshold (M for a M of N multisig) number of private keys.
You can then import the public keys, private keys, and script to bitcoind by using the importmulti RPC command and either providing an output descriptor or a a raw address / scriptPubkey (+ redeemScript / witnessScript if using a P2(W)SH).
To quote the help:
$ bitcoin-cli help importmulti
importmulti "requests" ( "options" )

Import addresses/scripts (with private or public keys, redeem script (P2SH)), optionally rescanning the blockchain from the earliest creation time of the imported scripts. Requires a new wallet backup.
If an address/script is imported without all of the private keys required to spend from that address, it will be watchonly. The 'watchonly' option must be set to true in this case or a warning will be returned.
Conversely, if all the private keys are provided and the address/script is spendable, the watchonly option must be set to false, or a warning will be returned.

Note: This call can take over an hour to complete if rescan is true, during that time, other rpc calls
may report that the imported keys, addresses or scripts exist but related transactions are still missing.
Note: Use "getwalletinfo" to query the scanning progress.

I have the required threshold number of private keys, but none of the public keys. However, as noted above, I do have a redeem script. Also, I have spent funds from the address previously. Is it possible to extract the public keys from the redeem script or a block explorer?

Yes, if you have the redeem script or already spent funds you are fine. You can use the decodescript RPC command to get pubkeys out of the redeemscript.

I've executed importmulti and waited for the rescan to complete, but the wallet balance is still shown as zero. Also, bitcoin-cli dumpprivkey <addr> says 'address does not refer to a key'. I provided the following parameters to importmulti: scriptPubKey (obtained via bitcoin-cli getaddressinfo <addr>), timestamp, redeemscript, pubkeys (obtained via bitcoin-cli decodescript <redeemscript>, keys. Are there any other parameters that I should have provided, or where else could this have gone wrong? Didn't get an error message or warning.

This looks correct, if the pubkeys are in the right order. Regarding the wallet balance: it's expected that's specifically the point of the rescan. Let's wait for it to finish and see if it got some utxos

The rescan was already finished. I left the pubkeys in the same order as returned by decodescript. Do the private keys need to be in any particular order? Note that I only have M private keys, not all N of them.

Arf, to check that your redeemScript was correct does decodescript output your initial address ? Checking again the documentation of importmulti, i don't think you need to specify the public keys. Finally, are you sure there are funds on the address ?

Also, maybe better to come to #bitcoin on freenode (IRC) for this kind of support