Bitcoin Forum
June 30, 2024, 03:23:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 [307] 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 ... 1160 »
6121  Bitcoin / Development & Technical Discussion / Re: Bitcoin brainwallet implementation in Rust on: November 07, 2021, 03:48:00 AM
Assuming that is per second that's still a piss in the ocean.
In what world 165 quintillion hashes per second is considered "piss in the ocean"?

Quote
So I dont think brainwallets are under any serious threat.
Tell that to the million+ dollar worth of bitcoin that was stolen in total from brainwallets.
6122  Economy / Speculation / Re: Bitcoin run up is coming on: November 06, 2021, 09:52:22 AM
The banks or financial service providers are aware of the danger and they are afraid, but I don't think it's that high. Whether there is a panic there, in europe it will take longer. People have a lot of money in most european countries.
If by a lot of money you mean a huge liquidity, then you are right and everyone know it for a long time. The day the governments decided to print a ton of money out of thin air we knew that the economy is going to turn into shit. The crises that we see today are the product of those days.
The funny thing is that the financial crisis happened in some eastern countries in early days of Covid as they printed money too but it was small since it happened early. In Europe and US it seems to be hitting them harder as it was accumulated and postponed a lot.
6123  Economy / Services / Re: I'm Back, Mt.Gox Just Returned 22 BTC of Mine on: November 06, 2021, 09:06:54 AM
we all were a part of this forum
And yet you just signed up on this forum!

Quote
The reason for this thread is to shed some light on what’s currently going on with the Bitcoin ecosystem, the multiple branch-chain offsets of the original BTC and Satoshi’s whitepaper.
There is, as it has always been only one "branch" of bitcoin, its consensus rules, its blockchain and one whitepaper.

Quote
So if you are still an advocate for the digital currency we all wanted to be a success but no one really knew how we were going to get there, I want to ask if you were ever able to get your Bitcoins out of Mt.Gox after that Russian hack?
You wanted this "digital currency" to succeed and yet you stored it with a third party?!
6124  Bitcoin / Development & Technical Discussion / Re: Bitcoin brainwallet implementation in Rust on: November 06, 2021, 06:44:03 AM
Well I don't know if I could agree with that.It all depends on the passphrase. If the passhprase has enough entropy then it is just as secure as a bitcoin address you would generate by throwing dice.
Only a 128 bit entropy entered into a cryptography function can provide the same security as a randomly generated private key. Human beings are terrible at memorizing things in general and they are even worse when the length of what they have to memorize is too long.
In other words the whole idea for a brainwallet is moot if you are using such a big entropy.

Quote
But just for the sake of argument, to your way of thinking, how many hashes would make it become "safe"?
There is no easy answer to this. But for your information we are currently computing 165 exa double_SHA256 hashes in bitcoin mining. That is:
Code:
165,000,000,000,000,000,000
6125  Economy / Trading Discussion / Re: Coding a trading bot? on: November 06, 2021, 05:34:16 AM
Also if someone did this already, if you can share some tips/tricks from your own experience it will be much appreciated.
Don't just focus on one exchange and try to write a scalable code. I was screwed by this a long time ago when my code that was tightly coupled with a certain exchange became basically obsolete as that exchange shut down. Later on I tried rebuilding everything with scalability in mind but I abandoned the project due to being busy in life...
6126  Bitcoin / Bitcoin Discussion / Re: Taproot will follow segwit pump on: November 06, 2021, 05:06:14 AM
Taproot alone (or any upgrade for that matter) is not enough for a rise. We are seeing a lot of hype and that hype alone is not enough either. What makes it so that I speculate a big jump after activation is the timing. If you look at the price, we have been ready for the next leg up for some time now and $100k has been the next target. With the accumulation phase these days and the fact that bull market started a couple of months ago and is going strong, we can expect that a catalyst like Taproot activation could be the ignition the next big rise needs.
6127  Bitcoin / Wallet software / Re: Wallet Features That Are Missing but Essential on: November 06, 2021, 04:35:04 AM
After that I want the wallet to NOT be able to show me the recovery words.
There is no point in removing this feature from wallets.
Your wallet (assuming it is not watch-only) needs to be able to produce new keypairs anytime it needs to. In order to do that, the wallet requires the "master key" which is the "extended private key" usually starting with xprv. This master key is derived from your "recovery words" so not storing those words provides no security but storing them provides a useful option for users who may lose their physical backup and want to write down their words again.

