Bitcoin Forum
May 16, 2024, 04:48:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 30, 2024, 08:52:00 AM
And I just remembered, since you do not know which addresses have bitcoins.
If it's no too old, you have to specify which address type prior to using dummpwallet command because it'll associate such address type to the private keys in the dump file,
Those with associated transaction history saved in the wallet file even for another address type will show the correct address though.

Thanks! I'm assuming we can set the addresstype just so that dumpwallet only outputs private keys for that address type, thereby reducing the output

Let's say we have extracted lot of addresses from the wallet (say more than 2000), is there a quick and safe way to bulk check their balance?

I quickly checked online and few options are:

1. Use websites that allow you to enter addresses in bulk and then they will check the balance. I'm assuming they do it all client-side in the browser and use an API key to query one of the blockchain explorers.

2. Create a watch-only wallet in Electrum, and import all the addresses there. I haven't tried this before but I guess this could be a way
2  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 30, 2024, 07:27:18 AM

You can even keep it offline to be safe and just make another "watch-only" wallet on an online machine by pasting the addresses instead of private key.


Okay, thanks. This is quite complicated although I understand the benefits of this process

Isn't there a way in Bitcoin Core console to list all the wallet addresses?

dumpwallet output will contain a lot of extra info

If I can extract all the addresses, then I'll use it to identify which ones contain the funds and proceed accordingly
3  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 30, 2024, 07:05:53 AM
While you're at it, find a way to append the script type in each line as well.

Thanks!

I think it would make sense to automate some of this considering the number of lines.

If the dumpwallet output contains the wallet addresses, then I could make a backup of those addresses in another file and move it to another machine from which I can look up the addresses on the blockchain explorer.

Then I have a list of addresses which I know contain funds and extract private key only for those

By the way, does Electrum wallet need to be online at the time of private key import process?

Also, once the private keys are imported into Electrum, I can move the coins from Electrum wallet without any need for additional passphrase or authentication right?
4  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 30, 2024, 06:24:52 AM
If not, dumpwallet, then extract the private keys from the wallet dump file,
e.g.: Google search for ways to extract the texts that you need from a text file, but you must only meddle with the dump file in an air-gap machine.

Thanks for the response. Can you please elaborate on this part?

I'm assuming dumpwallet output includes both the addresses and the corresponding private keys

Code:
address 1 : private key 1
address 2 : private key 2
...

So I need to extract the private keys from this file and import them into Electrum. Can I import multiple private keys at once in Electrum?
5  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 30, 2024, 03:08:13 AM
Can someone confirm how to import the whole wallet into Electrum instead of all the private keys one by one?

dumprivkey works with only one address at a time
dumpwallet should dump whole wallet. Then do I just copy paste all the private keys into Electrum to import all at once?

Which method is recommended?
6  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 28, 2024, 11:42:28 AM
Yes, but the data will be downloaded to the default directory, which is

~/Library/Application Support/Bitcoin/

You need to modify it to the external hard drive data path.



Thanks for the details. My question regarding this was more about "if I just need to dumpwallet from console in Bitcoin Core, then do I really need Bitcoin core to start syncing?"

I think dumpwallet command should work even if the Bitcoin core client is not entirely synced up

One more question I have which I would really appreciate if you can clarify. Most articles online talk about using dumpprivkey command for a specific address and importing that into Electrum

I instead want to dump the entire wallet to a file and then import the whole wallet into Electrum. Is that possible to do for all at once?

7  Bitcoin / Bitcoin Technical Support / gpgtools site on Mac OSX not working? on: March 28, 2024, 10:23:14 AM
I'm trying to verify the signatures for the downloaded Bitcoin core client with GPG on Mac OS

Most of the articles online recommend to download gpg from gpgtools.org

When I click the download button on gpgtools.org, it takes me to the link:
Code:
https://releases.gpgtools.com/GPG_Suite-2023.3.dmg

However, there seems to be some SSL certificate issues on this link as the browser gives a warning. Also, the main site is ".org" but the DMG file is stored on ".com"

When I accepted the warning presented by the browser, the link was not active.

Even the official Apple documentation here: https://support.apple.com/en-us/HT201214 suggests to use this site

Can someone confirm whether gpgtools.org indeed is not working to download gpg on Mac OS?
8  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 28, 2024, 09:06:07 AM
If your purpose is Restoring wallet.dat, you do not need to run the Bitcoin core client to obtain your coins. You can extract the private key and import it in Electrum or any SPV wallet. These wallets do not require you to download more than 500 GB.

