Bitcoin Forum
July 08, 2024, 02:10:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 72 73 74 75 [76] 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 ... 466 »
1501  Bitcoin / Development & Technical Discussion / Re: Public Blockchain Analysis Sites (to check transaction history) on: October 02, 2023, 03:28:36 PM
Therefore "taint" from the real world's viewpoint is real, and because Bitcoin is easy to track, each Satoshi has a "history" and a "context" because any entity can put "taint" labels in them.
"Taint" is subjective. The objective viewpoint is to treat every coin equally, just as you would with cash. The ledger provides coin history, but beyond that it's utter guesswork to determine who owns it, what was exchanged etc. But, deeming mixed coins as "tainted", which is known practice by Coinbase, is insane. You cannot even argue the coins have "bad history", because it is completely erased in the first place. Mixed coins are indistinguishable; deeming them "bad", just because there is an x probability of being owned by a criminal is insane.
1502  Bitcoin / Development & Technical Discussion / Re: [INFO - DISCUSSION] Eclipse Attack on: October 02, 2023, 02:41:00 PM
I did a little bit of a research, and eclipse attacks appear to be concerning. Paper "Eclipse Attacks on Bitcoin’s Peer-to-Peer Network" greatly demonstrates experiments and countermeasures of such attack.

Fortunately, Bitcoin Core has implemented 6 out of the 7 countermeasures (which are described in detail above). You can check it out the pull requests in the official page of the paper's authors: http://web.archive.org/web/20220412122303/http://cs-people.bu.edu/heilman/eclipse/ (I found out the site from the v0.10.1 releasing notes, in which three of them were fixed)
1503  Bitcoin / Bitcoin Technical Support / Re: Time of Confirmation on: October 01, 2023, 07:36:23 PM
This may sound petty, but it's not necessarily the time the block was mined but rather the timestamp the miner has chosen to put into the blockheader of block 808877. Both times must not be the same and are allowed to differ by quite some amount.
Very correct. If we want to be specific, the block time must be greater or equal with the median time of the previous 11 blocks + 1 second, and less than the adjusted network time + 2 hours.

