Bitcoin Forum
July 03, 2024, 11:50:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 ... 311 »
4081  Bitcoin / Electrum / Re: How to tell if one of my transaction is Segwit or not... on: April 22, 2020, 06:38:38 AM
I'm curious, do you still have a link to that old version cold-storage issue?
It's better if everyone can read and analyse that issue so people here can give you more accurate answers.

For now, if it's not an Electrum Bug, then there will be no problem even if you have a different version of Electrum as long as all of your wallet's addresses are legacy '1'.
Lastly, the most relevant old offline signing-related bug that I've heard was: 2951: Cannot sign transactions while offline - for versions < 2.7.9
4082  Economy / Web Wallets / Re: Can i get wallet.aes.json from Wallet identifer? Lost password on: April 22, 2020, 02:26:56 AM
There was an old discussion about this and the OP tried all the previous ways to get the wallet.aes.json file but none of them worked.
That's after the 2017 upgrade.

Here's the Topic link: Obtaining blockchain.info wallet.aes.json - process changed?
4083  Bitcoin / Electrum / Re: Be careful when copy-pasting a Bitcoin address on: April 21, 2020, 04:55:22 AM
AFAIK it's disabled by default but the config that I'm using is still the same as the old builds that I've tinkered with the settings so it could be wrong.
Anyways, it's not a newbie-friendly way to send bitcoins so it must be disabled.
4084  Bitcoin / Electrum / Re: Be careful when copy-pasting a Bitcoin address on: April 21, 2020, 04:43:28 AM
Once you click on that, you are presented with the "Create Transaction" window that lets you set the fee, RBF (and even LockTime! Shocked) and shows all the relevant details, such as the inputs and outputs etc:
That will only show directly of you enabled it in the settings (Tools->Preferences->'Transactions' tab->Advanced preview).


Otherwise, it will only show a fee-slider, 'advanced' button (same as preview) and 'send' button.
4085  Other / Beginners & Help / Re: What exactly is suspicious_hosts.txt ? on: April 21, 2020, 04:26:26 AM
That looks like a part of the 'DNS Seed' that Core uses to "jump-start" the connection to the network.
The purpose must be to minimize the risk of new nodes connecting to those node instead of the proper ones, but that's quite a small list compared to an active node's own banlist.dat.

Yes but what stops them? They can simply change ip.
As I've said above, your node have its own "banlist" and will automatically ban the IP of misbehaving peers for 24hrs (default) if it detected a malicious activity.
4086  Bitcoin / Bitcoin Technical Support / Re: [Testnet] Is this normal? on: April 21, 2020, 03:42:14 AM
Your questions all over the forum are quite random... from mining, full nodes to private keys, all.
You're gonna love "Mastering Bitcoin" book if you still haven't read it.

Here are some resources that you should consider reading:
4087  Bitcoin / Development & Technical Discussion / Re: There are 2^256 private keys out there: how big is that number? on: April 21, 2020, 02:54:36 AM
I'm trying to understand it but failed. Why not 2^256? They are hashes right? Like strings. All possible combinations. Where is the mistake?  Huh
He's just nitpicking Grin and explained that it's not actually 2 to the power of 256 but only until the highest valid private key to be exact.
2^256 = 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129,639,936
isn't equal to 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140,
in decimal = 115,792,089,237,316,195,423,570,985,008,687,907,852,837,564,279,074,904,382,605,163,141,518,161,494,336

Those aren't hash, 0-F character strings are Hexadecimal (HEX).
Most Hashing algorithms' outputs are just represented as HEX by most tools, that's why it looks the same.
4088  Other / Beginners & Help / Re: Why difficulty change every 2016 blocks and not every 1? on: April 20, 2020, 11:25:24 AM
Read the answers of the developers themselves, first and second upvoted posts: https://bitcoin.stackexchange.com/questions/9305/why-not-retarget-on-every-block
Specially the one from 'G. Maxwell'.
4089  Other / Beginners & Help / Re: All of my bitcoin questions gathered. I need some help here... on: April 19, 2020, 04:21:16 AM
In this thread I would like to gather all of my bitcoin questions I have. As many as I can think of, like how mining works, how bitcoin transaction works etc.

1)Why it does? Are miners involved in this?
The answer is simple, the number of broadcast new unconfirmed transaction have no limit and may increase or decrease depending on the situation (but each node's mempool does have limits).
While the number of transactions that can fit in a block have a limitation and the number of blocks per day is also limited to an average of 1 block per 10 minutes.

Quote from: BlackHatCoiner
2) Why block generation time is always standard?
Answered by jackg.

