Bitcoin Forum
June 21, 2024, 08:42:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 [173] 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 ... 309 »
3441  Bitcoin / Electrum / Re: Importing Paper wallet to Electrum - Decrypt the Private Key on: December 01, 2020, 04:00:24 AM
Is it not advisable to import paper wallets into electrum wallets directly thru the QR scan? Should I just manually enter the PK into my regular electrum wallet so I can send the funds for sale ?
Is your paper wallet encrypted like the posts in this topic?

If the private key (secret) starts with 'L', 'K' or '5', then you can straight-forward import it to Electrum using "Import bitcoin addresses or private keys" in create new wallet window; this will create an "Imported wallet". Or sweep it to your new wallet (must be opened) using the menu "Wallet->Private keys->Sweep", this will initialize a transaction that will transfer the paper wallet's balance to your new wallet.

There's a prefix for different address type, you can display it by clicking the "Info" box in the import/sweep keys window.
3442  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core - All transactions showing unconfirmed on: December 01, 2020, 03:27:56 AM
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.
It could mean that your wallet.dat was corrupted or the parent transaction was suddenly became invalid.
But it's very improbable that previously confirmed transactions become invalid since they are safely stored in the Blockchain.

That could also happen if you're using a Bitcoin wallet.dat with a node/client for another cryptocurrency (or vice-versa).

What version of Bitcoin Core are you using?

What do I do now? The balance has been deducted already from my Wallet but transaction id is not showing up.
It can be removed by right-clicking on it and selecting "Abandon transaction", that will remove it from your wallet.
But that's just a "band-aid solution" since the previous transactions are all invalid.

The RAW transaction from the oldest '?' transaction can shed a light to the issue.
You can get it by right-clicking it and selecting "Copy Raw Transaction", then paste the result here inside [code][/code] tags.
Note: Doing that will share your transaction's inputs and outputs, but that's basically the same as sharing a valid transaction ID that can be explored from a blockexplorer (not good for privacy).
3443  Bitcoin / Bitcoin Technical Support / Re: Having issues with a non-standard P2SH address... on: November 30, 2020, 07:58:31 AM
Quote from: nc50lc
-snip-
Ok, I think I get it, I had overlooked how the address is generated. So in bitcoin-bash-tools, it uses
Code:
comp_p2sh_addr="$(hexToAddress "$(pack "21${comp_pubkey}AC" | hash160)" 05)"