To do this, make several backup copies of wallet.dat.
Download bitcoincore Verify signature Open wallet.dat Enter password.
Create a file and save the path.
Open console in bitcoincore and type dumpwallet <file path>

Hello,

thanks for the reply. Could you please provide the commands in sequence?

Also, wouldn't Bitcoin Core client start syncing the blockchain as soon as I start it?

Kindly share the steps

it would be great if you could also share the steps to import the whole wallet into Electrum instead of just one private key. I'm reading online that it is better to sweep rather than import into Electrum. Also, my wallet is a bit old so I'm assuming some of the address types might be legacy. I wonder if I need to take some extra steps for such type of addresses
9  Bitcoin / Bitcoin Technical Support / Re: Restoring wallet.dat to Bitcoin core client on Macbook on: March 27, 2024, 02:25:21 PM
Thanks for the response. This seems like a good option. I will do my research to make sure I understand it properly before I do this though

Quote
You can extract the private key and import it in Electrum or any SPV wallet.

Can you share the official links to these wallets or any other recommended ones? I want to make sure that I'm accessing only the official links

Quote
Download bitcoincore Verify signature Open wallet.dat Enter password.

Can you elaborate on the verify signature part? How do I do this?
10  Bitcoin / Bitcoin Technical Support / Restoring wallet.dat to Bitcoin core client on Macbook on: March 27, 2024, 09:36:15 AM
Hey All,

I have my wallet.dat saved from an older version of Bitcoin core client on Windows. I want to restore this wallet.dat to a newer and latest version of Bitcoin core client on Macbook.

What measures should I take to prevent any compatibility issues?

As far as I understand, wallet.dat does not depend on the version of Bitcoin core client and neither does it depend on the platform OS. Back then, wallet.dat did not have any seed phrase option. It was all based on a private key. I'm not sure if that's how Bitcoin core client handles the wallet nowadays

Below are the steps I have in mind. Kindly confirm the best way to do it

1. Download latest version of Bitcoin core client from here: https://bitcoin.org/en/download
2. Choose macOS dmg depending on the type of processor. Verify the MD5 or SHA256 hashes of the downloaded files to ensure file integrity. Maybe verify digital signatures as well
3. Install Bitcoin Core client on macOS. Any specific configuration options I need to enable at time of installation?
4. I want to make sure that an external hard disk is used as a data directory (where all the synced up blockchain data is stored). Should I specify this external hard disk name before or after installation of the client?
5. Once all the options are set, I open the client and let it sync with the network to download the latest blockchain, synced up to the latest block
6. I'm assuming a wallet.dat file is not created by default with the latest Bitcoin Core client. Do I need to do something to create a default one?
7. Once it is all synced up, I will close the client app and then place my wallet.dat in the data directory and re-open the client. That should allow me to access my wallet?
11  Bitcoin / Bitcoin Discussion / Bitcoin outperforming Gold on: January 08, 2021, 07:00:54 AM
This been a point of debate for long, Bitcoin vs Gold - the best safe haven asset. Can we all agree now that Bitcoin has clearly outperformed Gold?

What are your thoughts?

Even CNBC recently acknowledged this

https://twitter.com/CryptoShine/status/1347393470999105539

Mainstream media is finally catching up and they got no choice Smiley
12  Bitcoin / Bitcoin Technical Support / Re: Ledger device - Bitcoin segwit vs native segwit on: December 03, 2020, 12:17:04 PM
Since Native Segwit addresses (Bech32) use lower fee as compared to Segwit addresses, then would it make sense to ask the online merchants to provide a Native Segwit address for accepting payment instead of a Segwit address?

For you as the customer it doesn't really matter. The fee only applies to the sender, so if you send from a native SegWit address you save on fees no matter whether you send to another Bech32 address, a P2SH SegWit address or a legacy address.

Interesting, in that case, it would make sense to have Native Segwit addresses in Bitpay wallet to save on the fee I am spending when I send transaction to another address?

Any idea if Bitpay supports Native segwit address in their wallet by default?

I checked and found that they added support in Bitpay wallet to allow sending to Native segwit addresses

https://bitpay.com/blog/bitpay-open-source-segwit/
13  Bitcoin / Bitcoin Technical Support / Re: Ledger device - Bitcoin segwit vs native segwit on: December 02, 2020, 06:33:19 PM
Thanks for all the useful replies everyone.

Since Native Segwit addresses (Bech32) use lower fee as compared to Segwit addresses, then would it make sense to ask the online merchants to provide a Native Segwit address for accepting payment instead of a Segwit address?

That way, customers can complete the transaction by paying less fee and the online merchants benefit by enriching customer's experience.