Quote
I know some wallets have 2FA but it's useless if you could just bypass that by clicking on the view recovery words lol.
Technically nobody should ever have access to your device otherwise you have more serious things to worry about.
Additionally 2FA that only lets you enter the wallet and access the keys is not going to help either. If the wallet is encrypted it is already secure and if you want additional security you can use multi-signature schemes where more than one signer is needed to spend coins and keep each signer on a different device.
For example one wallet on your phone has 1 key and the other wallet on your PC has the another key making a 2of2 multi sig.

Quote
Basically, I am trying to have a wallet that has 2 users with 1 of the users being the admin essentially. User 1 (admin) creates the wallet and stores the recovery words offline or whatever. User 2 has access to the wallet but can only send crypto out with 2FA obtained from User 1. A pin won't work because then withdrawals can be done whenever User 2 wants, the withdrawal basically has to be agreed by both but User1 with more power per see.
Code:
OP_2 <user pubkey> <admin pubkey> OP_2 OP_CHECKMULTISIG
You can build this script and this type of wallet easily using Electrum.

User creates the transaction and signs it with their own key then sends it to the "admin" so that they can sign and broadcast it if they wanted to allow the coins to get to that destination.

This script could change to add more ability to the "admin" and let them spend coins without the user's permission by adding a condition:
Code:
OP_IF 
  OP_2 <user pubkey>
OP_ELSE
  OP_1 <admin pubkey>
OP_ENDIF
<admin pubkey> OP_2 OP_CHECKMULTISIG

The non-privileged user can have watch-only access by running a watch-only wallet. This user can see the balance and generate addresses to receive BTC on, but cannot spend, since such a wallet holds no private keys at all. For spending, the user creates a PSBT, which it then has to send to someone who does hold the private key and signs the transaction for them.
The flaw in this idea is the communication part. Now the "admin" has to have a way to trust the PSBT file they receive. For example if it is done over the internet then anybody can create a PSBT and ask for payment pretending to be the user.
6128  Bitcoin / Development & Technical Discussion / Re: Bitcoin brainwallet implementation in Rust on: November 06, 2021, 04:10:58 AM
Do you have a test case which creates this error?
No because as I said this is highly unlikely. You are basically looking for an input (seed variable) that could produce a SHA256 hash that is between N and 2256 and that range is very small in comparison to 1 to N range. We don't know any message that produces such a hash.

What you could do for this test is to split the "create_key_pair" method into two parts, one computes the hash and the other creates the key pair. Now you can feed any hash result you want to the second method like 2256 and see how it fails.
6129  Bitcoin / Development & Technical Discussion / Re: Bitcoin brainwallet implementation in Rust on: November 06, 2021, 03:48:13 AM
It goes without saying that brainwallets, specially those that perform a single SHA256 hash on a user given password, are not safe at all. Collection of 18.509 found and used Brainwallets.

I don't know how Rust works but if it "throws exceptions" you should get in the habit of handling them without letting your program crash. For example the following line may throw an exception if seed_bytes value is not in range defined by secp256k1 curve. Even though this particular case is very unlikely but it is a good habit to have "error handling" in your code.
Code:
let secret_key = SecretKey::parse(&seed_bytes).unwrap();
6130  Bitcoin / Development & Technical Discussion / Re: How faster transactions can be implemented on: November 05, 2021, 08:57:52 AM
My post was probably not clear enough. These people complaining about a high orphan (=stale block) rate were miners talking about their own stale block rate (=number of blocks they found, but were discarded by the "longest chain", versus the total number of blocks they found).

