Bitcoin Forum
May 26, 2024, 10:31:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 127 128 129 130 131 132 ... 1151 »
1621  Bitcoin / Bitcoin Discussion / Re: Proposal for a Satoshi-sign on: August 05, 2023, 05:14:28 AM
That's a good attempt but I'd say if we are to design a symbol for the smallest unit of bitcoin called satoshi we should utilize the letter "s" in it not "b" similar to ¢ which is the symbol for cent and uses the letter "c".

Lower case "b" symbol could be used for other units of bitcoin like bits which is 100 satoshi.
1622  Bitcoin / Development & Technical Discussion / Re: can we send bitcoin to ip addresses? on: August 05, 2023, 05:06:00 AM
Hmm... When I type this public key in their search field, they find it as an address.
Technically they shouldn't show you anything because public key is not a P2PK (nor is it P2PKH or any other address type). When we say P2PK we are talking about a specific script that contains the public key (pushdata + OP_CheckSig).
1623  Bitcoin / Bitcoin Discussion / Re: Bitcoin Promotional Material on: August 04, 2023, 08:16:26 AM
That's how you get weak hands into bitcoin and increase the already high volatility in the market where they panic buy and panic sell because they have no understanding of what bitcoin is! Tongue
1624  Bitcoin / Bitcoin Discussion / Re: risk of centralization of bitcoin. on: August 04, 2023, 08:10:40 AM
Miners don't really care, at least the large ones.
I wouldn't say they don't care, instead they probably see the risk as being small enough to neglect, which is not wrong either the risk is not the biggest. But if that chances and they feel the threat as being big enough that can damage their "investment" they do care and specially the big ones because they have more at stake. If you think about it, a successful attack on bitcoin will harm those who have more money invested in bitcoin and bitcoin mining.

In fact we saw how much miners care when they feel the risk rising about 7 years ago when ghash.io grew too big that they controlled more than 50% of the hashrate. Miners did make the effort and started switching pool and left their service to reduce the risk.
1625  Other / Beginners & Help / Re: Can we choose our own seed words? on: August 04, 2023, 04:53:47 AM
You could technically create a customized word list containing an arbitrary number of words and then use the Electrum mnemonic algorithm to create your seed phrase using that particular word list. It should have the same security level since Electrum still creates a random entropy and encodes that using the custom word list.
Keep in mind that if your list is small (like 10 words), your mnemonic length would be massive since each word encodes a much smaller number of bits.
Also remember that you should also store the list alongside the mnemonic otherwise you won't be able to recover your keys.

cause even if we forget things like we usually do we don't forget the people we love.
FWIW mnemonic algorithm, despite what the name may sound like, is not created for memorization. Its main purpose is for you to be able to write it down (with pen and paper) with a very low chance of mistakes.
1626  Bitcoin / Bitcoin Technical Support / Re: Verify ownership of keys for paper wallet on: August 03, 2023, 04:40:05 AM
For educational purposes I have developed an app in java that generates  paper wallets. I have run it multiple times offline and I have tested it in Bitcoin's testnet.
Keep this educational and don't create any serious addresses using this. Most importantly is that you won't find bugs by just testing it a couple of times with random cases, there are a lot of edge cases that you may not know of and may not face in your "random tests" but can encounter in a real scenario.
Off the top of my head since you mentioned Java and are probably using the BigInteger class,is that you may forget the necessary padding for the public key and use a smaller than 32 byte x/y coordinate in the pubkey for your hash and end up with coins that can never be spent.

The best real life example I can think of that is similar to what I explained here is the bitcore-lib by Bitpay written in Javascript that had a similar bug with lack of padding. https://github.com/bitpay/bitcore-lib/issues/47

I would also say that generating a serious key (to send actual funds to) using your own code is not a good idea even if you verify the correctness of the key->address using a secondary tool. Because there can be other vulnerabilities in your code like your RNG being weak.
1627  Bitcoin / Electrum / Re: Automatic sending of payment to specific address on: August 03, 2023, 04:24:27 AM
Do keep an eye on your opsec tough... I would not recommend loading a wallet on a publicly accesible server while being funded with more than pocket change.
That's right but also "automatic payment" may mean fixed and predefined payments for example a fixed amount of bitcoin sent to a fixed address(es). In that case the transactions could be created by utilizing the transaction locktime and setting it to the date and time of the payment while each tx is in a chain meaning they each spend the output of the previous one.
This way each tx can not be broadcasted or mined before its time and the online system does not need to hold the key anymore.
1628  Bitcoin / Development & Technical Discussion / Re: How to create addresses with XPub on: August 03, 2023, 04:17:41 AM
No offense but if you have to ask something this basic, you can't call yourself a "developer" and you definitely should not attempt at creating something security critical unless you are just playing around in which case just visit github and search for a library written in PHP that supports BIP32.
Something like this search: https://github.com/search?q=bip32+language%3APHP&type=repositories&l=PHP
Then either use one of the ready to use tools or get the code from there to write a tool around that. But as I said if you don't know what you are doing, the result will not be secure.
1629  Bitcoin / Development & Technical Discussion / Re: can we send bitcoin to ip addresses? on: August 03, 2023, 04:07:49 AM
You do not need to try anything like that, P2PK was used before bitcoin address was created which was P2PKH, which means you will pay to public key hash which is bitcoin address, instead of paying to public key directly. There are now other address types that can be used for payment which is what you should better be using.
To be clear the option to pay to address (ie. P2PKH scripts and addresses) was not something to be added later. They were available from the first release that is version 0.1.0. The only reason why P2PK is seen in all early blocks is that the P2PK outputs were the default output type that the bitcoin core miner chose.
1630  Bitcoin / Project Development / Re: Try create Private Key Recovery on: August 02, 2023, 01:14:34 PM
Sorry, I'm a bit confused by your statement. please help by writing where should I add or even replace the code in my code above?  Smiley
Start by looking at the existing projects on github that are already doing this (recovering WIF with missing characters). You'll get a good idea.

