Bitcoin Forum
June 27, 2024, 09:25:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 837 »
2601  Bitcoin / Bitcoin Discussion / Re: Could the need of Bitcoin being more divisible lead to a hard fork? on: December 28, 2022, 09:01:26 AM
If LN is the solution for this kind of issue, I am curious if LN indeed accept a fraction of satoshi while the original network rejects such kind of transaction, how can that transaction be presented on Bitcoin network since I believe LN transactions need to be reflected on the original network?  Please kindly enlighten me since I am really confused about this kind of situation.
Good question.

So the transactions involving millisats aren't broadcast to the main chain. They remain entirely within the Lightning network. Whenever a Lightning channel which has a balance involving millisats is closed, then the transaction which is broadcast to the main chain is rounded down to the nearest whole satoshi.

Think of it like this. You and I each put ten $1 bills in a jar. There are now twenty $1 bills in that jar. You sell me some goods for $5, and so we agree that when we open the jar again, you'll get fifteen of those bills, and I'll get five. All good so far. Then I sell you some goods for $2.50. So now the balance is $12.50 for you, and $7.50 for me. If we open the jar now, then we can't get the exact amounts we are owed, because there are only $1 bills in the jar and no quarters, dimes, etc., so we can't receive 50 cents each. But no matter, we aren't opening the jar yet, so it doesn't matter for now. We can agree that this is what we are each owed, without actually opening the jar. So we do another trade for $2.80, and now the split is $15.30 and $4.70. And another trade, and another, and another. All the time we agree to split the original $20 in different ways, some of which won't actually be possible because we don't have the coins needed to split up a dollar in to smaller parts. When we finally come to open the jar, let's say (for example) the split is $15.30 and $4.70, as above. You would get $15, and I would get $4, with $1 left over in the jar.