Quote from: BlackHatCoiner
3)What exactly are we trying to guess?
-snip-
And then how my blockchain file will be shared to all the other blockchain files of the world?
-snip-
I know that if they solve the transaction hash (?) they will get the fee as a reward. But what exactly are they trying to do in order to solve it?
Quote from: BlackHatCoiner
4) What is a target and why the block's header must be equal or lower than this number?
That depends on the difficulty (answer to #2). The higher the difficulty, the lower that "target" will be.
As the wiki said, it's a "256-bit number" which is a 64-characters (HEX) [64characters HEX = 32Bytes= 256-bit].
It's the same number of characters as a SHA-256 hash.

So the miner will try to create a "block header" with a SHA-256d hash lower than the target to win a block.
Read this: Block hashing algorithm.
If the hash isn't lower or equal to the target, then the miner will change the "nonce" that will change the hash.
If that new hash isn't lower or equal to the target, repeat the above until it does.

Quote from: BlackHatCoiner
5) If I want to send 50BTC to an address with a fee of 0.0002 do I spend 50.0002BTC and the receiver gets 50BTC or do I send 50BTC and the receiver gets 49.9998BTC?
This depends entirely on the client, some badly-configured wallets deduct the fee from the amount to send by default.
But most clients will try to find a higher valued UTXO in order to send the full amount to the desired address.
Some are configurable to do what the user wants.
4090  Bitcoin / Bitcoin Technical Support / Re: Recovering old wallet.dat on: April 19, 2020, 02:22:25 AM
Since I was never able to open the wallet or even load it, I suspected that the key dump didnt even include it, but to be fair I have no idea how this all works.
Since there are a bunch of corrupted data in your block files,
try to run Bitcoin Core with a fresh data directory containing a new copy of your old wallet.dat, then open core while offline.
Create a folder to any directory other than the default, then set that temporarily in a bitcoin.conf file inside '%appdata%\bitcoin' folder.

Example (Windows):
  • Create a folder name "bitcoin_temp" to "D" drive.
  • Paste the copy of your wallet.dat inside that folder.
  • Open %appdata% (Win+R, type  %appdata%) then open Bitcoin folder.
  • Create a bitcoin.conf file inside, new->text doc->rename including the extension from "New Text Document.txt" into "bitcoin.conf".
  • Open it using a text editor and type datadir=D:\bitcoin_temp
  • Disable your internet and open Bitcoin-qt, then do the dumpwallet command.
Change the data directory depending where you created the folder.

If the wallet turned out corrupted, start bitcoin-qt with --salvagewallet.
  • Create a shortcut of bitcoin-qt, right-click the shortcut and select properties.
  • In the "target" add <space>--salvagewallet at the end and apply/ok.
  • it should look like this: "C:\Program Files\Bitcoin\bitcoin-qt.exe" --salvagewallet
  • Then open Bitcoin Core using that shortcut.
4091  Bitcoin / Electrum / Re: BTC has yet to show in Electrum Wallet - Please Help! on: April 18, 2020, 03:52:44 AM
I recently switch crypto exchanges (From Coinbase to Gemini). Last night I withdrew the last of my BTC from Coinbase and some newly purchased BTC from Gemini to the same Electrum BTC address.
-snip-
"It appears that the withdrawal has been completed after reviewing the transaction hash. After taking a look at the transaction I can see that it has been confirmed 6+ times on the blockchain.