As for what I meant, I'll give you an example.
Instead of using the line I mentioned above (key = Key(wif=test_wif)) you'd use these 4 lines and under the if branch instead of throwing an exception you'd just skip when the checksum is invalid. And in the else branch (you add) you perform the conversion to address and the rest of the checks.
1631  Bitcoin / Project Development / Re: Try create Private Key Recovery on: August 02, 2023, 05:02:06 AM
When you want to write a recovery code (ie. a computation heavy code needing to be heavily optimized) you shouldn't go through the simple route writing a "normal" code like what you'd write for a normal function that encodes/decodes Base58 keys. Instead you should find the bottlenecks in your code and try to go around them by finding alternative computation route that perform faster.

I'm not a python expert but for example in your code when you are replacing * with random chars and then convert it to a key in this line:
Code:
key = Key(wif=test_wif)
you are adding a big bottleneck that slows your code specially since you are throwing and catching an exception which adds additional computational cost.
Changing that code and doing the conversion from base58 in your own code would significantly improve your speed. Of course when optimizing you must always perform benchmarks on your code and the changes you make so that you don't make it slower. And you should add tests so that you don't introduce bugs.
1632  Economy / Economics / Re: Food security in the world has been shaken by Russia's actions on: August 01, 2023, 04:16:22 PM
You can keep your sarcasm to yourself. Although you probably already have a stomach ulcer from this level of sarcasm, but I don’t need it.
That's not sarcasm, that's the effects of being severely brainwashed. One of the side effects of it is seeing the world in complete black or white with nothing in between.
This is why over a year ago when Russia was cut from SWIFT these people claimed it is the "end of Russia", they even set a deadline of a couple of weeks and stuff like that. And whenever other people disagreed with their extreme views they could only interpret them as meaning the other end of the spectrum (as in "everything is fine without a single problem") because as I said they have lost the ability to think or see anything between totally black and totally white.
1633  Economy / Economics / Re: War: who benefits and how! on: August 01, 2023, 01:27:25 PM
In a war everything is a loss, except the country who sells weapons to the war participants were the benefitting one.
I wouldn't say the country that sells the weapons but instead the company that sells them. Take a look at US for example. As the biggest weapons seller in this war the arms manufacturers and the arms dealers are making tons of money but US itself is experiencing inflation and recession at the same time with the national debt growing by the trillions every couple of months as the government can not keep up with its massive expenses while the banks keep shutting down one at a time and people who can no longer pay their debt due to high interest rates and the inflation that eats through their income.
1634  Other / Beginners & Help / Re: alright someone please explain this on: August 01, 2023, 11:30:43 AM
Your definition of speed is wrong because you probably don't really understand what confirmation means and what its relationship with reversibility is.

A confirmation is when a transaction is included in a block. From that point as newer blocks are found, the confirmed transaction goes deeper into the chain or gets more confirmation.
What matters here is to find a number of confirmation where the chances of the confirmed transaction being reversed by performing an attack on the chain (eg. 51% attack on PoW chains and other forms on PoS) is nearly zero.
Depending on the algorithm, the hashrate, level of decentralization, security of the protocol itself (in simple terms being bug free), and the network state this number can be different.

For example for a centralized shitcoin with a weak protocol where mining is performed by centralized powers this number can be in the thousands. In fact if you look at the deposit page of most exchanges, they require very high number of confirmation for a lot of altcoins for this reason, although not all of their values are accurate or safe but it is a good practical example.
But for a decentralized cryptocurrency like bitcoin with a solid protocol and a well spread miners and a very big hashrate this number is the lowest.

In other words, as others also pointed out, for a centralized shitcoin like ETH having only one confirmation (even with the new flawed PoS algorithm) doesn't provide nearly enough security as one bitcoin confirmation provides.
1635  Economy / Speculation / Re: Bitcoin price guess, 2023 on: August 01, 2023, 11:14:32 AM
The global economy is still not stable enough to predict things and this month (August) we are going to have a major event with the BRICS currency possibly being revealed which could be another huge step in the dollar dumping process.