I for myself can only imagine that their connections weren't ideal. Maybe they also had simply bad luck and their "sample" was too small (if they were low-hashrate miners and do not find that many blocks at all). Maybe also the 6 seconds the reddit user mentioned was too optimistic in the LTC network (where afaik there are still many smaller miners and I don't know if they use Fibre or a similar protocol).
That makes more sense but only if these litecoin miners were actually solo miners running their own node instead of connecting to a mining pool (similar to bitcoin miners). I don't really follow LTC scene to know how things were back in 2016 but since LTC follows bitcoin in most things, pools might have been what everyone connected to, in which case the rate depends on the pool's connection quality not the miners.
6131  Economy / Exchanges / Re: Does gate.io ban any country ? on: November 05, 2021, 06:32:48 AM
I want to know if they accept users from all countries or do they have any ban country list. I want to specially know if Pakistan is in the allowed list ?
Page 7 of their user agreement (https://www.gate.io/docs/agreement.pdf) has a list of countries which they don't accept. I don't see Pakistan among them.
However, you should know that centralized exchanges can always change their rules overnight so you should always plan accordingly (don't store your cryptocurrencies there for longer than needed and use a balance that you are comfortable losing if something happened).

Quote
1.5 We reserve the right to make changes or modifications to the
Agreement, affiliated service terms, activities terms or announcement from
time to time, in our sole discretion without notice.
6132  Bitcoin / Bitcoin Discussion / Re: Bitcoin and the Power/Energy/Electricity Grid concerns & questions on: November 05, 2021, 06:15:13 AM
In USA ~
- Energy prices are getting more ~
- ~if the smart grid 2.0 detects and stops new bitcoin miners ~
- Energy/Power rationing is happening around the world now in many countries due to high energy rising costs ~
There are 195 countries in the world and only some like US are like this. Miners will always choose the best option available to them based on electricity cost, labor cost, regulations, taxes, climate, etc. When things get hard in a country, the hashrate located in that country drops while it increases elsewhere.

BTW the grid can only detect big mining farms that use a lot of electricity which is abnormal not all miners that are smaller and use far less electricity which is not so different from normal usage.

There are a lot of countries with super cheap electricity and price hasn't changed that much in the past couple of years either. For example the electric company where I live recently released the detailed price rates and for home users it is about 0.002 $/KWH (for big cities such as the capital with higher cost), there are cities with lower price of 0.00074 $/KWH.
The above values are for home users and there are certain conditions (such as overusing electricity) where the price rises but only slightly. The last electric bill I paid was about 30 cents (google tells me the average electric bill in US in 2019 was $115 per month LOL).
The price for certain industries are even lower, for example the rate for agriculture field is as low as about 0.0005 $/KWH.
Unfortunately the document didn't mention the rate they are giving bitcoin miners (the big farms) but it is in the same range and shouldn't be higher than 1 cent/KWH.
6133  Bitcoin / Bitcoin Discussion / Re: Bitcoin's Fungibility Issue on: November 05, 2021, 05:30:26 AM
Actually, that fact is what defines fungibility. If some people don't want your currency while they're supposed to accept it, then it faces fungibility issues. When a government forces the exchanges to trace transactions that are connected with illicit activity and to deny the acceptance of those bitcoins, then they've essentially lost value, because compared with the rest, they aren't demanded from the X exchange.
My argument is that what a certain centralized entities do, does not define the attributes of that object.

Let me give you another example. Where I live we had a big inflation about 2.5 years ago and during that time many people started exchanging their cash for USD, some time later they sold it. One problem some people faced was that some exchanges didn't accept dollar bills that had an old date.
So with OP's logic we should claim that US dollar (cash) is not fungible which makes no sense! Not to mention that they could dump their USD elsewhere that didn't have that dumb rule.

If you go to a grocery store you can pay with any "coins" you have in your wallet regardless of its "imaginary taint".
If I lend you 1BTC you don't have to pay me the same coins, you can use a different set of UTXOs to pay the 1BTC back.
If you have 1BTC it can be split into the same smaller denomination as any other 1BTC
That means BTC is fungible.

Now if you go to a centralized exchange and deposit some coins that exchange can suddenly decide that it doesn't want to give any services to your country and block your account and money (see it had nothing to do with "taint", etc.) but that doesn't change anything about fungibility of bitcoin.
6134  Other / Beginners & Help / Re: Electrum vs. Metamask on: November 05, 2021, 04:59:10 AM
And despite the fact that the price of Wrapped Bitcoin is tied to the cost of the original BTC, it is still different.
To be clear there is no connection whatsoever between price of bitcoin and price of any other centralized shitcoin such as WBTC. There is only a promise given to users by the centralized owner that they would swap it with a 1:1 ratio but that promise can be broken any time.
6135  Economy / Speculation / Re: Tesla accepting Bitcoin payments and ..... Doge ? on: November 05, 2021, 04:49:55 AM
Step-by-step guide to make a shitton of money from the shitcoin market:
Step 1: be popular or semi-popular with a large number of brainless followers on social media.
Step 2: choose a random low value, low volume shitcoin that can get good pumps.
Step 3: buy as much of that shitcoin as you can over a long period of time in order not to change its price or let anyone know.
Step 4: start advertising the crap out of that shitcoin to those brainless followers so that they end up buying that shitcoin
Step 5: dump and make a huge profit

Congratulations you are now a scammer and in many jurisdictions you are considered a criminal for market manipulation.
/s
6136  Bitcoin / Development & Technical Discussion / Re: How faster transactions can be implemented on: November 05, 2021, 03:53:30 AM
Some people in the thread however complain about LTC orphan rates of around 10%, but they may have bad network connections.
Orphan rate (or I believe you mean stale block rate) is a universal thing that depends on miners not something that individual nodes would experience based on their connectivity. If a shorter chain is created then all nodes would technically find out about it, a node with bad connection finds it later.
6137  Bitcoin / Bitcoin Technical Support / Re: how to get the bitcoin address from base6 using java? on: November 04, 2021, 02:45:15 PM
it's a little different. I am trying to do it myself in JAVA
JS is another language, unfortunately I don't know it at all (
I'm not familiar with either language but they look pretty similar to me. There is a "BigInteger" class in both that supports constructing from a string while setting the base of that input. You just construct it using new BigInteger(input, 6) where input is the string (like "113125215") then convert that bigint instance to any other format like byte array then encode with Base58.

Base-6 encoding is pretty straight forward too: https://en.wikipedia.org/wiki/Senary
6138  Bitcoin / Bitcoin Technical Support / Re: how to get the bitcoin address from base6 using java? on: November 04, 2021, 01:57:29 PM
Go to https://github.com/pointbiz/bitaddress.org and clone the repository (it is written in JavaScript).
On a preferably air-gap computer run the bitaddress.org.html file.
Click on the tab saying "Wallet Details" and enter the base6 string in the first text box.
Click "View Details" button.

You will see both compressed and uncompressed private/public keys and the corresponding P2PKH addresses in this page.
6139  Bitcoin / Bitcoin Discussion / Re: No, China is not planning on unbanning bitcoin mining on: November 04, 2021, 07:23:47 AM
As for the collapsing economy where? Unless it's from dailymail there is no collapsing anywhere,
Well I don't read dailymail. There are a couple of factories and suppliers that shut down. There are multiple industries that have warned that they cannot remain open for much longer specially if gas prices go any higher. The food prices are soaring, and a lot more. These are all signs of collapsing (not collapsed) economy.

Quote
and the energy crisis is not limited to the UK alone, China is rationalizing power and it had nothing to do with Brexit,  food prices have gone through the roof from India to Nigeria and it wasn't caused by the troubles in the UK. Besides the UK imports only 11% of its oil needs, one of the lowest percentages in the EU, they are better prepared for an energy crisis than the rest of Europe.
True, I never said the problems are only in UK.
As for food price elsewhere it is because of inflation that happens everywhere specially with COVID and the stupid money printing policies that all governments seem to have. But in UK all of it is being intensified by this recent energy crisis.
6140  Bitcoin / Bitcoin Discussion / Re: What's so “convincing” about Craig Wright? on: November 04, 2021, 06:41:15 AM
~ there's a ton of BSV supporters.~
~ Seriously, just search for “Craig Wright” in Twitter.~
Are they really "supporters" or believers in CSW lies just because they are talking about him? Have you ever looked through social media about other shitcoins from the biggest ones like ETH, XRP, DASH,... to smallest shittokens? There is a lot of posts about them too.

I'd argue that they aren't exactly "supporting CSW" or "believing" him, they are just pursuing their own interests which is their investment in a "bet" that they hope to get pumped so they can make money. They know very well that smaller shitcoins will get biggest pumps and if their advertisement works they can make a good amount of money.
99% of those who are advertising shitcoins don't even run the full node or even own an actual wallet of that shitcoin. They store it on exchanges! Why? Because they don't trust the software that shitcoin developers produce and also they want to be able to dump it immediately when the pump comes.
Pages: « 1 ... 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 [307] 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 ... 1160 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!