Bitcoin Forum
May 15, 2024, 12:36:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Wallet software / Weird bug in bitcoin core qt for some people, is there a command to remedy? on: March 30, 2024, 08:58:14 PM
Can anyone tell me the command to see all addresses in my wallet that have received coins.

Listreceivedbyaddress 0 true does not work. It does not show addresses I know that have funds on because the overview shows those addresses receiving coins and the total balance.

The QT overview shows the correct balance. But now I've restored from an older wallet.dat. All receive addresses I made after this backup seem hidden or just vanished. This is very strange and a bit worrying.

Is there a command that just shows every address with coins on inside your wallet.dat?

Edit 2/ after lots of googling I find this is a known issue or bug.


https://github.com/bitcoin/bitcoin/issues/20293

https://bitcoin.stackexchange.com/questions/88434/listreceivedbyaddress-missing-transactions-after-restore

So although listreceivedbyaddress does not show these addresses have received coins because of some label issue
Does it matter? I mean the wallet.dat seemingly does not acknowledge these addresses at all or has no label for them but can still spend from them?


Edit/ it seems if you make a new wallet.dat make 1 recieve address send bitcoin to this address.
Then make multiple copies of that wallet.dat as backups.

Now if you make more receive addresses and send coins to them after a time and your machine breaks.

When you go to your backup wallet.dat and reload into a new qt wallet.
Those new recieve addresses that have recieved coins. Will never appear.
Like if you keep clicking generate new receive address it will skip past those that have recieved coins.
If you type type listreceivedbyaddress 0 true or listreceivedbyaddress  1 true
It will never show those addresses? However it will show the original receive address and the initial coins you sent to it.

This is very strange? It worries me I can not seem to make the qt demonstrate I still control those addresses.
Its like they just never existed. Although you can see the tx shown on the overview page of the qt ?


https://bitcoin.stackexchange.com/questions/88434/listreceivedbyaddress-missing-transactions-after-restore

Edit3/

Okay so eventually I solved this and I will relay what I found here for others just because it may happen to you.

When you restore from and older wallet.dat file sometimes all the new received addresses you have generated on your more updated wallet.dat are for some reason now labelled as change addresses so are kind of invisible to a novice user.

This causes some strange things to happen.

Listreceivedbyaddress 0 true will not show these addresses

When you generate new receiving addresses these addresses even if unused will never show up so it seems that it is making different addresses in a different order to a more recently used wallet.dat. Depending on how many new received addresses you made on the more recently used wallet.dat before then resorting to restoring from an old wallet.dat you may need to create lots of new addresses before you see them creating the same exact addresses on both machines.

To see them and check you still have these addresses under your control in this wallet.dat
You can simply click on coin control and then under the send tab click on inputs

This will then show you all of your addresses and all of the coins on those addresses.
So now you can relax. The coins are still inside that wallet.dat and you can spend them.

I am not sure why this happens but maybe it is not a bug it is just a bit confusing to a novice.
1 moment these were receiving addresses you could see and next moment these are invisible change addresses.
But no matter you still have control of the coins.

1 slight issue may be if you wanted to dump priv keys and you forgot about the change addresses.
So coin control can be used to check.


2  Bitcoin / Electrum / How to stop unconfirmed incoming tx tie up your funds you already have? on: March 29, 2024, 04:49:11 PM
If people send you some bitcoins but use a low fee It can stay unconfirmed for a long time.  You dont actually have those coins yet.

If you want to continue to spend and use your fully confirmed funds without mingling in these unconfirmed funds is the best way to ensure there is a tick next to the option ^ spend only confirmed coins ?

Will making sure that has a tick next to it

A/ stop you spending any of your coins until these coins sent to you with low fees confirm fully

Or

B/ electrum will ignore those low fee unconfirmed coins and just spend from your confirmed coins?

I am wondering why it is unticked by default? I see someone sending me some bitcoin with 5 sats fees.
That will likely not get confirmed for a long time so I dont want that to mess up my confirmed funds.


So if I put a tick next to the spend only confirmed what will happen A or B.

I assumed B but seeing the tick is not there by default made me doubt and I cannot find the exact answer.