As an exercise, I went through all the past payments I have made with the Bitpay app for different online merchants who accepted Bitcoin. And I noticed that most of them had provided me an address which began with either "1" or "3" which indicates legacy and segwit addresses respectively.

This also explains the fact that I often received a "high network fee" warning from the Bitpay app while making some of these payments.
14  Bitcoin / Bitcoin Technical Support / Bitcoin core - All transactions showing unconfirmed on: December 01, 2020, 12:24:12 AM
I opened my fully synced Bitcoin Core client today and sent one transaction which confirmed successfully.

Then I opened the client again after some time, it was synced too and then I sent another transaction. But this time, when I go to transactions tab, it shows a "?" symbol next to all the transactions in the past which were confirmed as well and even the newly initiated transaction.

I looked up the transaction id of the most recent transaction on the blockchain explorer and I can't find it.

What do I do now? The balance has been deducted already from my Wallet but transaction id is not showing up.

I checked on the lower right of the Bitcoin Core GUI and it shows that it is connected to Bitcoin network (2 connections).
15  Bitcoin / Bitcoin Technical Support / Ledger device - Bitcoin segwit vs native segwit on: November 30, 2020, 10:02:21 PM
Hello,

I use Bitcoin core wallet to store my Bitcoins. Now I want to transfer some of them to Ledger hardware wallet. I installed the BTC app on the Ledger hardware wallet and during the setup, it gives me an option to choose one of the following when I try to create an account on Ledger wallet:

BTC segwit
BTC native segwit

Questiosn:

Which one should I choose, segwit or Native segwit?
Does latest version of Bitcoin core wallet support sending transactions to a Native segwit address?

I just want to use Bitcoin.
16  Bitcoin / Bitcoin Technical Support / Using an old version of Bitcoin Core on: November 18, 2020, 02:38:32 PM
Hi,

I wanted to know if there are any issues in using an older version of Bitcoin core such as version 0.17?

I'm using that at the moment and was wondering if its mandatory to upgrade to the newer version.

Thanks.
17  Bitcoin / Development & Technical Discussion / Are there protections built-in against 51% attack? on: November 15, 2020, 09:55:20 PM
So, I've been researching a bit about 51% attack potential against the Bitcoin network.

As per my understanding, with a successful 51% attack, an attacker can confirm invalid transactions and do double spending of BTC. They can probably reverse recent transactions too.

Are there any capabilities built into the code of Bitcoin or Bitcoin mining node softwares to tackle a scenario like this?

Since majority of the hashing power is controlled by the adversary in the case of 51% attack, they can literally do anything for as long as they can sustain the attack.
18  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Same order in Buy and Sell order book - Explain please? on: January 25, 2020, 07:34:24 PM
Thanks for the insight everyone.

Can someone help me understand much more in details with an example how this strategy will help make profit?

Let's say, current market price of the coin = 10 USD

The person sets a Sell order for 50000 coins at price 12 USD
And a Buy order for 50000 coins at price 8 USD

2 questions:

1. What impact will it have on the market when these Buy and sell orders are opened? Do these big orders move the price even when they are not executed? I know its a basic question but I am new to trading.

2. How is the profit being made here?
19  Alternate cryptocurrencies / Service Discussion (Altcoins) / Same order in Buy and Sell order book - Explain please? on: January 24, 2020, 03:05:15 PM
Can someone please help me understand what's going on in this order book? This is a screenshot of the XRP/USDT order book from Poloniex today. I have often noticed that there is a sell order and a buy order of almost the same size (usually quite large) and I think it is the same person doing it (either manually or using a bot)

20  Economy / Trading Discussion / Re: Need help to understand and analyse Orderbooks on: January 24, 2020, 12:39:45 AM
@exstasie: Thanks for the useful insight into trading. I studied more about it. I checked the links you shared related to using Volume for improving the trading, there is a section in that article which explains how to use Volume to identify bullish signs.

Specifically:

"Volume can be very useful in identifying bullish signs. For example, imagine volume increases on a price decline and then the price moves higher, followed by a move back lower. If the price on the move back lower stays higher than the previous low and volume is diminished on the second decline, then this is usually interpreted as a bullish sign."

So, I applied this knowledge to the XRP/USDT chart on Poloniex today and I think I understood it correct. Could you please check the screenshot I made and tell me if I understood it correct?

1. Price was declining and volume was increasing
2. Price increased and volume decreased
3. Price decreased again but now the new price low was greater than previous price low (with a reduced volume)

So, based on the idea mentioned in article, this would indicate a bullish sign?

I do see in the chart that price started moving up sharply shortly after this.

Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!