These are the particular lines in validation.cpp that check it:
Code: (https://github.com/bitcoin/bitcoin/blob/5bbf735defac20f58133bea95226e13a5d8209bc/src/validation.cpp#L3749-L3756)
    // Check timestamp against prev
    if (block.GetBlockTime() <= pindexPrev->GetMedianTimePast())
        return state.Invalid(BlockValidationResult::BLOCK_INVALID_HEADER, "time-too-old", "block's timestamp is too early");


    // Check timestamp
    if (block.Time() > now + std::chrono::seconds{MAX_FUTURE_BLOCK_TIME}) {
        return state.Invalid(BlockValidationResult::BLOCK_TIME_FUTURE, "time-too-new", "block timestamp too far in the future");
    }

- GetMedianTimePast() can be found in chain.h, and it returns the median time of the past 11 blocks.
- MAX_FUTURE_BLOCK_TIME can also be found in chain.h, and it is equal with 7200 seconds (2 * 60 * 60).

According to one of my nodes and unknown propagation delay of the node's network mining time and block header timestamp seem to be pretty close for block 808877:
Code:
2023-09-22T18:14:35Z Saw new header hash=000000000000000000007761b9076f7e5b29b5f7ef4a74cd4372b1c0631a20c9 height=808877
2023-09-22T18:14:35Z [net] Saw new cmpctblock header hash=000000000000000000007761b9076f7e5b29b5f7ef4a74cd4372b1c0631a20c9 peer=3540
2023-09-22T18:14:35Z UpdateTip: new best=000000000000000000007761b9076f7e5b29b5f7ef4a74cd4372b1c0631a20c9 height=808877 version=0x20008000 log2_work=94.433168 tx=898739166 date='2023-09-22T18:13:57Z' progress=1.000000 cache=27.1MiB(37151txo)
Mine received it 2 seconds after yours. You could be the one who sent it to me.  Smiley
Code:
2023-09-22T18:14:37Z UpdateTip: new best=000000000000000000007761b9076f7e5b29b5f7ef4a74cd4372b1c0631a20c9 height=808877 version=0x20008000 log2_work=94.433168 tx=898739166 date='2023-09-22T18:13:57Z' progress=1.000000 cache=123.6MiB(805657txo)
1504  Other / Beginners & Help / Re: Just a quick one, about KYC. on: October 01, 2023, 05:39:57 PM
So, my question is, since there are some cryptocurrency exchanges that don't make KYC compulsory for the purchase and withdrawal of a certain amount of Bitcoin, what is the risk of purchasing Bitcoin on such an exchange?
Depends on the exchange. If you use a truly decentralized, peer-to-peer like Bisq, then the risk is minimized. That means that you only hand over your bank info to some stranger. It's better than a centralized exchange which gathers thousand of clients' data, and much better from KYC-CEX, which gathers even more important data.

The buyer or seller can still be tracked by the CEO (if he is a technical guy) but most CEOs are just a guy with money
It's ignorant to think it that way. But even if it's that the case, the CEO isn't the only person who gets permission to view that data, and it's definitely beyond their permission if their database gets leaked and your data is being at sale for a few bucks in the dark web.
1505  Bitcoin / Bitcoin Technical Support / Re: BTC Paper Wallet Recovery on: October 01, 2023, 05:27:06 PM
I would strongly recommend you to stay away from any browser-based wallet software. Besides known paper wallet scam-sites, as the ones mentioned, javascript (which is what they all use) is non-recommended by cryptography experts; https://bitcointalk.org/index.php?topic=5324030.msg56590276#msg56590276

I would add that they should verify the binaries using signatures from outside Github: https://bitcointalk.org/index.php?topic=43496.0
1506  Bitcoin / Bitcoin Discussion / Re: About Bitcoin Privacy on: October 01, 2023, 05:07:17 PM
2. Then why was it called a public address, if you aren't allowed to publish it to the public. How are you supposed to receive payment or transactions when you don't give out your public address.
Two things.

  • Broadcasting the transaction to the public isn't the same as having your real name tied with an address, publicly. Obviously, you send transactions to the public (ergo, broadcast them), because the ledger is public. What they probably meant is the latter.
  • Nobody calls an address "public".
1507  Bitcoin / Development & Technical Discussion / Re: [INFO - DISCUSSION] Eclipse Attack on: October 01, 2023, 04:49:17 PM
This is near to impossible, maybe the attacker can broadcast transaction that are already spent in the real largest chain.
It is possible to broadcast any transaction. What's impossible is to "fake" a transaction if it isn't against the protocol rules. Double-spending a transaction doesn't count as "faking" if you redo the work.

Unless the isolated node is mining there is no use of doing fake tx, even if it was mining, it wouldn't accept a fake tx unless you feed it with a fake longest chain
There is no "fake longest chain", no matter how much we'd want it. There is the difficultywise-longest chain, and it's always the correct chain. If another one comes up, with more work, that becomes the correct one.



What is needed to be emphasized is that an eclipse attack isn't going to be effective if the attacker doesn't spend a significant amount of resources to redo the Proof-of-Work, which in that case, the network would be under threat anyway. The reason is that the attacker must maintain an entire chain themselves. If your node receives no blocks for hours, or days, you can make out you're under an eclipse attack. The attacker must solve blocks every 10 minutes to go unnoticed, which requires to redo a lot of work. They cannot re-create their own, little-worked chain, because node software comes with checkpoints.

That is my understanding as to why an eclipse attack shouldn't be concerning, but please correct me if I'm wrong.
1508  Bitcoin / Bitcoin Discussion / Re: About Bitcoin Privacy on: October 01, 2023, 01:22:53 PM
If you receive multiple payments from a same person, company, why do you need to change your receiving address?
Because it literally publishes itself as evidence that the same entity has been paying you? You should never reuse addresses, unless there is a significant burden with it. (i.e., if you're a signature campaign manager, it's time consuming and provides no tangible difference)

The reason why topics which are directly focused on privacy are not anymore common is that this has been discussed for many years already.
Come on, seriously. I think everyone can acknowledge that several topics are being recycled over and over, but is the privacy one really repeated? Because I mainly observe everything around price, government concerns, satoshi, and countries banning it / adopting it.
1509  Bitcoin / Development & Technical Discussion / Re: Is it possible to lock change by default? on: October 01, 2023, 12:58:06 PM
You'll have to spend change at some point, and at that point, you'll probably want to consolidate outputs. So what do you do? You mix.

Assume you make 500,000 sat change every month. Consolidate outputs you're confident of revealing common ownership, and send them over to a mixing-only Sparrow wallet. From that point on, you can select any of those spent change and use them in several coinjoins. The alternative, probably more expensive approach is to send change to a mixer.
1510  Bitcoin / Bitcoin Technical Support / Re: So I got a free laptop and am looking to setup a linux os for a node . on: September 30, 2023, 06:04:50 PM
Any Debian-based distro would be a safe choice. Mine is Ubuntu, but I've tried Mint and Debian. I just find the OS in total to be more comfortable in Ubuntu. That being said, every single of them will work fine for a node-machine.

I'd go with whatever you're used to. If you've used to Fedora, spin up Fedora. Just use an established one. We all end up using stable, large community supporting OSes. Don't install, for example, NixOS or Slackware.
1511  Other / Beginners & Help / Re: HODL is purely a mental challenge on: September 30, 2023, 05:04:42 PM
In my humble opinion, as a self-proclaimed Bitcoiner, HODL means "no return back". When you HODL, you expect that the rest of the populace will follow on a Bitcoin standard, sooner or later. HODLing isn't to merely keep a bitcoin for a couple of years, just to sell it back for fiat (which is considered long-term for many).

I don't want to be called a toxic maxi, but it's just the way it is. If you don't think the people will treat Bitcoin seriously, then you don't either.
1512  Bitcoin / Development & Technical Discussion / Re: How to reinstall bitcoin core, but keeping the blockchain? on: September 30, 2023, 04:51:01 PM
Will I lose the blockchain?
No. Just copy the application data to linux and run Bitcoin Core there.

Does anybody know how to proper uninstall bitcoin core (windows format) and reinstall it in linux format, but not the app starting to download the blockchain again?
Backup your application data, which is located in %APPDATA%\Bitcoin IIRC, to some external drive. Open up linux, install Bitcoin Core, let it run for a couple of minutes to start downloading blocks. Close it, replace the backed up Bitcoin app data to ~/.bitcoin, and restart Bitcoin Core. It will continue from where you left it at Windows.
1513  Bitcoin / Bitcoin Technical Support / Re: How do timelocked transactions work? on: September 29, 2023, 06:56:46 PM
As far as the BIP that you mentioned is concerned, isn't it the definition of timelocked transactions?
Define me "timelocked". There's the "You cannot mine this until block x" timelocked (AKA, locktime). There's the "You cannot spend this until block x" timelocked. There's the "You cannot spend this after block x" timelocked*. All do lock to the future, though, yes.

I mean are you sure that the only move I need to do is to broadcast it now and it will be mined in 2 years?
No, it will be mined in 10 minutes, but the new UTXO cannot be spent until 2025.

In the case you broadcast a transaction before its locktime, nodes will reject it and they won't keep your transaction in their mempool at all.
If the locktime of your transaction has been set to 2 years later, you have to wait for 2 years and then broadcast your transaction.
That's what I also know. But according to BlackHatCoiner and the BIP he mentioned, it may be possible to broadcast now, have it mined and locked until 2 years later
Both of you refer to the locktime field. I was referring to OP_CHECKLOCKTIMEVERIFY. They are completely different. The former is checked when you attempt to include its transaction to a block. The latter is checked when you attempt to spend an output.



*This one doesn't really exist, but it exists in concept. It was called OP_BLOCKNUMBER, but the founder warned for security implications: https://bitcointalk.org/index.php?topic=1786.msg22119#msg22119
1514  Bitcoin / Bitcoin Discussion / Re: Banking scams ...How are Bitcoin better? on: September 29, 2023, 06:47:43 PM
I don't understand why every single time they need to be praising Bitcoin they go for the wrong stuff.
Does filling the post quota cross your mind?  Tongue

The easiest way to make abundant amount of topics, is to continuously praise Bitcoin. Bitcoin does this, bitcoin does that, and suddenly an endless page of meaningless posts is taking shape, because it is much easier to agree with someone, than to disagree (as the latter would require counter-arguments). It really doesn't matter if the author is correct; they have won, because of the Cunningham's law.

Kakmakr, don't take this as an offense (it really isn't!). But, I just have noticed lots of forum users doing this, hopefully unconsciously.
1515  Bitcoin / Bitcoin Technical Support / Re: How do timelocked transactions work? on: September 29, 2023, 06:27:52 PM
Do you know if there is any way to create a timelocked transaction but broadcast it now and make it wait until the timelock?
What you're really asking is if you can broadcast a transaction, have it mined, but lock its outputs until a specified time. This is "saving it temporarily", but "broadcasting it later". And there exists. It's called OP_CHECKLOCKTIMEVERIFY. Spending such locktime outputs before the specified nLockTime will cause the script to fail.

