Bitcoin Forum
July 04, 2024, 12:24:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 224 ... 311 »
3461  Bitcoin / Electrum / Re: Can't move money out of electrum wallet on: December 06, 2020, 02:32:41 AM
Ok yes, I clicked on the wallet name and it says that it's a watch only wallet. But it also says I've got a balance of 0.008btc. So what does that mean?
I have the seed, but how can I spend or send the money somewhere else?

I originally purchased the btc through Coinbase and then sent it to Electrum.
It's just what I thought, how did you created your mobile Electrum wallet?
Have you imported one of your Coinbase Bitcoin address using the option "Import bitcoin addresses or private keys" when you created that wallet instead of "Standard Wallet"?
Because importing an address is the only way you'll end up having an imported watch-only wallet.

Just like what I've pointed in my previous post, the seed you have must be for another Electrum wallet.

Quote from: mumbleman
I guess I didn't set the wallet up properly to start with but the funds must be somewhere right?
If you did what I've described above, then there's a chance that it's in your Coinbase account.
3462  Bitcoin / Electrum / Re: Can't move money out of electrum wallet on: December 05, 2020, 04:07:30 AM
So, I can't click on finalize or sign or broadcast, because they don't exist in the app, I've scoured the menus. I also can't even find a 'tools' menu.
Can you click the unpaid invoice and check the "Pay" button if it's clickable.
No? Are you perhaps using a watch-only wallet on your phone?
You can confirm it by clicking the wallet name above and try to find a text saying "This wallet is watching-only".

If not, can you link the google Playstore app/URL that you've been using?

Quote from: mumbleman
I've installed Electrum on my desktop and opened up the wallet with my seed. But at the bottom it says Balance 0 mBTC. So WTF?
Then the seed phrase must be for another wallet.
Note that you can create more than one wallet files with Electrum, you might have created more than one.
There should be a list of wallets after you launched the app if it's the mobile version.
3463  Bitcoin / Electrum / Re: How to save additional fee on Electrum? on: December 05, 2020, 03:51:56 AM
-snip-
Ah ok understood. Thanks for the help.
If you've already made a transaction, you might wanna keep 2FA for now.
Because that 0.001BTC isn't just for a single transaction but for 20 transactions, means that you'll not get charged for the next until the 19th txn.
The payment would've been a waste if you disable it after paying for the first.

More info about 2FA: https://api.trustedcoin.com/#/electrum-help
3464  Bitcoin / Electrum / Re: Electrum wallet stuck in a state of synchronizing. on: December 05, 2020, 03:46:06 AM
If nothing worked, enable "Write logs to file" in the 'Tools->Preferences', restart Electrum.
Then let it run for a minute then go to the data directory and find "logs" folder, there should be a text file there.
Data directory: https://electrum.readthedocs.io/en/latest/faq.html#where-is-the-electrum-datadir-located

See if there's a connection-related error among the last few lines or paste them here (censor the info you don't want to share).
After that, do not forget to disable logging.
3465  Bitcoin / Electrum / Re: Restoring from an Electrum-v1 passphrase on: December 04, 2020, 10:05:41 AM
-snip- My 12-word seed-phrase order is wrong.
Ah, so the previous unanswered questions about your seed phrase's order were answered.
This complicates things since you need a tool that can correct the order and supports old Electrum seed before you can even try to import it to old Electrum version.
3466  Bitcoin / Bitcoin Technical Support / Re: Im a newb: I think I have lost bitcoin - Can someone help me? on: December 04, 2020, 04:31:31 AM
This is what crypto app says i sent in the history for “Withdrawel To” bc1qvxxj7cte6470kpc0a4xcqtg80wddq06w3ar04z

When you click on that transaction (in crypto app) , it says this is the transaction hash:
86907173a6e351451674818ff21b2917456654d1242e6ba04602c6f7332514d1
Looks like you've copied the same address as your previous transaction about 1 hour before that transaction.
Luckily, it's easy to tell since crypto app has been reusing their address for batch withdrawals.

You must remember where you sent the 1st transaction then you'll have a clue on where the "lost transaction" was sent because they have the same address.
3467  Bitcoin / Bitcoin Technical Support / Re: Working with multiple wallets in Bitcoin Core on: December 04, 2020, 03:53:25 AM
I understand that I can specify the wallet via the
Code:
-rpcwallet="walletname"
option. But for what purpose are the loadwallet/unloadwallet commands? How are they meant to be used?
I second the post above but I think there's no issue on your side, the command is to load the specified wallet.
You got that error of Duplicate -wallet filename specified because that wallet was already loaded as you created it.