Thanks. 
3  Bitcoin / Bitcoin Technical Support / Can 2 bitcoin core wallets produce different receive addresses same wallet file? on: March 15, 2024, 12:55:45 PM
I have a strange occurrence I dont understand.
I have an old wallet.dat file I am scanning all my old usb drives.
I loaded it into a bitcoin core wallet on 2 different machines running the same version of bitcoin core.

The weird thing. On machine 1 I see different receive addresses to that on machine 2.
On one machine I can see the wallet has received coins to an address starting with 3
But that is not even showing up when I click receiving addresses?
How can that be possible? How can an address the wallet show received coins into it and those coins are still there are not listed under the windows receive addresses tab? That seems impossible?

Also when I click generate new receiving addresses 5x and got 5 new addresses on each machine.
Only 1 of those addresses  5 matched on both machines the others were all different . ?

This seems weird because I was expecting these wallets to generate addresses that matched in the same order?
Is this not how it should work? Even after they both generated a matching address. The next ones were different?
I was under the impression bitcoin core knows the next address to be generated even if it is offline? So I was expecting them to produce the same matching addresses in tandem.

Is one a rogue wallet generating rogue addresses it should not generate?

Electrum generates the exact same addresses in the exact same order if run on 2 different machines?
Does core not make them in order?

How to see every single address that a core wallet currently controls or has had some action?
Sorry this bit is also confusing.
Listaddressgroupings command does not tell you the addresses your wallet.dat controls?
It tells you what people may think you control?

This is strange

Which command to put in bitcoincore to make it show every address it controls and its balance?
This should total the same amount of bitcoins that the wallet gui shows is inside it ?
Is that correct.

Listaddressgroupings does not show you which addresses your wallet.dat controls this is just on chain analysis and guess which wallets are related somehow?

What about this command - listreceivedbyaddress add a true of false on the end?
What does the true and false bit mean?
I just want to see every address in the wallet I control with my wallet.dat and every address with how much is contained on that address.


4  Bitcoin / Development & Technical Discussion / Are bitcoin core psbt and electrum psbt cross compatible? on: March 12, 2024, 07:38:46 PM
Hi, I would like to understand a little more about the bitcoin core wallet and if it is cross compatible.

Is it possible to create a watch only wallet in electrum . Feed in the public address of a bitcoin core cold wallet.
Create a psbt with the electrum watch only wallet and save to file.   Then where it says load psbt file in bitcoin core v21 just load in that electrum generated file?

Is that dangerous or perfectly fine and long as the change address is the same as the sending address?
Are psbt created with electrum cross compatible? Some people say yes some say no. I don't know who is correct and I can find no mention of importing an electrum watch only wallet generated psbt file into a bitcoin core wallet.

If that is possible and you can sign on the airgapped bitcoin core wallet you can then somehow export the signed tx in hex format and send on the internet enabled full bitcoin node?

I just want some others opinions on feasibility of this process.

Also, this may seem a strange question. But when you create a bitcoin wallet years ago then you also encrypted it with a long password.
If someone only has that password but no access to the wallet.dat file then your coins are safe even if they have the public address?
How can keyloggers steal peoples bitcoins if they can see the password you will type but they can not grab the wallet.dat file?
Or do keyloggers also easily take that wallet.dat file off your machine easily?

Thanks.
5  Bitcoin / Electrum / Which spending method from airgapped wallet is safest for a novice. on: March 08, 2024, 01:18:49 PM
I started a specific thread for this idea only. To get critique from experts on a process to spend as safely with a cold wallet as you can.
Maybe other novices can use this thread after experienced users say it is going to work.

I'm a novice user trying to understand this but I see on reddit so many people wanting to achieve this. But they get stuck on setting up electrum servers or worrying about connecting to a malicious electrum node or set of nodes. Or stuck because their qr code is not large enough to contain the information from the psbt,  but they want to remain ice cold.

I want my cold wallet to remain 99.99% cold as possible.
No physical connection with usb or any input at all except my own typing or qr code at worst.
Output I prefer only QR code. No usb extraction if I can.
Would like to broadcast on my own bitcoin node if possible.