Wouldn't it be nice if there was such a feature? Do you think it would be bad for bitcoin to allow it?
The particular feature you mentioned would be bad, because it lacks the spam protection from OP_CHECKLOCKTIMEVERIFY. TX A is unconfirmed, you bloat the network with "not-yet-mineable" transactions. Before TX A becomes confirmed, you double-spend it with B and now all the other transactions are invalid.

You could also not depend on that feature. What if most nodes' mempools are clogged, and they only keep transactions paying an x sat/vb, which is higher than yours? The transaction will not be broadcasted at the time you'd have scheduled it.
1516  Bitcoin / Development & Technical Discussion / Re: [INFO - DISCUSSION] Compact Block Relay (BIP152) on: September 29, 2023, 05:34:55 PM
So the miner creates a block assigning transactions to it. Then the block is broadcasted to the nodes. Then the nodes check how many transactions exist in their mempool (say 9 out of 10). What happens next? This is where I miss the point.
These are the steps, as I understand them.

  • Node has 900 out of the 1000 transactions of a block.
  • Mining pool, which runs a regular node, sends block announcements (via cmpctblock). These types of messages include a list of structures, containing the compacted block, like short transactions IDs and other useful info.
  • When the node receives the compacted block, it requests via getblocktxn to get the 100 missing transactions from the other peer.
  • Mining pool responds back with those transactions.
  • Node verifies that the new transactions are indeed included in the block, by constructing and verifying the block using information from step 2.