You should use loadwallet the second time you use Bitcoin core after your exit your current session.
And the quoted command is used when using RPC commands for a specific wallet after you've loaded it,
commands under "wallet RPC" wont work with a wallet that isn't loaded yet, you'll get an error instead:
Code:
Requested wallet does not exist or is not loaded
3468  Bitcoin / Bitcoin Technical Support / Re: Can you use the same address to send AND recieve Bitcoin? on: December 03, 2020, 03:53:02 AM
But what I don't understand is how they can use the same address?
I thought (wrongly it seems!) that an address was literally that - an address where the funds were going TO - just like an address on an envelope or a bank account IBAN number.
Technically, an address is just a human-readable representation of a script (eg. scriptPubKey),
which can be 'spent from' by fulfilling the requirements of or solving that script.
Each transaction's output(s) creates a new UTXO (unspent transaction output) that's locked by that script and that's what's being spent, not some kind of balance for that address.

TL;DR: Let's say an address is a "padlock" (not the box that's being locked), its private key is the key for that padlock,
and the UTXO(s) that can be spent by your 'key' as the box which being locked by that padlock.
A padlock can be locked and unlocked as many times as you want. (not the best analogy since each UTXO requires different signatures)

Quote from: KasinoKing
Furthermore, I also thought crypto transactions were anonymous - so how would Coinbase know that the funds were coming from a casino?
I can't find any article that states "Bitcoin is Anonymous",
it's rather "Pseudoanonymous" which could mean it's anonymous in a way that you have the option to not link your identity to your addresses.
3469  Bitcoin / Bitcoin Technical Support / Re: Why does the fee I set in electrum not match the actual fee? on: December 02, 2020, 07:27:42 AM
I set a fee of 27 sat/byte in electrum, but it came out as 15.5 sat/byte. This happens every time with electrum. How do I correctly set fees in electrum?
Aside from TryNinja's (correct) answer: that will only happen when you're using SegWit.
The reason why those explorers can't compute the same fee as Electrum does is because they're not taking the virtual size in consideration.
And SegWit transaction's "virtual size" is lower than its "size", so the fee per Byte will always be computed lower than fee per virtual Byte when it comes with SegWit.

But when it comes with prioritization, miners will take what you've set in Electrum because it's actually "sat/vByte" although it's displayed as "sat/byte".
3470  Bitcoin / Bitcoin Technical Support / Re: very new! will pay for an answer!! need help with a transaction from a coinbase! on: December 02, 2020, 05:02:41 AM
i looked up the address and it is linked to a btc and a bch account. -snip- if you look up the address it is associated with btc and bch but blockchain shows bch as the receiver(which should be correct).
I think I understand this, you're talking about what's being displayed in blockchain.com/some_blockexplorer when exploring an address, no?

To clear things up: Blockchain.com isn't associated with neither BTC and BCH Blockchains.
Two (or more) compatible coins will be displayed when you searched for an address if the address' format is/was supported by those particular coins.
In you case, you've pasted your bitcoin address which format is supported by both BTC and BCH chains, but Coinbase or most exchange doesn't work that way, they usually issue different deposit address(es) per coins.

So, it's what has been said by others.
3471  Bitcoin / Bitcoin Technical Support / Re: Bitcoin core - All transactions showing unconfirmed on: December 02, 2020, 04:45:24 AM
Additionally for nc50lc post, you can check your raw transaction using this https://coinb.in/#verify it can convert to a readable format.
Using the browser is unnecessary when it comes with getting the JSON object format.
He can use the console (Window->Console) and the command: decoderawtransaction "RAW_Transaction" but I doubt that he can make sense of those data or what to do next.
3472  Bitcoin / Electrum / Re: New release: Electrum 4.0.5 on: December 01, 2020, 04:13:01 AM
Another issue I encountered in the macOS version of Electrum 4.0.5; When closing the application (Quit Electrum) once, Electrum does not close immediately, and it looks like this:
https://i.imgur.com/TgW9rBw.png
The best solution is to report this as a new issue and include the logs (minus the sensitive info) with the report.
You can enable it in: "Preferences->Write logs to file" (Restart Electrum).

After you reopened Electrum, reproduce the bug and then check the log file in: ~/.electrum/logs
There should be a hint at the last few lines.
3473  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.
3474  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).
3475  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.
3476  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.
3477  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+).
3478  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?
3479  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.
3480  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).
Pages: « 1 ... 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 224 ... 311 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!