This could be ideal for when you get an issue where the qr code can not contain all the info from the psbt. Then you need to go usb but dont want to.
I'm not sure of any hardware wallets that you can import a priv key, and you dont trust hardware wallets maybe.

Option A -  perhaps could work out? Or a possible issue? How to select appropriate fee?

Forget psbt? Maybe this is easier if your qr is too large to work.

1.import private key to electrum airgapped
2. Look what address appears.
3. Set up electrum watching wallet for that address only  on other internet live machine see balance.
4. On airgapped wallet select spend but untick use new change address ( this is because if I'm not wrong the drawback with starting on an airgapped wallet is it doesnt update its memory of prior tx until you submit and it gets confirms which it cant do airgapped.
But at least getting all change to the same address. You can keep spending from this cold wallet until you know it is all used up. Or can you? Are uxto the same as addresses? Maybe even when change is issued to the same spending address. There can still be an issue starting a new spend from a cold wallet? This I dont know right now.  
5. Export the signed tx with qr code.

At this point nothing has been put on the cold machine only a qr code taken off from it.

6. Spend that qr code with the watch only electrum, or if want to spend on you own bitcoin full node see 7.
7. You have a qr code but electrum encodes it with some other format. Maybe to save space and pack more info. Or maybe to make sure electrum only can read this qr code. You can not easily see the hex code that you see if you save a signed.txn on a usb stick. To see this
Hex code you need to spend with bitcoin core. Some person made a website electrum43 to decode that signed tx QR code to hex format.
I am guessing there is a way that an electrum watch only wallet can scan this QR code and you can look at the hex version there and save to a usb or maybe you have that on your same machine with bitcoin core full node running.
8. I believe it is possible to spend that hex directly on bitcoin core wallet with a command like sendrawtransaction or some other command. If you can figure that out you could test the hex code from that QR code one time on your watch only electrum but dont submit. Then if looks good go to blockstream pushtx site and send from there at least their node would not be malicious but you lose privacy so use a burner phone if that is an issue you dont like.

All done.

*4 is seen as a little bit unsafe taking the security from 256bit to 160bit think I understood so not good for long term storage.
I think this can be maybe avoided by clicking save tx to history but I dont understand that enough to know how that stops a possible attempt at spending from uxto that maybe dont have sufficient funds in the future? I think it would work if you only ever used the cold wallet on that machine and not a different cold wallet with the same private key.

This is the tricky part to understand as to how you start a spend with a cold wallet not start with a psbt from a watch only.
The second part is the fees. I guess just look at the network congestion and put a good fee.

Is there any safer way for a novice to spend from a cold wallet or paper wallet where the qr codes cant contain all the information of the psbt from the watch only wallet?p
Are there issues with this process?

On the other hand so to speak

One expert did say this entire idea was a convoluted mess, and if you are happy to have change return to the same spend address. You can just spend and sign on an offline airgapped bitcoin core wallet and copy the hex over to spend on a synced up full node push with blockstream push tx. But he didnt have time to explain how get this hex off the airgapped machine without usb.

So can anyone give the critique of my plan. Or suggest a better way for when qr codes dont work.
Is starting a spend from the air gapped unsynced wallet always a bad idea that can cause issue with attempting to spend from uxto that are now empty? Should you always go with a psbt from a watch only?

Spending from a cold wallet seems a bit tricky fully airgapped for a novice when they hit this qr code space limit on the psbt.
Also spending signed qr code from electrum on core can be a bit tricky too due to it having to be decoded. But I expect the watch only can show that qr hex in some option.
6  Bitcoin / Electrum / Electrum / some new things I've not experienced before + some extra questions. on: March 05, 2024, 06:52:30 PM
Hi,

I have a few queries, I wonder if any persons can help answer please.

1  .  I tried the watch only wallet and cold wallet psbt process and tried qr code scanning not the usb as that seems to be regarded as safer.

I have this warning appear with a little yellow triangle  _  the fee could not be verified. Signing non segwit inputs is risky if this transaction was maliciously modified it could be changed different to what is displayed. ?

Is this because the qr code could not fit in the information because I see some warning that the qr code couldn't fit the data inside in the watching wallet when I made it?

Or because the cold wallet can not verify it because it is offline?

Or some other reason I dont understand.



2  .  When making a watch only wallet is it not best to use a single address not xpub
Two main reasons I say this. The first is that I always have to spend a long time checking if the change address is one which is in my wallet. If you simply use 1 address to make the watch only address the change goes back to that same address.
Also it will not reveal to the electrum server your other addresses.

Was bitcoin not mean to spend and get change on the same


3. Is there an easy guide for noobies with windows only skills to connect their full bitcoin node to electrum server so they can be their own server for electrum desktop.  

4. What is the worst someone can do if they got a signed but not broadcast psbt QR code or file?

5. Why do some people say by looking at several of the signed tx before submitting if you see any string of repeated numbers then your private key can be discovered. I didnt think this was possible.

6. It's a shame the psbt formation and signing could not happen in electrum but broadcast on core wallet.

Thank you for any input.

Oh yes..

7. Why do some say RBF is risky ?

I read a strange account of someone sending to correct destination address it got 1 confirm. Then somehow it went off somewhere else to a different address. Other people couldn't answer how this happened.  Other people said maybe RBF could be a factor or somehow the tx leaked some of his private key. Because it was strange how it got 1 confirmation.




7  Bitcoin / Electrum / electrum the most common complaint is privacy, why not broadcast at Starbucks on: March 04, 2024, 02:27:14 AM
Is there a reason people dont leave their airgapped pc at home and just use public wifi anywhere to broadcast the pre signed tx ? I notice people saying they will never use electrum due to worry their country has banned it or that for any reason they want to remain anonymous.

Surely nothing is more anonymous than public wifi ? 
Can sit in car parks everywhere and get wifi.

The watch only wallet is unable to get the private keys so is there any other concern people may have that prevents them doing this?

8  Bitcoin / Electrum / Electrum watch on with no xpub is fine and no issues ? on: March 03, 2024, 06:12:01 PM
Hi, I have an electrum wallet question.

With my usual way with electrum I have the cold wallet and the watch only wallet.
The watch only wallet I created with the xpub key.

Now I made a new electrum wallet and imported a priv key and now I went to wallet information but this time there is no xpub info?

How would I make a watch only wallet this time.
Is it because I imported just 1 priv key and 1 address.


Someone told me that in this case just use my address to create the watch only wallet?

If the watch only wallet uses an address not the xpub is there any possible issues?
I just want to know does a watch only wallet created by an address only work exactly as one created by using an xpub?

Thanks for information that explains this.
9  Bitcoin / Development & Technical Discussion / Possible method for cold wallet spend with bitcoin core. on: March 01, 2024, 01:58:37 PM
Hi folks.

I'm wondering what to do.

I have an old core wallet.dat with bitcoin core v 21
This is stored on an old laptop that was only used to receive my bitcoin and been offline since.
There is under 0.1 btc which I know is a small amount compared with some.
I wanted to spend 0.05 without brining this laptop online.
I looked at an electrum watching wallet method but I was hoping I can do this with sticking to the core wallet.

I was thinking of going this route and wanted to know if it would actually work.

The offline  laptop actually uses an external drive plugged with usb to store bitcoin full chain (at the time of recieve), wallet.dat. So bitcoin core 21 installed to external ssd never used for anything else.

Now I could install core V23 and try these descriptor instructions but I feel I could mess that up and I would like to not add anything new to the offline laptop if possible.

Would this work since I know I've never made any other tx with this wallet?
Can I just spend 0.05 on the unsynced offline wallet only unlocking to sign on the offline wallet so only expose the password there?
Then shut core down  and then copy over this bitcoin appdata folder to a hot that can sync up and broadcast from the hot wallet?

I know that sounds like a lot of hassle, but I really I dont mind time consuming stuff rather than doing something more technical like using descriptors which I think I would get wrong.

To later spend the remaining 0.05 bitcoin then I would need to copy and updated bitcoin appdata file via usb to the offline wallet before trying to spend since the inputs and outputs will have changed ?

Is this a crude attempt to cold spend that would work the first time but for future spends opens up some strong vulnerabilities? With having to copy files to the offline machine.

Is a wallet.dat that is strongly encrypted with a 30+ character pass thought of as vulnerable? Especially if online for just a few seconds to broadcast? Then laptop shut down once again.

A lot of pos coins are constantly online to produce rewards ?
I just want to know is that reasonably safe?

I dont want to get a hardware wallet at this time because I've used core before and have not had an issue.

Are there any other ways with core to cold spend that are not pretty technical.
Someone tried to explain making a raw manual tx but it was confusing and actually I didnt understand it at all.

I was advised to use V23 on the internet connected wallet but just stick with V21 on the offline laptop and it should still work?
I appreciate a lot of people will think just send it over this amount but I do want to reduce the chances of getting hacked if possible.

If this very insecure I will just wait and try to learn another way.

Thank you for some advice.


10  Alternate cryptocurrencies / Altcoin Discussion / Atom/cosmos + binance copied and are inferior to Blocknet ? 300 x less market ca on: February 11, 2021, 10:35:31 AM
After reading about these 2 projects.

Why do copycats get supported by Binance or are they binance?


One has a market cap of 3 Billion?  ATOM / cosmos
One has a market cap of like 11 million  300 X LESS ?

Cosmos clearly looks inferior to Blocknet, what is binance doing here?
This video by well known chico crypto I have just seen looks quite worrying.

https://youtu.be/JSCAelH_iuk


https://bitcoinist.com/xrouter-an-internet-of-blockchains-vs-an-intranet-of-blockchains/

https://medium.com/@blockdx/blocknet-vs-cosmos-82aa263c79f8


Blocknet looks to be a superior design and binance looks to me to be pushing inferior design whilst knowing that.

How can an inferior project be 300x the cap?
Who here can give further insight into this?







11  Alternate cryptocurrencies / Altcoin Discussion / Comparing coins like cosmos, blocknet, uniswap and other projects like these. on: February 05, 2021, 06:01:41 PM
Looking at some comparisons between these coins with dex solutions. and discussing with various developers these projects are similar but most agree that Blocknet is technically as good if not better?

Who here has analysed these and why is Blocknets cap microscopic in comparison.
Let's have a fair and entirely open discussion and comparison.

Blocknet was the first to attempt an atomic swap dex or was there any that preceded that?
I would like to hear from any members who have investigated or invested in

Uniswap
Blocknet DX
Cosmos

Other similar projects.

Are there any developers that can give their thoughts?

I have a small portion of each of these now.  

Why does it often seem that the best design is overlooked and people essentially will pay 100x more for something inferior or no better?

Is it purely awareness?

All opinions are welcome but only discuss coins that offer similar functionality please.
12  Alternate cryptocurrencies / Altcoin Discussion / Are there some good Angel investor projects here? on: November 29, 2020, 01:51:05 AM
I know previously there were some kind of angel investing projects here that bought large chunks of projects that they believed had great potential. I know JL777 had one such project I forget what that was called now.

Which of these types of projects has the best track record here?
13  Alternate cryptocurrencies / Altcoin Discussion / Bitbay? are there any projects that offers these features? suggest some please! on: November 23, 2020, 11:58:03 AM
I've been looking at this project Bitbay for several months. It does appear to offer an incredible feature set and is fully functional.
Was it actually the first alt to offer smart contracts?  I have some dash, eth, eos, cardano , and few others from way back and some Bitbay. Who here has researched Bitbay thoroughly? Why is this project not more widely known?
I'm looking to hear from those that have actually studied Bitbay.
What's the catch?  Are there more advanced projects around at a sub 300 market cap? It appears to offer more than many of the top 100 projects here and is older and is completely functional?


https://bitcointalk.org/index.php?topic=890531.0

 https://bitbay.market/

I don't like their website but that is not important for now.
Does it offer more than any other alt project outside of the top 100 alts? Top 50?
Does anyone have any criticisms of the project from a technical perspective?
I have invested around 3% of my crypto wealth in Bitbay the remaining in BTC, ada, eth, and a few others. I will increase to 10% bay if other projects do not surface through comparison that offer more value.
As far as I know this project is unrelated to Bitbay exchange.

Looking to compare Bitbay to any project outside of the top 25 let's go.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!