1517  Bitcoin / Development & Technical Discussion / Re: [INFO - DISCUSSION] Compact Block Relay (BIP152) on: September 29, 2023, 03:36:14 PM
That is brand new information for me. Kudos to cygan. There's just always something you don't know about Bitcoin.

Isn't it true, that the majority of nodes already have the majority of the next block's transactions in their mempool?
I believe so, but there aren't any public data to verify that claim. It could be verified though. If you spin up a full node and recursively attempt to send compact blocks to the nodes that request it, similar as to getaddr by bitnodes.io, you can analyze their transaction requests and approach what is each node's mempool.
1518  Bitcoin / Bitcoin Discussion / Re: Navigating Bitcoin ATMs While Traveling. Tips and Considerations on: September 28, 2023, 07:57:00 PM
Anyone here has any solid advice and heads up on the use of Bitcoin ATM.
Yes, just don't. They're ridiculously expensive. In my place, they take a 7% commission when you're selling bitcoin. You become a target for criminals, and in case these two aren't discouraging enough, you're forced to submit KYC if you're going to cash out more than an upper limit. (in my place, that's about 500 EUR IIRC)

I just want to know if there's any heads up or I should avoid it and pay in Bitcoin without using an ATM?
If the restaurant accepts bitcoin, then pay with bitcoin. But, obviously carry some real cash and electronic debit in case that won't work.
1519  Bitcoin / Bitcoin Discussion / Re: Banking scams ...How are Bitcoin better? on: September 28, 2023, 04:40:18 PM
The "scammer" would have to issue a new payment every time to charge you and that is not done in a second, there is a built-in delay in every of those PoS.
I think that the OS is what protects the user in the case that someone steals their phone. There is a timeout setting, wherein the user has to authenticate the transaction. I'm a Google Pay user, and I've noticed that if I leave my phone open for a couple of minutes, I cannot make a payment. I'll have to turn off and on.

Do we have data on thefts with stolen smartphones? I have never heard of such case once, and I'm pretty sure you can call your bank and reverse it before it's too late. Nevertheless, this means the merchant bears the financial burden once again.
1520  Other / Beginners & Help / Re: Post your PGP key, add an encrypted message, open for anyone. on: September 28, 2023, 04:27:35 PM
But it seems the tutorial is outdated.
Yeah, that seems like a couple of decades old.

From where can I download the PGP software and other tools (if required)?
I recommend you try out Kleopatra. It's for PGP newbies, and comes with a pretty neat GUI. It's the same software used in this Electrum verification tutorial. If you're already in Linux, just hit the following:
Code:
sudo apt install kleopatra

In Windows, it's a little bit more of a task, download the installer in here: https://gpg4win.org/download.html. Follow the instructions and tick Kleopatra if shown.
Pages: « 1 ... 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 72 73 74 75 [76] 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 ... 466 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!