The same thing happens with Lightning channels. You open the channel using a whole number of sats, but then can trade in millisats. As long as your channel stays open (i.e. we don't open the jar), you can trade back and forth in millisats as long as you like. When you want to close the channel (i.e. open the jar), then the transaction broadcast to the main chain will only use sats, and so the balance of both parties will be rounded down to the nearest whole satoshi, with the extra satoshi (the $1 left over in the example above) added to the fee of the closing transaction.
2602  Bitcoin / Bitcoin Discussion / Re: Could the need of Bitcoin being more divisible lead to a hard fork? on: December 27, 2022, 09:34:55 PM
Then Layer 2 (Lightning Network) is practically the solution to this fear of Bitcoin's supply or decimals having to be modified.  Right?  There are so many threads talking about the issue but never have I seen this solution suggested or talked about.
In its current form it would only be part of the solution. There are still other stumbling blocks which would need addressed first.

For example, let's say that a satoshi is worth $1 or more. Are people going to be happy spending hundreds of dollars worth of bitcoin just to open a channel? Or do we need something like channel factories to make it possible to open a channel for a fraction of that cost? More importantly, what about if you have an amount on your channel which is currently considered on-chain dust, but which could be worth hundreds of dollars? Most people won't be happy chalking that up as a loss.

Although it is worth repeating that for a satoshi to be worth $1, then the marketcap of bitcoin would be $2.1 quadrillion, which is more than an order of magnitude more than the global monetary supply. It is a crazy hypothetical.

2603  Bitcoin / Bitcoin Discussion / Re: Could the need of Bitcoin being more divisible lead to a hard fork? on: December 27, 2022, 08:09:52 PM
bitcoin amounts, and it is important to note that doing a hard fork does not have anything to do with having other bitcoin measuring units because it is simply about placing decimal places rather than doing a hard fork.
This is simply not correct.

At the protocol level, everything is measured in satoshis. There are no decimal points; only satoshis. You cannot move a decimal point in the protocol because there is not one to move. Coins are defined as 100,000,000 sats. Amounts, outputs, block rewards, fees, everything, is denominated in sats.

If you want to introduce a unit smaller than the satoshi, then it requires a hard fork. A hard fork is a fork which makes things which are currently invalid, valid. If I tried to broadcast a transaction right now spending some fraction of a satoshi, it would be invalid and would be rejected. To makes this invalid transaction valid, we would need a hard fork to introduce smaller units and re-denominate everything in to these smaller units.
2604  Bitcoin / Bitcoin Technical Support / Re: Privacy wallets on: December 27, 2022, 01:08:43 PM
So now we can fairly say that, the server will know all addresses of an HD wallet will be know from the IP log or TOR circuit exit node information. No?
I'm not sure if I am correctly interpreting your question, but I think what you are saying is correct.

If your HD wallet software is connecting to a third party server in order to function (i.e. any wallet which is not running exclusively from your own node), then that software will query that third party server for the balance and transaction history of every address in your wallet. The third party server will then see a bunch of requests for different addresses all showing up at once from the same IP address, and can therefore be almost certain that all those addresses belong to the same wallet and are owned by the same person. If you are using Tor, the third party will see your Tor exit node's IP address; if you are not using Tor (or some other service such as a VPN) the third party will see your IP address.

If you then open a different wallet using the same software and query the same third party server, then that server will again see a bunch of requests for different addresses all showing up at once from the same IP address as before (whether that is a Tor IP address or your own IP address). It is possible then for the third party to link this second wallet to the first wallet by nature of the same IP address.

You can improve on this second problem somewhat by using a different Tor circuit and different third party server for each of your wallets. However, to completely mitigate both problems, then you must have your wallet software collect data exclusively from your own node.
2605  Bitcoin / Development & Technical Discussion / Re: What is happening with transactions that is unique but with an existing txid? on: December 27, 2022, 01:00:21 PM
In here you’re taking about miners which are a part of a mining pool?
If you are running your mining equipment as part of a pool, then generally speaking the pool will run multiple nodes each with their own mempool, use that information to build candidate blocks, and then send those candidate blocks to the miners to be worked on. Each individual miner doesn't need to run their own node, although many will. If you are mining solo, then you must run a node in order to receive broadcasted transactions to your node's mempool and then attempt to include them in a block you are attempting to mine.

Mining hardware does not have a mempool. It is nodes which have a mempool, and then use that information to create blocks for the mining equipment to work on.

But what about a node who launched his own Bitcoin Core client? Does he have a mempool? Cause as far as I know — yes, he does.
Yes. Bitcoin Core is a full node, and as with any full node, will have a mempool.
2606  Bitcoin / Project Development / Re: Are dices for generating seed words fair? on: December 27, 2022, 12:55:50 PM
so are you going to admit that storing your seed phrase in such a place is highly risky?
Not necessarily.

I'm not a fan of any back up system for seed phrases where the compromise of a single back up results in you losing your coins. Because of this, I exclusively use either wallets generated from both a seed phrase and an additional passphrase, or multi-sig wallets. And as I have said before, I would always recommend having at least two back ups of any important information. So in such a case where I am storing a back up in a safe deposit box, then if the bank makes a mistake and drills out my box, I have not lost my wallet since I have additional back ups elsewhere, and my funds cannot be stolen since one back up on its own is insufficient to compromise my wallets.

If you only have one back up, and someone discovering that one back up gives them all the information required to steal your coins, then you are already in a highly risky situation.
2607  Bitcoin / Bitcoin Discussion / Re: Annual January 3rd Proof of Keys Celebration of the Genesis Block on: December 26, 2022, 07:40:22 PM
Please let us know what you think about it.
It's a complete waste of time and all you are doing is giving exchanges even more profit since the majority grossly overcharge for withdrawal fees.

Only a minority of users will ever take part, meaning centralized exchanges which are either already insolvent or running fractional reserve (i.e. all of them) can easily cover the small number of coins which will be withdrawn. Further, since it is advertised and the date well known, all these exchanges can easily pull back in some risky investments or loans, or take out a loan themselves, to cover the withdrawals for a day or two if they need, before going right back to their usual scammy ways the very next day. Despite this day existing for several years, the number of exchanges going bankrupt or insolvent or turning out to be scams and their users losing everything is going up, not down. This day proves nothing and prevents nothing.

Most users who take part will withdraw their coins, pay the ridiculous withdrawal fees, and then just send their coins straight back the very next day. All they achieve is lining the pockets of the centralized exchanges even more, while gaining zero additional security.

If your coins are on a centralized exchange, then you do not own them and you are at constant risk of losing everything. This pointless day changes absolutely nothing. The only real proof of keys is having your coins in your own wallet 24/7/365.
2608  Bitcoin / Bitcoin Discussion / Re: Could the need of Bitcoin being more divisible lead to a hard fork? on: December 26, 2022, 03:36:01 PM
Another problem that would arise if bitcoin becomes so valuable that one satoshi is one USD is that transaction costs would make it impossible to spend the bitcoins. Right now, even a one satoshi transaction would require a few hundreds or thousand satoshi in transaction fees.
This is much less of an issue. Although a satoshi is the base unit in the protocol (meaning introducing smaller units would require a hard fork), this is not the case for fees. Although we all think in terms of sats/vbyte for fees, in the protocol fees are actually define in terms of sats per virtual kilobyte, or kvb. The default setting is 1000 sats/kvb, which is obviously the same as 1 sat/vbyte. Because of this, if is easy to change that to 100 sats/kvb (for example), which would be the same as 0.1 sats/vbyte (which would obviously then be rounded up to the nearest sat). Indeed, not only do we not need to fork for this, but we don't even need an update to Core at all. Any node is free to change their minimum fee rate at any time, and miners are free to include any transaction paying any fee they like at any time.

Is it possible to create a second layer on top of Bitcoin or a third layer on top of the second to allow payments under 1 satoshi and only return to layer 2 or 1 if you own exact amounts of Satoshi's with no decimals?
You can already do this with Lightning. You can open a channel and make transactions involving millisats for as long as your channel remains open. If you close a channel which is holding some fraction of a satoshi, then the balance you receive will be floored to the nearest satoshi.

So for example I open a channel with 100,000,000 msats (100,000 sats). I transact back and forth over several months. At the end of those months my channel has a balance of 100,045,724 msats. If I close the channel, I'll receive 100,045 sats.
2609  Bitcoin / Bitcoin Discussion / Craig Wright is unquestionably a con artist on: December 26, 2022, 03:23:52 PM
Yes but you state that Craig Wright can't know the public key, because the address was not used. This is not Tre, the address was used many times.
There is an important distinction to make here.

If an address has only received coins, then the public key is unknown (unless the owner has revealed it in some other way). Whenever coins are sent from an address, then the public key is revealed. This is the case for all recent P2PKH (pay to public key hash) outputs.

However, the transaction being discussed in this thread is not paying a P2PKH output. It is paying a P2PK output. Rather than paying to a hash of the public key (which we encode as an address), it is paying to the public key directly. As soon as a raw public key has received coins, then that public key is revealed on the blockchain.

As the real Satoshi, you can not make so many gaffes.  He is clearly just a con artist.  Gathering control over one of the first addresses used by Satoshi is Craig's dream.
100% this. If CSW ever did provide a valid signature (he won't), then given his long history of technical incompetence, plagiarism, poor knowledge regarding how bitcoin works, and multiple blatant and child-like forgeries, the balance of probabilities makes it exponentially more likely he has simply found the private key belonging to an early block as opposed to him being Satoshi.
2610  Bitcoin / Bitcoin Discussion / Re: Could the need of Bitcoin being more divisible lead to a hard fork? on: December 26, 2022, 11:39:42 AM
Bitcoin becomes widely adopted, its marketcap surpass the dollar's, and it become so valuable that even a single satoshi is worth more than, for example, a couple of pens, a bottle of water, etc.
Here's a post from Ray Dillinger on this topic which you might find interesting: https://bitcointalk.org/index.php?topic=819656.msg9170781#msg9170781

Even in such a case where bitcoin becomes a globally adopted currency, a satoshi is probably still going to be just fine as the smallest on-chain unit. The bigger issue would be dealing with fees and the dust limit for transactions which are only moving a few sats. No point paying 100 sats to move 1.

That's where second layer solutions come in to play. No one is going to pay 100 sats to move 1, but would likely have no problems spending 100 sats to open a channel which could move 1 sat over and over again, thousands or even tens of thousands of times.

Correct me if I'm wrong — but couldn't this simply be done in the wallet side of things? As it's mostly just moving of decimal places anyway.
You can code your own wallet software to display any units you like. I could code my wallet so instead of displaying 8 decimal places it displays 20. Instead of sats being the base unit, now my base unit is picosats. None of that makes any difference to the protocol though, and the smallest amount I could work in would be 1,000,000,000,000 picosats, which is equivalent to 1 sat. Trying to change any of the 12 zeroes in that number would simply result in an invalid transaction which would be rejected by the network.
2611  Bitcoin / Bitcoin Discussion / Craig Wright is unquestionably a con artist on: December 26, 2022, 11:23:49 AM
Grin You're right. I do see the public keys.
The locking script for early P2PK outputs is simply as follows:
Code:
OP_PUSHBYTES_65 PublicKey OP_CHECKSIG

So simply look at the locking script, remove the 0x41 from the start and the 0xac from the end, and you have the public key.

This effectively cuts your security in half.
This is a pretty misleading statement. Even with a known public key, the best known attack would require 2128 operations, which is so far outside of the the realms of possibility it is not even worth considering. Any additional security which comes from having an unknown public key is the difference between deducing your private key being "impossible" and "no really, it's impossible". There are millions of bitcoin held on P2PK outputs which have known public keys, on reused P2PKH addresses with known public keys, and P2TR outputs now use public keys directly rather than pubkey hashes, so also have known public keys. The whole point of public keys is that it is perfectly safe for them to be public.

Yes you shouldn't reuse addresses, but this is a privacy issue, not a security one.
2612  Economy / Exchanges / Re: Binance's proof of reserves raises red flags: Report on: December 26, 2022, 09:57:51 AM
Here is a story from FTX which proves what I've been saying all along: https://news.yahoo.com/ftx-execs-hid-8-billion-173336895.html. FTX created a single account on their system, not belonging to any person, and put $8 billion of unaccounted for liabilities in to it in order to balance their books.

And so what stops any other centralized exchange doing the same thing? Absolutely nothing. They create a Merkle tree which includes a sham account or two with a balance of negative $8 billion. Oh look! Everything balances up perfectly. How convenient. Or maybe they have some third parties "audit" their books and bottom lines. Bearing in mind that none of these audits were actual audits and were just "agreed upon procedures" where the third parties were only given access to what the exchange wanted them to have access to, and so hidden in those books are a few sham accounts holding billions in made up liabilities. And surprise again! Everything balances up just fine. And all the time the exchange is actually massively insolvent and your coins are already lost.
2613  Bitcoin / Development & Technical Discussion / Re: What is happening with transactions that is unique but with an existing txid? on: December 26, 2022, 09:43:00 AM
BTW, these kinds of transactions will never hit the mempool, as they can only be generated when a miner creates a coinbase transaction
That's not accurate. Two entirely different non-coinbase transaction can theoretically have the same TXID. It's just that it would be incredibly unlikely - the same as the chance of finding a SHA256 collision.

Ah, I didn't realize BIP34 mandated the block height in the coinbase now.
Correct. As per BIP34, the first entry in the coinbase's scriptsig must be the block height. At present, it is the first four bytes. The first byte is 0x03 to signal three more bytes, and then the next three bytes are the block height in little endian. So if we take the scriptsig from the coinbase transaction of the most recent block (768977), we see the following:
Code:
03d1bb0b1b4d696e656420627920416e74506f6f6c3837342c0015005fd53c19fabe6d6db46edfa877fb61b2a3194255237dde004f732847308b864def23429d0708c9b20200000000000000a1500000fd18000000000000

The block height is encoded by the following:
Code:
03d1bb0b

0x03 tells use to look at the next three bytes. The next three bytes are d1bb0b. Convert to big endian (0bbbd1) and then to decimal, and we get 768977.

But before it was implemented it was possible, and happened twice: https://bitcointalk.org/index.php?topic=216938
That's correct. These two historic collisions are still viewable in the Bitcoin Core code here: https://github.com/bitcoin/bitcoin/blob/e9262ea32a6e1d364fb7974844fadc36f931f8c6/src/validation.cpp#L5311-L5321
2614  Bitcoin / Bitcoin Technical Support / Re: If we want people to be their own bank, we have to rethink things. A Proposal on: December 26, 2022, 09:25:18 AM
Keep in mind that the alternative here is to contribute to the existing project to improve that if the ideas already exist instead of giving up altogether.
Along those lines, the first thing to do would be to identify what is wrong with the existing solution which is impeding newbies.

Let's use the Electrum example we have been using above. What is wrong with it in its current format that makes it too hard for newbies to use?

Is it the process of verifying the download before installing it? I can appreciate that point, but it is an important step to ensure security. Do newbie guides on how to do this need to be more prominently advertised, or do they need to be made simpler?
Is it the process of creating a new wallet? The wallet creation wizard is pretty straightforward. You can't really make it any simpler without removing options and railroading every newbie in to a standard hot wallet, which I don't think is the right thing to do.
Is it the GUI of the wallet itself? Should we hide every tab except history/send/receive by default? Should we hide expiry on the receive tab? Should we hide description on the send tab? These are optional features which are not required to send or receive coins.
Is all of the above actually fine, and we just need better and jargon-free documentation and guides?
Is Electrum the wrong wallet to be recommending to newbies at all, and we should be recommending something else which is even simpler to use?
2615  Bitcoin / Bitcoin Discussion / Re: Bitcoiners kill Bitcoin, and governments are happy, boycott the CEXs on: December 26, 2022, 09:16:42 AM
which I would always recommend newcomers to wet their toes in first before trying non-custodials.
The problem with this approach is that once you have entangled yourself in centralized exchanges, it is significantly harder to untangle yourself than if you never used them in the first place. You have a bunch of coins which are connected to your real identity which you then have to thoroughly mix or coinjoin to break that link, you've already given away your personal information and KYC documents and they remain at risk of being stolen/sold/leaked forever, and it is impossible to delete all the information that exchange has gathered on you and shared with third parties. If you use a proper DEX from the outset, you avoid all of this.

No matter how you hate on what bitcoin is becoming, you cannot hide the fact that as a store-of-value
I have no problem with people using bitcoin as a store of value. Such is the beauty of bitcoin - you can use it in any way you like and no one can stop you from doing so. What I have a problem with is centralized exchanges turning themselves in to banks and losing billions of dollars of money belonging to average people as they gamble deposits for their own profit, all while selling user data to governments and third parties.
2616  Bitcoin / Bitcoin Technical Support / Re: Invalid private key error on: December 26, 2022, 08:59:31 AM
This error is showing up immediately on FinderOuter.Thanks for your response. Wish you merry Xmas.
Then you are entering the wrong string in to FinderOuter. If it is showing up immediately, then it means FinderOuter is simply checking the string you have entered and telling you it has an incorrect checksum. It is not actually attempting to brute force any other possibilities.

Here's what you should be doing:

Open FinderOuter
Click on "Missing Base58"
Paste in your private key to the first box
Swap the invalid characters I and l for the missing char symbol (which is * by default)
Ensure the input type is "PrivateKey"
Click "Find" at the top

If it doesn't find your key, if you could then copy and paste here exactly what appears in the box at the bottom, that would be useful.
2617  Bitcoin / Bitcoin Technical Support / Re: Bitcoin full node question (accessible to everyone) on: December 25, 2022, 09:29:16 PM
Can I also use the public node myself
Certainly. Any wallet which is not itself a full node (such as Bitcoin Core or other full node software such as Bitcoin Knots) will connect to public nodes (usually via an intermediary server) to collect the data it needs to display your transaction history and balance and be able to broadcast transactions. The node(s) or server(s) which you connect to in order to gather this information are able to see that you are querying this information, and are therefore able to link all the addresses in your wallet together and link all of them to your IP address and other information you might leak, such as the wallet software or device identifiers.

or should i rather use a private node for my private wallet?
If you want to protect your privacy from the issue I have just described above, then you must run your own node and either use it as your wallet or point any other wallet software you might use (such as Electrum) exclusively at your own node (via an Electrum server which you also run).
2618  Bitcoin / Bitcoin Technical Support / Re: Invalid private key error on: December 25, 2022, 09:21:28 PM
It means that the checksum (the last 5-6 characters of the private key) are not valid and do not match up with the rest of the private key. In other words, you still have one or more errors somewhere and have not yet found a valid key.

Is this error showing up on btcrecover? Can you share exactly the command you are running? Does it give you that error immediately or does it perform a search first?
2619  Bitcoin / Development & Technical Discussion / Re: What is happening with transactions that is unique but with an existing txid? on: December 25, 2022, 09:11:14 PM
The new transaction will have to change, because as said, it will be rejected. You can slightly change the locktime value to one lower, and it will produce an entirely different hash. If you don't want that, you can pay 0 coins to OP_RETURN; that will also work, but it'll cost more.
Or if you are using software which doesn't allow you to do either of these things, then the simplest thing to do is simply change your fee by 1 satoshi.

Why did you say that not miners hold these transactions? Anyone in the network, who have to mine, have to hold it, if I'm not mistaken.
Yes, miners need to know about unconfirmed transactions, but they do so via nodes. Usually what happens is that mining pools run several nodes, and then create candidate blocks which are sent to individual miners. The individual miners themselves don't need to keep their own mempool or run their own node, because the mining pool gathers the necessary data for them via its nodes.
2620  Bitcoin / Bitcoin Technical Support / Re: If we want people to be their own bank, we have to rethink things. A Proposal on: December 25, 2022, 08:43:35 PM
Does it educate you in the process?
Is it intuitive to all?
Does it have confusing jargon to retail investors (casual users)?
Has electrum accomplished what I'm talking about already?
To an extent. It is entirely possible to use Electrum without knowing anything about elliptic curve multiplication or how transaction signing works or even how bitcoin transactions are constructed or how they are mined. You click receive, you copy the address. You click send, you paste an address. You could change the GUI to make it even simpler and remove any mention of advanced options, but the underlying process I think is as simple as can be. Even a third party custodial wallet or centralized exchange account can't get much simpler than simply "send" and "receive". Although if you also want it to educate people in the process, then you need to leave in some mention of more advanced concepts so people can learn about them as they go.

How do you propose I reword this topic to avoid unnecessary filibuster and focus on the goal?
The core idea was a loose proposal, I want to contribute to this cause in some fashion, any ideas?
Then it seems we have all misunderstood you, as your original post very much reads like you want Core developers and the Core software to be responsible for implementing this proposal.

Some of the things you talk about already exist, such as elaborate yet simple to understand documentation which can then be expanded as people want to learn more. I would point to https://learnmeabitcoin.com/ as a great example of this. A lot of your proposal might be simply bringing together existing solutions in to one place or integrating them together. Maybe there is a market for an incredibly bare bones beginner friendly wallet, but I'm not sure how much simpler you can really get.
Pages: « 1 ... 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 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 ... 837 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!