https://live.blockcypher.com/btc/tx/c03f8e947f6974d41c58c03c92d00d3a533b878bc9fc348cdeed38e42161e8f2/ "
This is what I noticed based from that bold phrase:
Either one of the two possible outputs doesn't have two recent incoming transactions so those aren't your Electrum BTC address.
The other one looks like an exchange change address.

  • 1G3BdSyNiyLGtyEN84T2wcvaGDzaZfGG3i - Last TXs: 2020-04 and 2019-08, can't be this one
  • 3JsffzphrK2GpRJcLixKyxn7HuF2xn8CqH  -   Last TXs: 2020-04, just one
  • bc1quq29mutxkgxmjfdr7ayj3zd9ad0ld5mrhh89l2: Received a total of 429,660.48723108 BTC (you're a 'whale' perhaps)

So, it could be a different Bitcoin address, it was changed by something or Gemini is lying.

Edit for the new reply: 1G3BdSyNiyLGtyEN84T2wcvaGDzaZfGG3i only have one recent transaction, it can't be the same address that you've used to withdraw from Coinbase.
4092  Alternate cryptocurrencies / Altcoin Discussion / Re: BCH sent to BTC wallet on: April 18, 2020, 03:30:04 AM
Just press "WindowsKey+R" to open 'Run', then type %appdata%, Enter. You'll be able to browse inside even if it's hidden.

BTW, last time I tried copying Electrum 3.3.8 wallet with legacy bitcoin address to Electron 4.0.12 datadir (about 4 months ago),
it didn't worked due to wallet version compatibility issue, newest version 4.0.14 wont work either.
However, a copy to ElectrumSV's datadir, worked.
4093  Other / Beginners & Help / Re: What Everyone Should Know About Atomic Swapping. on: April 18, 2020, 02:50:10 AM
-snip- the biggest drawback of an atomic swap is without any trustable exchange you have to swap with the person. This swap occurs on the peer to peer network. --snip-
I wouldn't call that drawback because "Trust" was already covered by Atomic swap, it's not a simple send and receive transactions.
You don't have to trust the other party because the trade wont proceed if there's hiccup or even if it's at the final stage, you can refund your coins.

Those addresses where you should send your funds are designed to have a timelock, refund/spend conditions and a "secret" (it's also created using your own keys);
those are configured to be recoverable in case of a failed trade & the "to-be-traded" coins can only be spent by both parties unless the secret was revealed to finalize the trade.

The fee wont always be an issue either, a 1input-2outputs tx @50+sat/byte is still a lot cheaper than any Exchange's withdrawal fee or Instant Exchanges' trading fee.

One potential drawback for the fee is: if the either one of the final transaction got stuck unconfirmed due to a really low fee, the occasional "mempool clogging",
and the timelock for the refund transaction was due, then the other party can broadcast that refund tx (if it's RBF) or send it to a 'friend' solo-miner/pool to double-spend the inputs of the unconfirmed claim transaction.
4094  Other / Beginners & Help / Re: Collision in Hash Function. Everyone Should Know this on: April 17, 2020, 08:38:13 AM
There's nothing "harsh" about that quote, it's actually mild and comforting  Smiley

FTR, There is currently no recorded collisions for both SHA-256 and RIPEMD-160, Bitcoin is using the two famously for computing "pubkey hash".

1.What's the effect of detecting collisions on the harsh outputs?
For the particular hash function, projects that are using it like Bitcoin would start looking for safer alternatives.
Like if SHA256 proved to become unsecured after discovering multiple collisions or successful collision attacks, developers might consider using SHA512 instead.

<addition, because my answer didn't really answered the question: For Bitcoin address collisions (because it was created through hashing),
the two persons who own the private keys that derived the same address can spend each other's funds
>

Quote from: Wenbing
2.Is collision an  advantageous cryptographic occurrence or not.?
No.

Quote from: Wenbing
3.Are there cryptographic measures in place in order not to experience  collisions in harsh outputs?
For "pubkey hash", Bitcoin has been using two entirely different hash functions. So if one got compromised, there's another one to break.
For some "Redeem script" and "P2SH addresses", the same as above.
For Mining, Bitcoin uses SHA-256d (d=double) for a reason: (wiki: SHA-256d)

While taking a course on cryptography and block chain,
Are those questions part of your exam?
4095  Other / Beginners & Help / Re: What Everyone Should Know About Atomic Swapping. on: April 17, 2020, 03:30:29 AM
What I seek to learn about this from the forum are:
1. How does the atomic swap work technically?
2. What are the major problems of the atomic swap?
3.Is there limit to swapping and is there an applicable swapping fee?
Here are the "technicals": BIP: XX - Atomic Cross Chain Transfers | Re: Alt chains and atomic transfers

Most of those advertised "Decentralized Exchange" use something like that under that hood.
It's basically a bunch of scripts made from your own public keys that have certain conditions before each party can proceed & spend the final transaction's outputs.

That's also one of the disadvantages versus regular instant exchange because it's only compatible with coins that supports such scripts, the coin selections will be limited.
Another one (an advantage rather) is newbies normally mess-up handling their funds when it's in a non-custodial client like a decentralized exchange,
not really a disadvantage but it's a usual beginner's issue (Bec.: Beginners & Help).
4096  Bitcoin / Electrum / Re: So I'm assuming I'm fucked on this one right? on: April 17, 2020, 02:14:11 AM
Somehow, I got my money! It's in my account. Hallelujah!
Good thing that you've used you own deposit address to create that watch-only wallet.
So, what actually happened is that you have deposited your balance from Coinbase to Empire, Electrum didn't took part of that transaction.

-snip-
It says it's imported watching only but I never imported anything, all I did was setup the wallet, copy the provided receiving address into the sending section of coinbase, and that was that. The wallet  I have setup is also encrypted. I downloaded it at https://electrum.org/#home
The name clearly tells that it was created using "import bitcoin addresses or private keys" option then you pasted that address.
4097  Bitcoin / Development & Technical Discussion / Re: Merging two encrypted wallet.dat files on: April 16, 2020, 07:32:13 AM
You'd lose HD wallet feature, which force you to backup wallet.dat file regularly. OP apparently trying to merge multiple wallet.dat without losing any features or advantage each wallet.dat have.
He will only need to backup once after he imported the keys or dumpwallet file.
After that, the 'new backup' can still generate the new/future addresses/keys as long as the hdseed is the same.
Old backups however wont contain the imported prv keys.

I don't know if this helps, but you can:
export the private keys from both wallets
Better use dumpwallet on wallet1, then importwallet the dump file to wallet2.
That's doable within a minute if you're fast, minus the rescan.
4098  Alternate cryptocurrencies / Mining (Altcoins) / Re: Recently purchased Bitmain? S9 on: April 16, 2020, 06:48:26 AM
I currently have software that I researched, but unsure how to set up the ant miners to them. Nice Hash and Cudo miner are the two programs that I currently have downloaded and want to know what problems would I have to deal with or is it a quick setup.
You can only choose one of those software; or none, just create a bitcoin wallet (eg. Electrum) and join a Bitcoin mining pool.
Using the article in the post above, you can easily configure your miner to connect to a mining pool, then it's plug-and-play.

Quote from: SeaMerchant
So my question is how would this work, do i link the ant miner ip address to the programs and let it run then collect my btc and withdrawl? Also I noted in another post that you do not need a computer to set up the ant miners that it could be done with a phone?
As long as your phone's browser supports full webpage view and connected to the same network as your Antminer, it will work (mini-browsers might not work).

Withdrawal and miner configuration will depend entirely on the pool of your choice, some have an internal account which requires you to withdraw or set an auto-withdrawal to your own wallet.
Some will automatically send your earned BTC (for a specific timeframe) to your bitcoin address.

You should post a reply to bitcoin mining pools' official threads for support because settings differ per pool (although it's already written in their respective OP).
Here are a couple of options: KanoPool | ckpool
4099  Bitcoin / Electrum / Re: So I'm assuming I'm fucked on this one right? on: April 16, 2020, 04:02:44 AM
I just chose new wallet and then chose watch only. I'm not sure how I was able to create it without having any private or public keys.
There's no option "watch-only" in the new/restore wallet menu. Are you sure that you're using Electrum?
The two ways to create a watch-only wallet is to select "Standard->Use a master key->Paste a master public key" or "import Bitcoin addresses or private keys->Paste an address".
The difference will be the wallet type after the wallet name: [standard, watching only] and [imported, watching only], respectively.

The only non-watching wallet I have is my Coinbase wallet, which is what I transferred the bitcoin from.
Coinbase isn't really a wallet so you can't call it "non-watching", your receiving address still belongs to them.
They just crediting your account based form your deposits.

For the main question, you're "fucked" if you don't know where you got that address.
If you know where it came from, then you can investigate further.
4100  Bitcoin / Electrum / Re: Help! Bitcoins blocked on Electrum since 14 March 2020!! on: April 15, 2020, 12:19:27 PM
The question is simple: how do I unlock that trade and get hold of the rest of my bitcoins? Thanks to those who want to answer me.
You can follow BitCryptex's suggestion to remove it from your history.
If you do that, the funds from that transaction will return to your available balance because it wasn't "processed" in the first place.

To properly send a transaction, you need to directly click "send" after filling out the address, fee, amount, etc. (next version will be different)
If you have to use "preview", make sure that you will click "broadcast" after viewing the transaction's info.
Pages: « 1 ... 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 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 ... 311 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!