Bitcoin Forum
May 08, 2024, 08:36:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 ... 303 »
281  Bitcoin / Electrum / Re: copy-paste wallet address to SMS on: January 30, 2024, 06:48:13 AM
No one even put instructions on how to do it.

Is there a possibility to copy/paste the wallet address to the clip-board in order to copy it afterwards to an SMS?
(or even better if the SMS app would be started automatically Smiley
Both are possible, but the latter depends on your phone's "share" feature.
And use the latest version with QML UI to follow these instructions.

For copying, it's straightforward, use "Copy" in your invoice: "Receive->Create request->Address->Copy";
or in Addresses list menu: "Click the wallet name->Addresses/Coins->Click an address->Share Icon->Copy"

For sharing to SMS app, do the above but you'll have to use the "Share" button instead of Copy,
but as I've mentioned, it depends on your phone if it enables your SMS app in the list (scroll-down or side if your SMS app isn't there)

But as mentioned by others, there are malwares that can change your clipboard so at least check the first and last 4~8 characters of the copied address.
282  Bitcoin / Development & Technical Discussion / Re: One more question regarding collisions on: January 30, 2024, 06:31:41 AM
There is project called Large Bitcoin Collider which uses the  hashing power of involved folks for finding collision. Currently LBC is capable to generate on average up to 90Mkeys/sec.  Please, have a look on  their trophies so far:
-snip-
The probability to find collision with LBC is vanishingly small, but...there is always a but.
Those "trophies" are specifically created from private keys with a very small search-space.
e.g.: starting from 0x01, 0x03, 0x07.... 0x236fb6d5ad1f43 (#54) and higher ranges.

They were merely bruteforcing private keys starting from 0x01 to their target range of the puzzle transaction (link) to match the same private key used by the creator of the puzzle.
It has nothing to do with collision.
283  Bitcoin / Development & Technical Discussion / Re: how-to clean up chainstate folder on: January 29, 2024, 12:47:53 PM
And how can this immensely high disk usage of the chainstate folder be cleaned up? Simply deleting it is certainly not a good option. What is the best way to proceed in such a case?
You can't clean it, it contains the "UTXO set" based from the blocks that you've verified.

If your node is running for a few years now, re-syncing Core or --reindex-chainstate may produce a more "optimized" chainstate
but it wont be a significant change in size, maybe a reduction of 1GB at best.

This of course goes beyond the actual purpose of a pruned node. Why does the folder content of chainstate rise to this immense height?
Your pruned node is a full node too, it needs the chainstate to verify all the transactions that it continuously receiving from its peers.
It's increasing (at a very slow rate) because of UTXOs that are being spent and created.
284  Bitcoin / Electrum / Re: Verifying the PGP Signature to electrum? on: January 29, 2024, 06:45:44 AM
I was hoping someone could tell me what steps of the PGP verification process do NOT need to be repeated and what steps I do need to repeat to verify it?
Skip the steps from the start to the importation and certification of Electrum developers' public keys.
You should go straight to verify Electrum with the signature (.asc) file, of course download the new signature file that's released with that version.
285  Bitcoin / Electrum / Re: address reuse within Electrum on: January 29, 2024, 06:08:01 AM
Most of the questions are already covered by the previous replies.

I can see 2 addresses under Coin tab of Electrum wallet, which means I can send from only those 2,  -snip-
You can send from only those 2

Ideally how many UTXO's should you have at any one point in time in your Electrum wallet?
Is consolidating UTXO's always a good idea?
There's no ideal number since it depends on the wallet's use-case, but preferably, I'd go for lower number of coins but with high amount each so consolidation wont be necessary.
That way, Electrum wont have to use two or more UTXO when sending a transaction with high amount.

In case you received a lot transactions with small amounts like 10's of 0.00001BTC each,
all those 10 UTXO will be spent together as inputs if you want to send 0.000091BTC, each input increases the transaction's size significantly.
The higher the transaction's size, the higher the fee will be.

Quote from: bitcoin talk
How do you find out when fees are low when it comes to consolidating?
Electrum has a fee estimation algorithm; "mempool" (based from mempool size) or "ETA" (default, based on Bitcoin Core's) slider.
Select mempool and slide down near the cheapest, it'll show that it's high when... it's high, low if it's low.

Quote from: bitcoin talk
What's the difference between transferring and sending when it comes to UTXo's fees?
What is meant by UTXO  transactions are deterministic?
I don't know either, is there any difference in "transferring" and "sending"?
I have no idea what you're talking about, perhaps you're mixing-up the earlier replies about "HD wallet" and UTXO.
Please consider reading the articles in this website: learnmeabitcoin.com/technical/
286  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core is again downloading the whole blockchain on: January 28, 2024, 08:34:52 AM
This is a fragment of the debug.log file after restarting Bitcoin Core; does it contain any useful information?
Not much since the log before the restart isn't included for comparison.
But there are indications that the datadir that it loaded doesn't have the full blockchain,
since it's after the restart from an allegedly fully synced blockchain, it shouldn't be like than unless it's an issue with your Mac or a change in the previous setting.
Plus the date doesn't match, it looks like the logs after following the first few replies. (I see it in the config)

And there are some inconsistencies like this:
2024-01-26T13:49:59Z Config file arg: datadir="/Volumes/ext SSD/blocks"
That is the blocks directory and should be set as "blocksdir=" if you do not want to save the blocks inside the datadir.
Since you've set it like that, it would use "/Volumes/ext SSD/blocks" as the datadir and save the blockchain in "/Volumes/ext SSD/blocks/blocks".
Yet your node shows that it's using "/Volumes/ext SSD" as the datadir since you've set it in the GUI's welcome screen.
(assuming that there are no lines omitted in the gap in the middle of the shared logs)
Just remove the datadir setting in the bitcoin.conf file since it's incorrect and does nothing.

I understand what you say. But the debug.log file contains thousands and thousands of lines of information. I really wouldn't what to search for there...
You can paste it inside the code tags like I've instructed in my earlier reply.
That way, it wont consume a lot of vertical space.

You can also pick the sessions that are relevant like you did in the first log that you shared.

Thanks. This is the output of getblockchaininfo.  Can you see if it has reset the block download progress? Or maybe just again syncing?

  "blocks": 535936,
  "headers": 826689,
  "initialblockdownload": true,
It's syncing and currently at 535936 height.
287  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core opens "Cormorant" wallet each time I open Sparrow wallet. Why? on: January 28, 2024, 07:42:45 AM
1. It says: private_key_enabled = false . Is that bad? I didn't consciously change it. How can I change it?
No, "false" means that descriptors with private keys can't be imported there.
Refer to my first reply regarding that result.

Quote from: billllib
2. I get an output, but I really don't know what they mean. Timestamp, active, range. Hm?
The "xpub" that you were asking is listed in each of the descriptors.
You can get more information about the other data in help listdescriptors command.

Quote from: billllib
I noticed something else today:
I made another small transaction from the Sparrow wallet. It was successful and the balance and the transaction itself are shown correctly in Sparrow.
But in the Cormorant wallet the balance is correctly updated, but the transaction is NOT listed at all (under "recent transactions"). How can that be?
Have you sent that transaction to your own address?
Because if it is your change address, Bitcoin Core wont show it in the history but will still be included to your available coins.
288  Bitcoin / Bitcoin Technical Support / Re: Another Bitcoin Core post. on: January 27, 2024, 06:47:20 AM
My questions are:
Is what I'm doing fine?
Is there a difference between Restoring and Opening?
What is the usual ETA for Restoring a Wallet?
- It works but, with Restore, you don't have to place it inside your bitcoin data directory because...

- Because with "Restore", Bitcoin Core will create its own wallet path inside wallets folder, the folder will be named as the wallet name that you've set.
  Then it will make a copy of the wallet file that you've selected, and load it.
  Basically, all you did in post #5, but done automatically.

  With "Open", it skips all the above and proceeds to load the wallet file, but the option can only see wallets in the data directory or wallets folder.
  In this case, pasting the "wallet_fake_008.dat" in the datadir/walletsdir is necessary.
  
- Differs per wallet and machine specs.
289  Bitcoin / Bitcoin Technical Support / Re: Trick to find PrivatKey Bitcoin Core descriptor wallet, is this method safe? on: January 27, 2024, 06:21:57 AM
A link to the discussion on our local board, can be found HERE. Is the method above safe to do?
It looks similar to my instructions here: http://bitcointalk.org/index.php?topic=5449245.msg62109703#msg62109703

The method is safe as long as it's done in an Air-Gap machine.
However, the exported private key must be kept safe at all cost because it could compromise all of the other child keys of -
its parent extended private key (xprv) if the extended public key from the wallet is compromised with it.

Unlike the legacy wallet.dat with pure hardened derivation path, the new descriptor wallet derives the receiving/change derivation paths and its child keys without "hardened" derivation.
It means that a child private key and its public parent can be used to compute its private parent key, then the rest of the descriptor's private keys with that xprv.

So, only do that if exporting the private key is really necessary.
290  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core is again downloading the whole blockchain on: January 27, 2024, 05:13:21 AM
So I don't what to do. Probably have to download the entire blockchain again.
Like I've mentioned above, checking the logs (debug.log) should point you to the right direction.
It contains command line args, configs, GUI settings that you might not have set correctly and specially errors that caused the issue.
You can post a few sessions inside [code][/code] tags, just remove some lines (for privacy purposes) if you want to.

Guessing the issue would only lead you to do unnecessary things that may even aggravate the problem.
291  Bitcoin / Development & Technical Discussion / Re: One more question regarding collisions on: January 26, 2024, 01:24:17 PM
The following is from the Bitcoin wiki:
Quote
Since Bitcoin addresses are basically random numbers, it is possible, although extremely unlikely, for two people to independently generate the same address. This is called a collision. If this happens, then both the original owner of the address and the colliding owner could spend money sent to that address. It would not be possible for the colliding person to spend the original owner's entire wallet (or vice versa).
Sorry but if you've included the next sentence in that same bitcoin-wiki article, your question would sound silly.
Since it already provided a good representation of its chance:

Quote from: en.bitcoin.it
But because the space of possible addresses is so astronomically large it is more likely that the Earth is destroyed in the next 5 seconds, than that a collision occur in the next millenium.
And it's not even an overstatement when it comes with collision.
292  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core, (wallet.dat) on: January 26, 2024, 06:17:20 AM
I'm going to place the .dat directly into the folder instead of trying to restore.
Take note that automatically loading a "wallet.dat" file as default_wallet has these conditions:
if copied in the wallets folder, it will only be automatically loaded after a restart if there are no other wallets already loaded.
if copied in the datadir instead of wallets folder, it will only be automatically loaded after a restart if there are no other loaded wallets or "wallets" folder isn't available.
The Restore option, on the other hand, restores it by creating its own folder (wallet name) inside 'wallets' folder, copy then loads it.

Either option still subject to the same chain check procedure and rescan once Bitcoin Core tries to load it.
So make sure that you have walletcrosschain=1 in your config since it's initially detected as non-mainnet or altcoin wallet.dat.

You can even load it right now so you can see if there are transactions after syncing through year 2013 blocks.
293  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core, (wallet.dat) on: January 25, 2024, 09:59:49 AM
Look you already opened the Bitcoin core GUI it should show some error if the wallet.dat on the wallet directory is corrupted but it's not and you are still able to go to File > Restore Wallet.

That is why this error comes up because you are attempting to reimport the wallet.dat that is already in the wallet directory.
"Restore Wallet" menu can go to any directory and see any ".dat" file, even if it's not a wallet file or an already loaded wallet file.
Being able to select a specific wallet.dat doesn't indicate that there's no issue in the file, the issue shows after it tries to restore and load it.

A single wallet.dat that's restored twice isn't an issue, each restore attempt needs to set a different wallet name anyways.

I've managed to use Bitcoin2john.py and the hash extracted is something like this: $bitcoin$64$
It will always output "$bitcoin$" even if it's a similar wallet.dat from an altcoin, Bitcoin testnet, regtest, etc.: github.com/openwall/john/blob/bleeding-jumbo/run/bitcoin2john.py#L248

Another potential issue I'm receiving:
"Wallet loading failed. Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again incase of pruned node).
If I want to see my balance, and view historical transactions (years ago) do I still need to store the ENTIRE blockchain? or can I use the prune feature.
Since you've set your blockchain to be pruned, you'll have to redownload the blockchain.
And since you don't have enough space in your drive, you can't store the entire blockchain, you'll have keep your prune block storage setting.

But only start over once you've successfully loaded the wallet.dat file or you'll have to re-download again if you want to load and scan your wallet later.
Since you're going to re-downloads anyways, try to start with a fresh datadir by renaming your current bitcoin datadir inside %appdata% (use "run" or "windows explorer").
rename it from "bitcoin" to "bitcoin_bk", create a new bitcoin folder and copy your bitcoin.conf (with walletcrosschain=1 setting) and wallet.dat file there.
Then start Bitcoin Core, it'll immediately load the wallet as [default_wallet] and redownload the blockchain.
If you have to scan multiple wallets, it wont be automatically loaded if you pasted more than one in the wallets directory,
instead, you'll have to restore them all immediately or keep network disabled until you're finished restoring all the wallets.

Alternatively, disable pruning and set a custom data directory to a bigger drive in the Welcome menu (start Bitcoin-qt with --choosedatadir arg), then redownload the blockchain to that directory.
That way, you're free to load wallet.dat files without re-downloading the blockchain again and again, it'll only need to rescan the existing blockchain.

Since your mentioned date is 2013, the transactions (if there's any) might show up earlier in the sync process.
294  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core is again downloading the whole blockchain on: January 25, 2024, 08:04:14 AM
When I restarted the macbook this morning, Bitcoin Core started again downloading the entire blockchain. I selected the right folder, I have an external SSD drive on which I previously already had downloaded the whole blockchain. Also I tried to click "reset options", but after restarting bitcoin core it again doesn't connect with the existing blockchain on the SSD drive but starts downloading from scratch. Does anyone have any ideas how to fix this?
Getting the logs may show some hints about the issue.
It's in your data directory, the file named "debug.log", open it as text to view the contents.

For now, if it's an issue with pathing of data directory, you can set it again in the GUI by starting bitcoin-qt with --choosedatadir command line option.
Or if you're using bitcoind, use --datadir=<path to custom 'bitcoin' data directory> arg like instructed above.
Or if you've set the default datadir, set datadir=<path to custom 'bitcoin' data directory> in the bitcoin.conf file inside bitcoin default data directory.

Then, if it started to resync again even after pointing to the correct directory, there may be issue in your blockchain, index or chainstate.
Such issue can be seen in the logs. Telling us your previous settings may help as well.

But to make this clear, does it show that it's downloading from block 0 again and not just catching-up to the tip from the last block height that it has?
Because Bitcoin Core has to do that once it's left closed for hours.
295  Bitcoin / Bitcoin Technical Support / Re: Open Wallet Hangs v26.0 on: January 25, 2024, 06:51:47 AM
What is the command line approach to opening the wallet, maybe that approach could get around the UI issue to narrow it down.
Try it in the GUI's console first:
  • Go to "Window->Console".
  • Select "wallet: (none)" (not required)
  • Then type: loadwallet "wallet_name" true

In the command line, use bitcoin-cli with the same command as the above:
  • Use Windows Explorer and go to daemon/bin folder inside bitcoin's install directory (default: "C:\Program Files\Bitcoin\daemon")
  • Click "File->Open Windows Powershell".
  • In Poweshell, type the command: ./bitcoin-cli loadwallet "wallet_name" true

But in order for bitcoin-cli to work with bitcoin-qt, you must use --server arg with your bitcoin-qt or server=1 in 'bitcoin.conf' file.
In case you've set a custom data directory and not using rpc username and password, --datadir= should also be indicated for it to find the ".cookie" file in that directory.

You can change "true" to "false" if you do not want to keep the wallet loaded in the next session. (not recommended if 'prune block storage' is enabled)
296  Other / Beginners & Help / Re: Electrum Wallet on: January 24, 2024, 07:45:48 AM
This going to sound idiotic to you but how do I get this address?
You seem to be fixated in getting your address and didn't answer the other replies.

Anyways, you can get it by enabling Addresses tab in "View->Show Addresses" first, and go to the Address tab shown above.
Your addresses that you would get in 'Receive' tab would be the ones tagged with "Receiving".

BTW, is the original wallet contained 'confirmed' transaction or just 'unconfirmed' ones?
Because if those are unconfirmed, the auto-selected server may not have those transactions in its mempool for some reason.
If so, blockexplorers may show those unconfirmed transactions or at least a hint on what happened (e.g.: replaced).

On-chain or Lightning bitcoins?
Because, lightning channels cannot be restored from old seed phrase,
later seed phrase on the other hand can recover static channels but you have to request the other party to force-close the channel to recover the bitcoin in it.

If it was in the past (several years ago), it is most likely Legacy. Create a new wallet and check the “Legacy” option.
The script type option is only available when restoring a BIP39 seed.
Otherwise, Electrum will automatically detect the script type from the seed phrase itself.
297  Bitcoin / Electrum / Re: Is there any easy way to import coinomi wallet ,to Electrum?.? on: January 24, 2024, 05:15:57 AM
In case you want to follow their advice to generate a new native Electrum wallet and move your funds there,
you can use you next transaction as an opportunity to send the change to the new Electrum wallet.
That way, you'll be able to pay someone and transfer the bitcoins to your new wallet in a single transaction.

To do that, just utilize "pay to many" from the settings icon in the send tab and input the 'addresses' and 'amounts' in the pay to field in this manner:
Code:
address_of_the_recipient,0.0001
address_from_new_electrum_wallet,!
The "!" amount will tell Electrum to send all of your remaining bitcoins to that address.
298  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core opens "Cormorant" wallet each time I open Sparrow wallet. Why? on: January 24, 2024, 04:14:21 AM
- Is this what is known as a "watching" wallet?
- So it has to have the xpub, right?
- In order to stay safe, do I need to change my security settings?
- Yes, you can confirm that by checking if private keys are enabled in getwalletinfo command as I've mentioned earlier.

- Yes, it's a descriptor wallet with public descriptors only. You can see each descriptors via listdescriptors command.

- No, if you haven't exported any private key from Sparrow, there'll be no security issue regarding the xpub contained in your cormorant wallet.
That's because even a single child private key can be used together with the (parent) xpub to derive its xprv pair
That could compromise all the other private keys of that wallet. If you did, consider creating another wallet.
299  Bitcoin / Bitcoin Technical Support / Re: cannot getrawtransaction on a txindex=0 node although block hash provided on: January 23, 2024, 08:48:21 AM
Maybe you or anyone else can test this on his own full-node, preferably one without txindex enabled to compare apples by apples. I have no clue why I didn't work on my side, that's why I posted this question here.
As requested, I tested this on my full node Bitcoin Core v26.0.0 and it works if I included the blockhash.
The test node doesn't have txidex=1 in the config and has pruned blockchain.

The errors also work as intended.
  • If I provide a non-existing block hash:
    Block hash not found (code -5)
  • If I provide the hash of a pruned block:
    Block not available (code -1)
  • If I provide a TXID from another block:
    No such transaction found in the provided block. Use gettransaction for wallet transactions. (code -5)
300  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core opens "Cormorant" wallet each time I open Sparrow wallet. Why? on: January 23, 2024, 08:23:35 AM
So that seems to be the main argument for "running your personal node" instead of connecting to a public node / public server, right?
Right, the only for-public-use option is the "Public Server" tab.
The two server options "Bitcoin Core" and "Private Electrum" are meant for private use.

Thanks for the explanation. Okay, that reassures me, sort of. It's still a mystery to me why Sparrow "needs that wallet".
Those public Electrum servers that you can connect to have their own database built from the blockchain that the client Sparrow query to sync.

On the other hand, if you use Bitcoin Core as server, Sparrow needs to use the cormorant wallet that it created with your Sparrow wallets' descriptors to scan the blockchain for transactions.
Then it uses RPC to query the needed data from that wallet or node, some require a loaded wallet to work.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 ... 303 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!