The address is basically the encoding in base 58 of "05"[Hashed script]Checksum("05"[Hashed script]), which is a reversible operation, so the address can be decoded back to HEX, providing the hashed script, which is the variable part of the scriptPubKey for P2SH. Based on the above code, it looks like the redeem script is 21${comp_pubkey}AC, so it is <03D144A172E24F499F9C59BDEED23FE625E814BBE815B1170A4EAFED7CBC970EAC> OP_CHECKSIG?
Yes, I've already mentioned the example's redeem script in my first reply.
So it's:
  • 21 = Size of the public key (Compressed)
  • 03D144A172E24F499F9C59BDEED23FE625E814BBE815B1170A4EAFED7CBC970EAC = Compressed public key
  • AC = (another 0xAC aside from the public key's last byte which happens to be 'ac') = OP_CHECKSIG

Quote from: kreyszig
Quote from: nc50lc
The Big Question is:
Is there a reason why you don't want to use others for your paper wallet?
Sorry, "others"?
As NotATether said (minus the correction above), you can use Legacy ('1' address);
or native SegWit (bc1 address) that can easily be spent by importing the prvKey to a known wallet.
If safety is your concern, you can import it to an offline machine and spend using an online "watch-only" wallet.
3444  Bitcoin / Bitcoin Technical Support / Re: Why is my Bitcoin Core downloading progressing so slowly at the end? on: November 30, 2020, 05:30:05 AM
-snip-
So where it says "Progress XX.XX%" in BitcoinCore it is reporting by percentage of blocks done and not percentage of GB done?
Yup, it's based from the number of downloaded/verified blocks and the tip, not the size.
3445  Bitcoin / Bitcoin Technical Support / Re: Why is my Bitcoin Core downloading progressing so slowly at the end? on: November 30, 2020, 05:12:20 AM
Is "first 80%" an approximate? Anyways, there are some reasons:
  • Older blocks have less transactions in them, making the download size of each blocks low making it sync faster.
  • Some blocks from genesis block to block height 453354 (refer to the edit) are being assumed as valid and won't require verifications that could speed-up the sync process.
  • Etc.
.
Note: I checked the code and the latest indicates that the default is now: Block Height 654683 (link).
I don't know when (version) it was changed.
-Edit-
Found it, that was 28days ago (Pull Request link) and it was 623950 before that.

So my two questions are why has it gotten this slow at the end and is there anything I can do to speed it up?
If you haven't touched the dbcache (database cache), you can increase it based from your available RAM (about half+).
3446  Bitcoin / Bitcoin Technical Support / Re: Having issues with a non-standard P2SH address... on: November 30, 2020, 03:50:33 AM
I'm not using bitcoin-bash-tools but I can tell that the address 3KbhF81wMizzyjJUKLMCBbscSj9puQyBbq is "P2SH-P2PK" -snip-
Thank you. How did you find that it is P2SH-P2PK, is it from the address itself, or from the information I provided about bitcoin-bash-tools? If it is the former, can you tell me how you found out?
First based from your info.
Then, I suspected that it's that type of address and constracted the p2sh-p2pk redeem script based from the compressed public key.
And it did derived the same address that concluded my initial guess.

Quote from: kreyszig
So I think the only way to spend from it is to use Bitcoin core's RPC command createrawtransaction & signrawtransactionwithkey.
But there may be more options.
Is there a method to do this without downloading the whole chain, I have a 1 Mbps Internet connection  Sad I assume there must be a tool to create and sign the raw transaction locally without the need for downloading the whole chain, and then to use a tool connected to the network to send the signed transaction?
You can use those commands with an offline Bitcoin core, just disconnect the internet and Core wont sync.
You just need to fetch the required info to create the transaction from other sources.
When the "RAW Transaction" is ready, you can broadcast it using any "push/broadcast txn service" online.

When i did the test transfer to the P2SH-P2PK address, I don't understand how the script hash in scriptPubKey was generated, given that I only provided the value to be transferred, the P2SH-P2PK address and nothing else (I did not provide the public key) to create the transaction?
You can use the command getaddressinfo to get your address' scriptPubKey.
The example address in OP: scriptPubKey": "a914c470975e1d7b8311e554626cb7fab6076a50bd2287"
consist of:
  • a9 = OP_HASH160
  • 14 = Script Hash's size
  • c470975e1d7b8311e554626cb7fab6076a50bd22 =  RIPEMD160[SHA256(Redeem Script)]
  • 87 = OP_EQUAL

Here's an example usage of those command for P2SH scripts: /index.php?topic=5251740.msg54527358#msg54527358
As you can see, P2SH requires some extra args compared to other scripts when signing.

That's for P2SH-Multisig so in your case, you'll only need to sign once.

The Big Question is:
Is there a reason why you don't want to use others for your paper wallet?
3447  Bitcoin / Electrum / Re: Restoring from an Electrum-v1 passphrase on: November 29, 2020, 11:01:28 AM
Try to restore it in v1.8-1.9.8 that can be downloaded from the "Previous releases" link in the official site (https://electrum.org/#download).
Then open the wallet file "electrum.dat" using the latest version 4.0.5 (File->Open->Browse to the location) to sync it to the network and to see your balance.
Do you know if anything changed that might not allow this approach?
There are some changes from 1.1 to 1.8 but the seed itself should be in the same format and Electrum has kept backward-compatibility when it comes with wallet file or seed phrase import.
Here's the release notes: https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES (from v1.5.7 to the latest)

Before I posted my reply, I've already tested it with a newly created wallet by 1.8.1 and opened the "electrum.dat" using v4.0.5 and it opens without any error.
The addresses is the address tab are also the same.
But I can't launch electrum v1.1 from source for some reason.
3448  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: November 29, 2020, 05:32:32 AM
When moving the wallet: Instead of importing the channel backup, just copy the wallet file itself to the other machine.
It's in Electrum's data directory (location)

But be warned that lightning transactions made by one copy will not reflect to the other that will cause the channel to be force-closed when launched by the outdated one.
So it's best to use an individual LN wallet in a single machine.
I think it's because the channel and the LN transactions are saved in the file itself and it must reflect the other party's copy (need clarification).
3449  Bitcoin / Bitcoin Technical Support / Re: Having issues with a non-standard P2SH address... on: November 29, 2020, 05:07:50 AM
I'm not using bitcoin-bash-tools but I can tell that the address 3KbhF81wMizzyjJUKLMCBbscSj9puQyBbq is "P2SH-P2PK" which can only be spent
by providing its Redeem Script: 2103d144a172e24f499f9c59bdeed23fe625e814bbe815b1170a4eafed7cbc970eacac [PubKeySize PubKey OP_CHECKSIG]
(of course, along with the signature)

The only wallet that I know that uses such address is Armory but it'll only take uncompressed PrvKey and derive the P2PKH address for import.
So I think the only way to spend from it is to use Bitcoin core's RPC command createrawtransaction & signrawtransactionwithkey.
But there may be more options.

Now, if I import the above private key in Electrum by using p2wpkh-p2sh:L3gKEzRWXnVtZKkMA6ncKoJqo53EwReMdB5o5ceUtVfg9HApkWGB, it tries using 33XT3ryB3EtMAVoG4W7zg7MAiSNtsSPaYD as the receiving address, and not 3KbhF81wMizzyjJUKLMCBbscSj9puQyBbq as I was expecting.
It's expected since the prefix used is p2wpkh-p2sh which isn't p2sh-p2pk, they are totally different.
Sadly Electrum doesn't support that address type.
3450  Bitcoin / Bitcoin Technical Support / Re: Simple question - Sending BTC to someone from a local wallet on: November 28, 2020, 11:25:59 AM
Typically how many transactions can  one block hold.. any rule stating max or min numbers?
A Bitcoin block can contain up to 1 MB of transactions. -snip-
It's safer if we say "1 virtual MB" or 1MvB max.
Because in 'MB', the size of a bitcoin block with witness data in disk can reach more than 1MB up to 4MB (can only fit up to 3+MB, in reality).
3451  Bitcoin / Bitcoin Technical Support / Re: [Bitcoin Core] How to know TXID which moves funds of one of your transactions? on: November 28, 2020, 03:23:19 AM
getreceivedbyaddress/listreceivedbyaddress because it only works for your own wallet[1], that is according to sources, (I have not tested this..).
That's correct, you'll get an error message: Address not found in wallet (code -4) when using "getreceivedbyaddress" even with -txindex.
"listreceivedbyaddress" on the other hand, doesn't take an address argument.

The only alternative solution I can think of is to have your own expensive database like that of a blockexplorer.
3452  Bitcoin / Bitcoin Technical Support / Re: Fail of transaction because of fee on: November 27, 2020, 02:27:05 PM
Is 0.00001000 BTC as a fee ok ? What would you recommend ?
Like I've said in my previous reply, it's the minimum and being "minimum" means that it's the lowest priority fee rate.

There are times that it's okay like if you do not want fast confirmations or the average mempool size is low,
but not right now if your transaction is a bit rush.

Refer to the post above for the alternative but I'd suggest to use the 3rd graph instead and look for the range that suits your transaction best.
Eg: Using that site, fee rate at range of <1MB has a good chance to get confirmed in the next block, >1mb for the next and so forth.
Note that the number of newly broadcast transactions and rate of mined blocks can increase/decrease that chance.

So how to enable fee estimation ? (without going into data floder)
Without the latest blocks and some unconfirmed transactions in your mempool, the client can't estimate fee rate.
That's when your node isn't synced or you're not relaying unconfirmed transactions.
3453  Bitcoin / Bitcoin Technical Support / Re: Fail of transaction because of fee on: November 27, 2020, 04:29:24 AM
Also, do you know what 60' for a transaction represent as a fee ?
The only "60" that I can find is the "Confirmation time target" for your transaction to get a confirmation within 60minutes.
It'll be displayed when you click "Choose..." beside the transaction fee (it's already displayed in OP's case).
And that's part of the "fee estimation" and wont work unless it's initialized.

Alternatively, you can always use the other option "Custom". and set your desired fee rate.
The pre-loaded amount is the minimum 1sat/B or 1000sat/kB.
3454  Bitcoin / Bitcoin Technical Support / Re: {help me} i lost my bitcoin on: November 27, 2020, 04:02:27 AM
edit:
Thanks, I noticed here that the address was wrong and I corrected it
But I sent the wrong address to the computer crime police, but now the case is blocked and it does not matter because the amount withdrawn is 0.038 bitcoin and I do not know the police will pay for tracking because as I understand here, the cost is high.
But I have an opinion
If we find the hacker's address, we can empty his account and make a profit

No, it's impossible to control someone else's address without its private key.
Bitcoin isn't designed to be controlled by a central authority.

However, if you can track it and found out that it's in a centralized service like an Exchange or Gambling site,
then it's possible to contact their support to inform them about the hacking incident (with enough proof)
in order for them to freeze the hacker's account.
But if it's in a non-custodial wallet like Bitcoin Core, Electrum, blockchain.com (except trading wallet), etc., there's nothing you can do.
3455  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core v 11.3 on: November 26, 2020, 10:26:16 AM
My wallet.dat only decrypts part of the keys and passphrase seems not accepted with other versions.
Is this the error that you're getting?:
Code:
Error unlocking wallet: some keys decrypt but not all. Your wallet file may be corrupt. (code -1)

If it is, it's not Bitcoin Core's version at fault.
The passphrase you've entered is correct but the wallet.dat may have corrupted or tampered data in it.
3456  Bitcoin / Electrum / Re: Restoring from an Electrum-v1 passphrase on: November 26, 2020, 06:58:26 AM
I meant "seed phrase", the word mnemonic used to recover a wallet. It is a Brainwallet using a set of words that are in the 2048-word list -->
-snip-
It's not a pure Brainwallet of self-selected, non-list verified words.
"Brainwallet" is a different thing, it's basically a SHA-256 sum of the "passphrase" that will be used as a private key.
Based from your reply, it can not be a Brainwallet.

I'm able to import a seed mnemonic from a wallet created with a random set of words derived from the old format, like "black brown red green black brown red green black brown red green".
-snip-
Perhaps my final word does not compute a proper checksum. (?)
Random picked words from the old wordlist works because there's currently no "seed version system" before v2 (link).

I've tested with v1.8.1 and it accepts 12+ words when restoring a wallet from the old list while the latest version only takes 12 or 24.

If you're certain of the seed phrase and the words all belong to the old wordlist:
Try to restore it in v1.8-1.9.8 that can be downloaded from the "Previous releases" link in the official site.
When prompted with connection errors, cancel everything until the wallet is created.
Then open the wallet file "electrum.dat" using the latest version 4.0.5 (File->Open->Browse to the location) to sync it to the network and to see your balance.
3457  Bitcoin / Bitcoin Technical Support / Re: {help me} i lost my bitcoin on: November 26, 2020, 03:45:15 AM
-snip-
Was it a different "blockchain" wallet?
Or are you certain of what happened (because it's been 8 months since based from the timestamp)?
Yes, I was wrong
This transaction was done from the site https://freebitco.in/?op=home, which was the total inventory of this site
This happened after I sent some bitcoins from this site to another site. Is it possible that this site hacked my account address?
But the hacker also had access to my blockchain account and entered it because a confirmation email was sent to me, but fortunately I had no money in the blockchain.
If you're positive that it's the exact URL that you've been using, then it's legitimate and probably won't hack your balance.
Here's their official Bitcointalk thread: https://bitcointalk.org/index.php?topic=320959.0.

For the hacker, he also got the email password so it's pretty easy to withdraw from freebitco(in) if you didn't set 2FA on.
3458  Bitcoin / Electrum / Re: Restoring from an Electrum-v1 passphrase on: November 25, 2020, 05:55:10 AM
Passphrase?
Do you mean "seed phrase"? Which is the 12-words used to recover the wallet since you've mentioned "wordlist".
AFAIK, it should work in the new version and it will be recognized as "old" when you try to restore it.
Speaking of wordlist, here's the old wordlist (before v2): https://github.com/spesmilo/electrum/blob/1.9.8/lib/mnemonic.py
Check if your passphrase's words are in it.

You might be using a "Brainwallet" instead of Electrum seed phrase because of the term "passphrase" for seed phrase.
3459  Alternate cryptocurrencies / Mining (Altcoins) / Re: PhoenixMiner.exe does not run anymore after restarting rig (Windows) on: November 25, 2020, 04:17:15 AM
I was reading some older posts and horror stories of things accidental Windows Updates can do like change the registry of windows defender or update the graphics cards to a version that they shouldn't be, etc.. These are the things I am looking into. If you can think of anything else to look into, please let me know.
You can try to disable Windows Update in "Search->Edit Group Policy"
Under 'Computer Configuration', expand "Administrative Templates->Windows Components->Windows Update".
On the right pane, set 'Configure Automatic Updates' from 'Not configured' to "Disabled".

Using that setting, my Windows10 Rig has been at version 1709 for 5months and never updated.
I don't know if will actually work since I've deferred windows updates in the settings for 365days.
But this is what the description says:

Some features are still being automatically updated though.

And to disable automatic drivers update, enable the policy: "Do not include drivers with Windows Updates", as written in its description.
You might want to check the other policies in there too.
3460  Alternate cryptocurrencies / Mining (Altcoins) / Re: Claymore's Dual Ethereum AMD+NVIDIA GPU Miner v15.0 (Windows/Linux) on: November 25, 2020, 03:35:31 AM
Until epoch 379.
According to the OP and Claymore's last few posts:

NOTE: please upgrade to v15.0 as soon as possible, old versions support up to #299 epoch only, they will fail then!
v15.0 supports up to #384 epoch (4GB DAG size).

Pages: « 1 ... 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 [173] 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 ... 309 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!