For bitcoin this is both good news and bad news in my opinion.
It is a bad news because in short term it could cause more recession ergo put additional sell pressure on the market that prevents the further rises for the time being.
But it is also good news since it continues pushing the dollar value down and as US prints more dollars to cover the enormous budget deficit  and the additional costs in the trillions, that dump helps shoot up the bitcoin price.
1636  Bitcoin / Bitcoin Discussion / Re: First Bitcoin ETF got approved in Europe? Really on: August 01, 2023, 05:43:07 AM
The thing is why this ETFs is so underrated then other. Because such news must have good impact on the market as well but it didn't. Well, i think due to the unavailability of the exchange maybe as according to news it was not live back then but now i think it's live. Made this topic to know more about it from you guyz.
Generally speaking ETF is in my opinion an over-hyped thing which doesn't have nearly as much an impact as some people have been saying it should have over the past 5-6 years. Specially since there have been a bunch of different ETFs in different countries around the globe without much impact.

Besides I'd go as far as saying ETF by definition is the exact opposite of what Bitcoin is made for. When you want to buy bitcoin, you should buy bitcoin directly instead of buying the garbage some investment company sells to you in the name of bitcoin as a middle man. After all Bitcoin was created to eliminate the middle man not add more of them.
1637  Bitcoin / Project Development / Re: Javascript Taproot Address Generator for Browser on: August 01, 2023, 05:32:52 AM
~
Hi,

I found this on internet:

To create a P2TR (Pay-to-Taproot) address for a single public key, you need to:

1º Check that the y-coordinate of your public key is even, if not, negate the public key. Taproot requires that the y coordinate of the public key is even.


What is the meaning of this?
In this example I gave you, Y was odd and it worked perfectly!

Can you help ? !
That does not matter for address generation because your x value does not change when negating a public key meaning P(x,y) = -P(x,y) = P(x,-y) and we only use the x coordinate in the address.
Even y coordinate is something you should check and take some extra steps when signing and verifying ECSDSA signatures.
1638  Bitcoin / Bitcoin Discussion / Re: Certified Bitcoin Professional on: July 31, 2023, 04:55:43 PM
My take on this one is that if you've got a lot of spare money and you want to get into this, it's just all about satisfaction and getting the certificate unless you want to apply for jobs related to Bitcoin and related to blockchain technology.
Two questions come to mind here. First is whether companies hiring "blockchain experts" require such certificates or care if you have one or not. Second is whether these hiring companies even recognize the issuer of such certificates!

I haven't really looked for the jobs in this industry but from what I've seen from startups and other small businesses in this field, the experts themselves create these small companies and then they hire regular programmers, etc. to help build the business.
Not to mention that when anybody hires employees, they look for experience not certificates. For example when they hire a programmer, they don't ask them who taught them c++. Instead they ask them how many lines of c++ they have written and what programs they've created, and stuff like that.
1639  Bitcoin / Development & Technical Discussion / Re: Proposal to Address Dormant Bitcoin:Recycling Lost Coins into the Mining Process on: July 31, 2023, 04:43:28 PM

And what would we do when we run out of such coins to "steal" and pay miners? It is a finite number after all.
In the year 2140 we start stealing the coins which have been not moved since January 2009.
In the year 2144 we start stealing the coins which have been not moved since February 2009.
...
In the year 8428 we start stealing the coins which have been not moved since January 2140.
...
The same problems apply here.
We can't decide what people should do in a hundred years from now when we aren't even around.
You also significantly decreased the incentive and also re-introduced a decreasing reward since the amount of coins "lost" or amount that hasn't moved in a long time is decreasing per year as price goes up and more people get in. That means after a couple of "periods" we could theoretically end up with a fraction of bitcoin as the total amount "lost", which is like halving all over again.

At some point as you keep increasing the complexity of this idea, it raises the question of why not just increase the supply in the year 2140?
1640  Other / Beginners & Help / Re: Hash Rate and Zeros on: July 31, 2023, 01:35:44 PM
Hashing is simply the process where by a numeric or alphanumeric string is assigned to a piece of data through a functional method that ensures the output values maintains the same number of bits in length.
Hash is computed from the data (not exactly assigned to it) and one of the usage of computing a hash is ensuring integrity of the data which means not a single bit inside the data can change without the resulting hash also changing. In other words even if the bit length remains the same but the bits change, the hash changes too.

Quote
Must this hash value start with a specific number of zeros
A block header hash must be smaller than or equal to a globally enforced target (hash <= target).


Quote
miners use mining hardwares other than ASIC miners?
Mining is similar to a competition where each miner tries to find the hash faster than others, so they need the most efficient hardware to perform the most number of computations in the shortest time possible.
Otherwise the hash itself (and the whole process of mining) can be performed on any device, even the least efficient or ancient computer you can find that performs something like 1 hash per hour using one of those computers that were as big as a room!
Pages: « 1 ... 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 127 128 129 130 131 132 ... 1151 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!