Bitcoin Forum
September 29, 2024, 05:13:58 PM *
News: Latest Bitcoin Core release: 27.1 [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 66 67 68 69 70 71 ... 323 »
401  Bitcoin / Bitcoin Technical Support / Re: time to re-sync a full node after power-outage on: May 09, 2024, 05:26:08 AM
for the case there should be a power outage, will the entire blockchain be downloaded again or only the changes (since the outage)?
This only always applies in case of corruption if your blockchain is "pruned". (check your settings and bitcoin.conf file)
That's because whether the corruption is only in your chainstate or block index, the pruned blocks needs to be re-downloaded and verified to rebuild those data.

Otherwise, most of the time, you'll only need --reindex-chainstate or --reindex depending on the error in your "debug.log" file.
Those wont download the blockchain but build the target database from your existing blockchain.
Don't blindly restart IBD or --reindex without consulting your logs first since it could save you a lot of time and/or bandwidth.
402  Bitcoin / Bitcoin Technical Support / Re: Another method apart from bitcoin public PRC getnewaddress. on: May 08, 2024, 04:52:17 AM
I was on a serious project within the week for which I needed a wallet, so I was trying to create a wallet  and secret from the Bitcoin public RPC endpoint (getBlock.io). and it seems like using this method, getnewaddress, somehow is not allowed, which means I need to create the wallet, but now I am confused, which is why I came to the right place to get my answers.

So, is there any node method available that I can use to generate wallets? Also, if anything specific to Ruby is possible,.
Confusing indeed, "XY Problem" perhaps?
First, you need a "wallet" so you've used a third-party RPC Endpoint to try to create an "address", but it's a walletRPC so it wont work without wallet loaded.
Then with that, you're back to square one looking for a way to create a wallet. (which is a bad idea it it worked)

In your old threads, you've mentioned that you have created a wallet.dat file but don't want to download the entire blockchain.
There are good replies but you didn't replied (just like most of your topics).

So, if you do not want to use that wallet.dat file due to the blockchain requirement, use an SPV wallet and just feed your project with its "extended public key"
to be able to generate the same addresses as your wallet without exposing its private key, but most SPV wallets have limitation on the number of transactions its servers allow.
Since that is a "serious project" we know nothing about, do your extensive research about that matter.
403  Bitcoin / Bitcoin Technical Support / Re: Open testnet URLs on: May 08, 2024, 03:48:13 AM
I am using the portable version, not sure why it does not provide me with cmdline option - only gives a console through the GUI.
In Windows, it'll work in the installer version using the "debug" executable which is inside the install directory.

If you want to use it like the pre-compiled Portable executable, add -P or --portable arg when starting the daemon and when issuing commands.
404  Alternate cryptocurrencies / Altcoin Discussion / Re: Electrum LTC and Hoodpay (crypto gateway processor) I'll pay for any good assist on: May 07, 2024, 01:45:38 PM
By the way, what if I want to convert not to Legacy, but to SegWit? or in Native SegWit? Should I change "standard" to something else? I really appreciate your help!!
Yes, you can write xtype="p2wpkh-p2sh" for Nested SegWit (starts with '3')
or xtype="p2wpkh" for Native SegWit if the (extended) master private key isn't zprv to being with.

Quote from: mariarti
Oh, does this mean that if I follow your steps, I will be able to display the addresses that will contain Legacy and be able to see the funds? Is this a conversion?
As mentioned, that depends on how Hoodpay derives the addresses from the extended public key that you've provided it.
If it's same as Electrum, then those steps will restore a wallet that'll contain those addresses, that wallet can then be used to spend those coins.
405  Bitcoin / Electrum / Re: importing public keys, derivation paths and zero balance on: May 07, 2024, 07:12:46 AM
ok, then there's no easy way.
wonder if the devs or people who work on this never think about certain scenarios.
Problem is that's kind of unique to Bitcoin Core (at least "was").
Its legacy wallet uses a BIP32 derivation path that uses all hardened derivation from extended key-> account_index ->chain_index -> address_index.
Wallets such as Electrum don't follow that standard.

But in new wallets created in newer versions of Bitcoin Core, you see that it's possible to restore it Electrum in the way I've provided.

Plus Bitcoin Core already stopped generating legacy wallet.dat and will soon drop support to it so implementing such feature could be a waste of effort.
But it's certainly possible if Electrum's future version that supports descriptor can take full derivation path and hardened addresses.
406  Bitcoin / Bitcoin Technical Support / Re: Planning to download Bitcoin Core [HELP] on: May 07, 2024, 06:55:52 AM
Bitcoin Client Software and Version Number: Bitcoin Core 27.0
Operating System: Windows 11 64-bit
System Hardware Specs: 3.60 GHz AMD Ryzen 5 3600 6-Core Processor with 16 GB RAM and 60 GB free SSD drive space.
Description of Problem:
1. How to enable pruning
2. Is it necessary to run the full node?
3. What benefits will I get if I run full node?
The first time you open Bitcoin Core, it'll display a "Welcome Screen", there you can set both prune settings and the custom data directory.
Those setting will be applied to Bitcoin-qt (GUI) which the 'pruned block storage' option can be edited later in its settings.
Bitcoind (daemon) will use the default datadir or the datadir settings in your bitcoin.conf file or command line arg.

Be advised that even with the lowest possible prune value of 550MiB, your Bitcoin data directory will still take at least 12GB of storage due to other data specially the UTXO-set which is now larger than 10GB.
So take that size in consideration when deciding on your prune block storage setting.
407  Bitcoin / Bitcoin Technical Support / Re: RPC authentication with Bitcoin Core failed (spectre) on: May 07, 2024, 05:48:42 AM
The password/username's being rejected probably has something to do not installing bitcoin core in the default installation paths.
-snip-
I don't know why that worked-out for you
but I've tried to reproduce this by using Bitcoin Core installed on a non-default directory and Spectre connected to it just fine.

My best guess is it had something to do with your previous installation's setup
Like for example, if you haven't set a custom data directory in the welcome screen but set rpcuser and rpcpassword to the bitcoin.conf file in the custom datadir instead of the one in the default data dir.
But since its GUI settings are now overwritten by the reinstall, we don't have a way to confirm if that's the case.
408  Alternate cryptocurrencies / Altcoin Discussion / Re: Electrum LTC and Hoodpay (crypto gateway processor) I'll pay for any good assist on: May 07, 2024, 05:14:21 AM
My Electrum LTC wallet displays addresses in Native Segwit, but I accidentally selected "Legacy" in the Hoodpay and when the user paid for my digital product, I didn't receive the money in my wallet, but the order was definitely processed, and the money was sent, 100%.
-snip-
So, the question is, guys, did I lose the money in this case because my Electrum LTC wallet doesn't display money from Legacy? After all, my addresses are Native Segwit. (Screenshot attached), or how I can make my Electrum LTC display Legacy addresses or Import my seed phrase somehow to Legacy?
If Hoodpay is using the standard derivation paths after the provided extended public key,
then it's possible to restore a standard Electrum-ltc wallet from your SegWit wallet's master (extended) private key.

Follow these instrcutions:
  • Make sure that your machine is safe since this'll display a sensitive data equivalent to your seed, do this in an "air-gap" machine if you have to.
  • Open your Electrum-ltc wallet, enable the 'Console' tab in "Show->View Console" and go to 'Console' tab.
  • Type the command: getmasterprivate(), it'll prompt for your password and your master private key will be displayed, copy it.
  • Then type the command: convert_xkey(xkey="zprv......",xtype="standard"), the xkey should be your master private key; copy the result xprv key.
  • Create a new Electrum-ltc wallet with "File->New/Restore" and select the options "Standard wallet->Use a master key", paste the xprv key and finish the wallet creation process.
  • That wallet should contain legacy addresses with the same private keys as your SegWit addresses.
409  Bitcoin / Electrum / Re: importing public keys, derivation paths and zero balance on: May 07, 2024, 04:45:48 AM
any solution for this?
i thought that i could do this with the public keys but i think i was wrong.
This depends on the addresses associated with your UTXOs. (those 2 addresses with balance)
If its parent descriptor is indeed those "combo()" descriptors, then,
there's no way you can import the descriptor's master public key pair of the master private key to Electrum due to its key derivation which entirely uses "hardened derivation".

To make sure, use Bitcoin Core's console and use the command: getaddressinfo "address" and it'll show you its parent descriptor.

If it's in any of the other descriptors (excluding "tr"), then you can do the instructions in my previous reply.

Quote from: blapaz
i just want a way to:
- check the balance of all my addresses
- have a list of all my addresses that i can give around to people (don't want to reuse the same wallet address)
- don't want to download the whole blockchain (eg. using bitcoin core)
If it's still in the combo() descriptors;
One way to do this is to send all of your coins to your newly generated address that is a child of your new descriptors or to a new wallet.
Then those descriptor's extended public key can be imported to Electrum.

For the latter (new wallet); you can use an Electrum "Cold Storage" setup which uses an offine Air-Gap Electrum and an online watch-only Electrum.
Basically, create a new Electrum wallet in an offline machine, import its xpub to an online Electrum, then this'll fulfill your requirements.
Link: https://electrum.readthedocs.io/en/latest/coldstorage.html

For the former (same Bitcoin Core wallet); get a new addresses (not bech32m) in Bitcoin Core's receive tab and use getaddressinfo command.
Among the results, "ismine" and "solvable" should be both true, then "parent_desc" isn't the migrated combo descriptor from your legacy wallet.dat which Electrum doesn't support.
Then to absolutely make sure that you're not using a watch-only Bitcoin Core wallet, use getwalletinfo command and see if "private_keys_enabled" is true.

After confirming those, you can import its parent descriptor's extended public key to Electrum to restore that address and all of your (future) address of the same script type.
You can double-check Electrum's 'Addresses' tab (View->Show Addresses) to see if it has same addresses you create in Bitcoin Core's 'Receive' tab. (same address type selected)


Lastly, to send your current bitcoin to your selected destination without the blockchain (using Electrum and Bitcoin Core):
  • In Electrum, create a new watch-only imported wallet by selecting "Import new addresses or private keys" in new wallet menu, then paste the two addresses there.
  • Wait for the balance to sync, then create an unsigned transaction using the 'Send' tab. (send to either your new wallet's address or your new descriptor' address)
  • Export that transaction by clicking "Share->Save to file/Copy to Clipboard".
  • In Bitcoin Core, select the correct wallet if you have multiple loaded, then import the transaction using the menu: "File->Load PSBT from...".
  • Sign it and then copy the signed PSBT string, open the console and use the command: finalizepsbt "copied_PSBT_string"
  • Copy the result signed raw transaction and import that to Electrum using "Tools->Load transaction->from Text", review everything and click broadcast to send it.
410  Bitcoin / Wallet software / Re: generating seed phrases offline and which wallets support custom passprhases? on: May 06, 2024, 08:32:06 AM
How could I safely generate custom seed phrases offline, and which tools are good for this operation?
It's offline so it should be relatively safe compared to generating it online as long as the software's entropy sources aren't rigged.
If you do not have the means to review the software's code, stick to the famous well-reviewed wallets.

To be even more secure, pick an OS that has good RNG since the wallet software will be using it.
Most OS has good pRNG but only those "open-source" that you can audit.
Of course, the hardware as well but can anyone even verify its integrity without personally building each component?

But generally, keeping the wallet on an "air-gap" machine should be safe enough.
Generating the seed phrase offline, then using the created wallet online will just defeat that question's purpose.

Quote from: acme89
What software supports generating seed phrases with custom passphrases, and in which software wallets such phrases could be imported?
There are a lot of good Bitcoin-exclusive wallets and almost all supports "BIP39 passphrase".
Unfortunately, for multi-coin wallet, it's hard to give recommendation to any.
411  Economy / Games and rounds / Re: [FREE RAFFLE] HugeWin.com | Prize $50 🎁 Round #1 on: May 06, 2024, 05:33:18 AM
I'll take: #38 & #72

ID: 1342380
412  Bitcoin / Electrum / Re: importing Bitcoin Core descriptor to Electrum on: May 06, 2024, 04:51:59 AM
why do i see zero balance? i had some funds in it.
why don't i see the addresses that i previously used?
That's because Electrum only derived the legacy addresses at xpub/0/* and xpub/1/* of the provided xpub from your Bitcoin Core's descriptors.
To import the correct addresses, you'll need to convert your xpub to other formats with the command convertxkey().
And read the notes at the bottom.

These for example:
pkh([fd.../44'/0'/0']xpub.../0/*)...
pkh([fd.../44'/0'/0']xpub.../1/*)...
sh(wpkh([fd.../49'/0'/0']xpub.../0/*))...
sh(wpkh([fd.../49'/0'/0']xpub.../1/*))...
-snip-
wpkh([fd.../84'/0'/0']xpub.../0/*)#...
wpkh([fd.../84'/0'/0']xpub.../1/*)#...
In the order given:
  • For "pkh()" descriptors, the xpub should already restore the correct receiving and change legacy addresses by restoring the xpub to Electrum.
  • For "sh(wpkh)" descriptors, you should convert the 'xpub' into 'ypub' with the command;
    ("View->Show Console" then open the 'Console' tab): convert_xkey(xkey="xpub.....",xtype="p2wpkh-p2sh")
    Then import the ypub to a new Electrum wallet, the restored addresses should be nested-SegWit
  • For "wpkh()" descriptors, convert the 'xpub' into 'zpub': convert_xkey(xkey="xpub.....",xtype="p2wpkh")
    Then import the zpub to a new Electrum wallet, the restored addresses should be Native SegWit

Quote from: blapaz
tr([fd.../86'/0'/0']xpub.../0/*)...
tr([fd.../86'/0'/0']xpub.../1/*)...
Your TapRoot, "tr()" descriptors aren't supported by Electrum at the moment
so your only choice is to create an imported watch-only wallet using the bech32m addresses instead via "Import bitcoin addresses or private keys" new wallet option.

Quote from: blapaz
combo(xpub.../0'/0'/*')#6h...
combo(xpub.../0'/1'/*')#23...
This one is tricky, since Electrum is designed to take 'extended public key' at the account_index (the "xpub/0/*" above).
And the derivation path indicates that the lower hierarchy should be derived with hardened derivation: you can't import that to Electrum because it doesn't support hardened addresses

Instead, you should just import the addresses associated with your funds to Electrum.

Note: Those "combo()" desccriptors are probably your keystore before migrating to a descriptor wallet and most probably where your bitcoins are if you've just migrated.
The other descriptors are the ones created after migrating and probably empty. (those descriptors tell that it's a migrated wallet)
413  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core create a watch only wallet and sign transactions offline [Tutorial] on: May 06, 2024, 04:19:42 AM
but online computer i create watch only wallet importdescriptor command show checksum error ? i don't understand what happen ?
Okay, so you didn't copied it 1:1 but used single quotations marks (') for hardened derivation instead of the character used by the descriptor which is "h".

Using getdescriptorinfo command shows that the computed checksum changes if the character is changed:
Code:
getdescriptorinfo "wpkh([14e61600/84'/0'/0']xpub...7hKNXCZ/1/*)"
Result: "checksum": "g9v4p57c",
Code:
getdescriptorinfo "wpkh([14e61600/84h/0h/0h]xpub...7hKNXCZ/1/*)"
Result: "checksum": "m5n2mwfm",

You can use either character but edit the checksum to its corresponding descriptor,
just make sure that the derivation path indices and extended public key (xpub) are correct.
414  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core create a watch only wallet and sign transactions offline [Tutorial] on: May 05, 2024, 02:22:01 PM
   "error": {
      "code": -5,
      "message": "Provided checksum 'm5n2mwfm' does not match computed checksum 'g9v4p57c'"
That message contains the reason for the error.
The provided checksum which is the string starting with "#" sign after the descriptor isn't correct.

Just change it with the correct checksum "g9v4p57c" and it will be imported to your watch-only wallet.

But if it's from listdescriptors command of your offline Bitcoin Core, the checksum should already be correct.
Anyways, check your setup if your offline wallet can sign low value transactions created in your watch-only wallet before funding it with your intended amount.
415  Other / Beginners & Help / Re: Seed phrase secure storage ideas, like multisig? on: May 05, 2024, 04:58:22 AM
Quote from: eiger3970
from various information sources, by summary concludes the current seed phrase storage as best:
2 of 3 multisig.
-snip-
These 24 words are then engraved onto 3 stainless steel hexkeys, so when 2 of these hex keys are brought together, the 24 words are revealed.
Then the user needs to enter the passphrase to fully recover the wallet.
I have a feeling that you're mixing things up since MultiSig isn't a "seed phrase storage" scheme but a bitcoin locking script that can only be spent by providing the required number of signatures.
"MultiSig" stands for "Multiple Signatures".

By the given example, it looks like you're talking about "SLIP39" (github.com/satoshilabs/slips/blob/master/slip-0039.md).
Browser example (for testing, don't use in real wallets): iancoleman.io/shamir39/

My understanding is a seed phrase will have 24 words.
For 2-of-3 MultiSig Setup, you'll be backing-up three separate seed phrases.
That "2-of-3" signifies: the 'number of required signatures to sign transactions' - of - 'total number of cosigners'.
Since it's "of-3", you'll be creating three cosigners wallets which contain their own seed phrase.

12 words per cosigner is safe, but if you can backup 24 words in a single steel hexkeys and the wallet can generate 24 words, then go for it.

Read the links in the reply above for more information about MultiSig wallet setup.
416  Bitcoin / Electrum / Re: The transfer fee on: May 05, 2024, 04:16:11 AM
-snip- I encountered an “additional” commission for sending in the amount of 0.0005 btc, tell me, is this commission for each transfer from the service?
It's noted that there'll an additional (third-party) fee during the creation of your 2FA wallet, you should've paid attention to that.

Since you have already prepaid for 20 transactions, it would be a waste to disable 2FA now since it's safer to keep on using that wallet
At least until you ran out of 2fa prepaid credits.
You can monitor it by clicking the Trusted Coin icon on the bottom-right hand side of Electrum:
It'll show "Your wallet has xx prepaid transactions".

You can decide to disable 2FA (Restore from seed or send to Standard wallet) to before it charge you for the next 20 transactions.
417  Bitcoin / Bitcoin Technical Support / Re: Corrupted wallet.dat on: May 05, 2024, 03:59:29 AM
Has there been any progress on this?  I've gone through the CLI, but got an error output of:
-snip-
All hope lost in recovering this?
Through Bitcoin Core and its tools? No since you've already tried "salvage" and it can't do anything.
Try the other options like pywallet or other tools that can search for raw private keys from a file or directory and hope that there's still intact data in your corrupted wallet file.

For pywallet (link), use --recover command on a disk (preferably a small partition) where a copy of your "untouched" wallet.dat is located.
Example command is:
Code:
python pywallet.py --recover --recov_device="RECOVERY_DIRECTORY" --recov_size=1Gio --recov_outputdir="OUTPUT_DIRECTORY"
Edit "RECOVERY_DIRECTORY" and "OUTPUT_DIRECTORY" accordingly.
418  Bitcoin / Development & Technical Discussion / Re: I need help to generate my own key pair on: May 04, 2024, 11:39:16 AM
Also keys seem to be base64 encoded, should i save it in another form ?
The standard paper wallet backup for Bitcoin private keys is "WIF" (wallet import format).
More info: learnmeabitcoin.com/technical/keys/private-key/wif/

For public key, hex with compression prefix (pubKey isn't usually required to write in the backup).
More info: learnmeabitcoin.com/technical/keys/public-key/

However, those base64 strings when decoded don't look right,
Better stick to open-source software/hardware wallets than use the output from that script.

How to keep my DCA going on when migrating to a cold/paper wallet ? Do i still have to buy through a CEX manually every week ?
You can still use what you're familiar with (CEX to purchase) or use P2P.

But I would only suggest you to send bitcoin from the Exchange to your cold storage wallet when you accumulate a significant amount.
That's not only to minimize the accumulated fee when sending from exchange, but also to minimize the number of UTXO your wallet will be keeping.
The goal is to keep only a few higher value unspent outputs so that your wallet wouldn't have to use a lot of inputs in your future transactions.
The lower number of inputs, the lower the transaction's size will be; lower the transaction size results to lower absolute fee.

If you want to go P2P, you can use P2P exchanges available in your Country or purchase from users in this forum in Currency Exchange board.
Link: http://bitcointalk.org/index.php?board=53.0 (make use the "Trust system" since this is quite risky)
419  Bitcoin / Bitcoin Technical Support / Re: Sign/open old bitcoins on: May 04, 2024, 07:51:30 AM
And yes i know electrum did not exsist in 2009! I was using xml,json,sql…..
If so, then please explain the situation more since this'll just aggravate the usual "suspicions" of these kind of topics.
People are rather doubtful of these claims recently.  (not that anyone can directly intervene with the recovery process)

What commands had you been using in 2009?

Quote from: Loosername
Here is how to sign a transaction with an offline Electrum wallet.
-snip-
This transaction can be sent to the network with 'sendrawtransaction
I don't get the context, is this a reference of a tutorial or the steps that you did?
What's the result or error that it returned?

Does anyone know about this?: I have a «electrumkeyid», but i dont know what it is, or how to use it!
AFAIK, that is contained in old Electrum transactions export or server synchronization.
Later, renamed into "KeyID".

Do you have a seed or private key backup instead? Because that's what an actual backup is.
What does the file look like when you open it as text?

But don't count on that information alone (it's "As Far As I Know").
If you found no progress in this topic within a few days, it's better to ask the core developers about that matter later.
Link to Electrum's repo issues page: github.com/spesmilo/electrum/issues
420  Bitcoin / Bitcoin Technical Support / Re: Get bitcoin address with few characters on: May 04, 2024, 06:21:42 AM
This project is my current goal (unless one already exists), and I'm committed to seeing it through, regardless of the time it takes.  It will also serve as a form of motivation for me to continue my learning.
Walletexplorer does that but it's mainly for tracing linked addresses, searching with the first few characters of an address is just an added feature.
But for some reason, I can't access the site right now.

BTW, the more popular term for that is "firstbits".
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 66 67 68 69 70 71 ... 323 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!