Bitcoin Forum
July 01, 2024, 12:18:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 [397] 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 ... 464 »
7921  Bitcoin / Development & Technical Discussion / Re: How calacul K publickey on: January 16, 2021, 11:23:05 AM
Your private key is not a valid point. A point is supposed to start with "02" or "03" but yours starts with "e3".
Wait. Why should a private key start with "02" or "03"? A public key start with these prefixes to define if y is odd or even.
A private key is any number between 1 and 2256 - 232 - 29 - 28 - 27 - 26 - 24 - 1. No?
7922  Bitcoin / Development & Technical Discussion / Re: How calacul K publickey on: January 16, 2021, 10:20:52 AM
sha256 privatekey : e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
You just need a 256-bit value here. Not a SHA256 result. But, yes, you can get a sha256 hash result and enter it as private key, they're both 256-bit.

04a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0f a8722476c7709c02559e3aa73aa03918ba2d492eea75abea235= e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 * 0479BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798483ADA7726A3C 4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8
Why are you multiplying the public key with the private key? You should multiply private key with G to get your public key:

E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 * g = 04A34B99F22C790C4E36B2B3C2C35A36DB06226E41C692FC82B8B56AC1C540C5BD5B8DEC5235A0F A8722476C7709C02559E3AA73AA03918BA2D492EEA75ABEA235

See this link: https://gobittest.appspot.com/Address
7923  Bitcoin / Bitcoin Discussion / Re: Bitcoin scammers have a hard time with grammar on: January 16, 2021, 10:13:39 AM
Yes, most of the scammers do have bad grammar, because most of them have low level of intelligence and self-confidence. Whoever has been a scam victim, should know how easy it is to avoid them. I also observe their abuse of emojis. On the other hand, we have the smart scammers, who fraud the people indirectly or even directly. An example of them is a person that will make a ponzi scheme coin.

Another better example is that guy:

7924  Bitcoin / Bitcoin Discussion / Re: May 7th, 2140 on: January 14, 2021, 07:08:01 PM
main part of such a big rise is not about bitcoin itself rising up in value but it is all about dollar losing its value due to its inflation. consequently you have to pay more dollar to buy bitcoin similar to buying anything else with dollar.
Yes, but that number seems to be too far away. The day that bitcoin will reach 50M dollars must be before the day that companies will have computers strong enough to brute force an address with success. Even if it's mostly unlikely to happen in the distant future, human is dangerously smart creature. If that day never comes, then bitcoin can easily reach 50M by 2140.
7925  Bitcoin / Bitcoin Discussion / Re: May 7th, 2140 on: January 14, 2021, 04:19:12 PM
Last BTC will be mined on May 7th, 2140
Says who? Satoshi Nakamoto? No one knows when the last bitcoin will be mined. If we assume that bitcoin will be used just like today on the year 2140, then it is calculated that one month around that year the 34th halving will occur. No one, obviously know when exactly. I don't know how you assumed that it will be exactly on May 7th.

I imagine 1 BTC might value then 50-100 Millions a coin, looking at the USD inflation rate.
Nah, I don't believe that bitcoin will ever reach that much. Maybe some millions, but this is a madness.

You might say that's too far away, but 1M a coin is something you can see in your lifetime.
True.
7926  Bitcoin / Project Development / Re: [Open Source] Booknemonic - Convenience on digital signatures and encryption on: January 14, 2021, 11:35:47 AM
Major update:

I added option for file encryption/decryption with ECC. This is how it works:
  • Program converts the bytes of the file to base64 (plus the filename).
  • It compresses the base64 encoded string.
  • It encrypts the compressed string with ECDSA and saves it on a file with .encrypted extension. (of the same directory)

Unfortunately, asymmetric encryption isn't recommended for large amounts of data, because of the memory limit. Furthermore, it increases the size of the file. For example, it turns a 20MB video to 35MB. Decryption of course restores the previous size, but that's not the point.

Screenshot:

7927  Bitcoin / Project Development / Re: Bulltardia, A bitcoin fable on: January 14, 2021, 08:14:39 AM
If you have a programming prowess, you can make an automated brute force to find the missing digits. If it were the case, I think that it will definitely taken in a matter of hours. Also, in my opinion giving away hints is a pretty bad thing for the dude because that will make the hunt less thrilling, maybe if OP stopped giving hints, OP might create a community surrounding the puzzles that OP created.
Well at first, when I saw that he is selling the hints, I thought it was scam. Later though, I saw his brilliant art and the podcasts, so I stopped believing that. He explained me that he wants to earn the money that lost by selling the hints. Although, selling the first key for BTC0.01, is not a great move IMO. It isn't that difficult to find the first. I would personally give those satoshis for revealing the 7th or the 12th key. Brute forcing with 1 word takes couple of seconds.
7928  Bitcoin / Project Development / Re: Bulltardia, A bitcoin fable on: January 14, 2021, 07:15:52 AM
I have looked into it, I might not be able to solve it but mulling over it can be easy.
I've dealt with it and after hours of rereading the comic, I can say that it's too difficult. Maybe it's because the 8th episode hasn't been released yet. The fact that it doesn't give you 2 out of 12 hints makes you brute force the 2 missing words. And that's just the start, look what other difficulties you'll find:

  • Not knowing if it was generated with BIP39 or with electrum. (which doubles the brute forcing effort)
  • Ambiguity. For example, look on the 10th key. It says "it has to do with personal care". If you search the wordlist you'll find tons of personal care related words. Although, Dim Zayan states that every word is related with the comic and it's not randomly chosen.
  • Not understanding it. The second, which is IMO the hardest one, says something that requires too much research. I'm not sure if I've found the correct one, but I'll have to brute force hoping that that's the one.
  • Persistence and patience. Brute forcing one mnemonic with 2 missing words on BIP39 may take you hours to finish. If you have 2-3 words that you're not entirely sure, then you'll have to try too many times.

Generally, in order to find those 10 million satoshis you need to spend hours on ensuring that your answers are correct and additional hours for brute forcing all the possible combinations, not only for the 2 missing words, but for the words of the known hints that are likely to have more than a word as an answer. Furthermore, you don't know the derivation path of the address, which could make the entire work useless.

I believe that if Dim gives the 7th or the 12th hint, the money will be taken within an hour.
7929  Bitcoin / Bitcoin Discussion / Re: Bitcoin VS Gold - What is better for long term investors? on: January 14, 2021, 06:37:02 AM
Well they're not similar to compare. Bitcoin is a wildly fluctuating asset, that is most likely to have a bright future, and gold is a metal that is known for keeping your savings' value. If we compare them as a long term investment, I don't need to point what's a better choice. Although, if the person wants just to store his value, then he would go with gold. But this is what the majority would do.

I would personally go with bitcoin, whether I want a long term investment or to store value.
7930  Bitcoin / Bitcoin Discussion / Re: A Bangladeshi Bitcoin Scammer got arrested on: January 14, 2021, 06:27:19 AM
Great, only 7,254,643 scammers have left now. I'm happy to hear that a big brain was caught, though. I wonder how the victims felt when they read this. I've used to the classic "bitcoin reputation" thing so it wouldn't surprise me if new articles introduced bitcoin as a currency for the criminals.

It's also quite confusing as the article is calling his wallets/addresses as "accounts" lol.
I guess they refer to the bank account. As far as I know, you can't transfer dollars to the blockchain, so the author must have been really clear.  Tongue
7931  Bitcoin / Project Development / Re: Bulltardia, A bitcoin fable on: January 13, 2021, 01:04:39 PM
Regarding the treasure, can you make it harder
Believe me, it's already too hard.
7932  Economy / Speculation / Re: Bitcoin will reach 100K! OK and then? on: January 13, 2021, 11:46:27 AM
Many predicts bitcoin will reach 100K, 160K even 200K and more. but no one say what happen then? what happen when reach for example 100K? will be stable
Well in my opinion, once bitcoin reaches $100k, it will be highly volatile. I predict a really bad crash, which requires strong nerves. I may not know the chart, but I can ensure you that it will never be a stable coin. Its fate says so, not me!

fall to zero
That is more unlikely than XRP reaching $100.
7933  Alternate cryptocurrencies / Altcoin Discussion / How to create your own altcoin (v0.20.1) on: January 13, 2021, 11:31:45 AM
Even if I am not in favor of the altcoins' philosophy and I put bitcoin above all, I believe that everyone has the right to create their own cryptocurrency since the code is open source. I personally found difficulties on my way to achieve this. I created tons of threads, but fortunately I made it.

Whoever wants to keep reading and hasn't tried to do this in the past, he'll need Windows 10 and patience. If he doesn't have these two, he can not make altcoin, at least in the way I will describe. The final result will run on windows only. Note that it isn't difficult to run it on linux, but there are just extra steps, which aren't considered needed for a beginner.

First we need to install an Ubuntu terminal to make our lives easier, so you will go to the windows store and download Ubuntu 18.04:


(Once you open it enter a username and a password)

Now I will follow the steps of build-windows.md from github to install some dependencies.

Copy each line below and run it in the terminal:
Code:
sudo apt update
sudo apt upgrade
sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git

This may take some time. Then you will clone the source code of the bitcoin core from github. Right after the "bitcoin.git" is the name of the folder that will be created and the name of the cryptocurrency that we will create. In this guide I will use the classic example "altcoin". If you decide to use another name, be sure to change it in every other part of this tutorial.

Code:
git clone https://github.com/bitcoin/bitcoin.git altcoin

Once it's done, you'll need to find the bitcoin core files. They will probably be at:
Code:
C:\Users\<WindowsUsername>\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\<UbuntuUsername>

In the "altcoin" folder the files will look like this:


At the moment we can build them, the problem is that we will make a copy of the bitcoin core that will follow the bitcoin blockchain, something we obviously don't want. We want our own blockchain. The first thing we need to cover is to replace where the word "bitcoin" is with "altcoin". (it is not necessary, but it won't confuse us)

Run these lines:
Code:
cd altcoin
find . -type f -print0 | xargs -0 sed -i 's/bitcoin/altcoin/g'
find . -type f -print0 | xargs -0 sed -i 's/Bitcoin/Altcoin/g'
find . -type f -print0 | xargs -0 sed -i 's/BTC/ATC/g'
find . -type f -print0 | xargs -0 sed -i 's/BITCOIN/ALTCOIN/g'
find . -type f -print0 | xargs -0 sed -i 's/BitCoin/AltCoin/g'
(It will take some time)

Now that we replaced everything with our cryptocurrency's title, we can't stop. We'll have to rename the files' titles too. Otherwise, it will try to find files that don't exist like "altcoind.cpp". In order to change all titles run these lines:
Code:
cd ..
find altcoin -type d -exec chmod 755 {} \;
cd altcoin
find -iname \*.* | rename -v "s/bitcoin/altcoin/g"


Changes in code

We need to differentiate our blockchain from bitcoin's. Let's start by changing the ports. Go to your files from windows explorer and click on the "src" folder.

In chainparamsbase.cpp change the nRPCPort to whatever you want. I suggest to just change the eight e.g.
Code:
if (chain == CBaseChainParams::MAIN) {
        return MakeUnique<CBaseChainParams>("", 2332, 2334);
    } else if (chain == CBaseChainParams::TESTNET) {
        return MakeUnique<CBaseChainParams>("testnet3", 12332, 12334);
    } else if (chain == CBaseChainParams::SIGNET) {
        return MakeUnique<CBaseChainParams>("signet", 32332, 32334);
    } else if (chain == CBaseChainParams::REGTEST) {
        return MakeUnique<CBaseChainParams>("regtest", 12443, 12445);
    }

Do the same for the nDefaultPort of chainparams.cpp:
Code:
nDefaultPort = 2333;

Now we will choose a different signature message in pchMessageStart of chainparams.cpp. This is a very important step, if it is not changed and you connect to a bitcoin node it will consider the bitcoin blockchain as the correct one. Do it like this:
Code:
pchMessageStart[0] = 0xf0;
pchMessageStart[1] = 0xb0;
pchMessageStart[2] = 0xb0;
pchMessageStart[3] = 0xd0;

Optional, but you can change the address prefix too. (1, 3, bc1)
Link of all prefixes: https://en.bitcoin.it/wiki/List_of_address_prefixes
In the base58Prefixes of chainparams.cpp I will show an example of the "X" prefix:
Code:
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,75);

Also optional, you can change the block reward of your currency. In bitcoin it starts with BTC50 per block.
GetBlockSubsidy at validation.cpp:
Code:
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
{
    int halvings = nHeight / consensusParams.nSubsidyHalvingInterval;
    // Force block reward to zero when right shift is undefined.
    if (halvings >= 64)
        return 0;

    CAmount nSubsidy = 50 * COIN;
    // Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
    nSubsidy >>= halvings;
    return nSubsidy;
}

I leave it at 50.

We have to set the difficulty equal with 1, since you will be the only miner at the beginning. At chainparams.cpp change nMinimumChainWork:

Code:
consensus.nMinimumChainWork = uint256S("0x0000000000000000000000000000000000000000000000000000000100010001");

In chainparams.cpp there are some lines that include IP addresses. They're written so you can automatically connect a node(s) once you open Bitcoin Core for the first time (without adding a node with the addnode "xxx.xxx.xx.xx" add ). So wherever you find a line that starts with vSeeds.emplace_back delete it. Also, lines that start with vFixedSeeds must be replaced with:
Code:
vFixedSeeds.clear();

There shouldn't be any vFixedSeeds that do something else.

In chainparams.cpp, we need to change checkpointData to:
Code:
checkpointData = {
            {
                { 0, uint256S("0x0")}
            }
        };

In this tutorial I will not explain how to make our own genesis block, because we want to achieve something simple. Anyone who takes it more seriously can search and learn how it is done. Thus, we need to change the value of nMaxTipAge in validation.cpp:

Multiply it with a big number like 10000.
Code:
int64_t nMaxTipAge = DEFAULT_MAX_TIP_AGE * 10000;

In consensus/consensus.h we need to change COINBASE_MATURITY which means how "deep" a block must be for the miner to spend its reward. In bitcoin it is 100, that is, someone who will mine 1 block must wait 100 blocks to spend its coins. We can give it any value, I will put it equal with 3:

Code:
static const int COINBASE_MATURITY = 3;

Finally, we need to change these two lines of chainparams.cpp:
Code:
m_assumed_blockchain_size = 1;
m_assumed_chain_state_size = 1;
(They are related with the block height in order for nodes to share information)

Most notepads change permissions when we mess with LTS. That's why you must run the following lines:
Code:
cd src
sudo chmod 640 validation.cpp
sudo chmod 640 chainparams.cpp
sudo chmod 640 chainparamsbase.cpp
cd consensus
sudo chmod 640 consensus.h
cd ..
cd ..


Building.

Before we get started we need to install the mingw-w64 cross-compilation tool chain:
Code:
sudo apt install g++-mingw-w64-x86-64

When it is finished, we build with the following commands:
Code:
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g')
sudo bash -c "echo 0 > /proc/sys/fs/binfmt_misc/status"
cd depends
make HOST=x86_64-w64-mingw32
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
make
(It may take more than an hour)

The files to open the new Altcoin Core are in altcoin/src/qt:


You can start mining by clicking window -> console -> generatetoaddress 1 <address_here> <maxtries>. On <maxtries> enter something like 1000000000, otherwise you'll most unlikely be able to mine a block. The bitcoin core images can be changed if we had replaced them at the beginning and then went to building.



That was it, now you have created your own coin, but more importantly, your own blockchain. It is worth mentioning that this is for educational purposes only. You obviously can't expect to be the new Satoshi Nakamoto, neither that your coins will have value.

And that's because: There is only one Bitcoin.
7934  Bitcoin / Bitcoin Discussion / Re: 1 BTC = 1 BTC - Off topic from Chipmixer campaign topic on: January 13, 2021, 07:00:54 AM
I think the main issue that raises this discussion is that people still don't consider bitcoin a currency and also because bitcoin price is rising A LOT over the long time. If the rise were small and if they thought of it as a currency this discussion would have never taken place in first place.
Whether you consider it a currency or not, when its value gets doubled within a week, you can't really state that. I hate to say that but since most of the people see it as an investment, it is mostly an investment.

If you think about it, you will never hear anyone make the same arguments about fiat even though $1 (2008) =/= $1 (2021) since it has lost a lot of its value due to inflation. But since USD is considered a currency and the inflation rate is not huge and even if it were (like some other fiat currencies) it is something we are used to after decades of inflation.
The inflation rate is huge, but that's not the problem. The problem with inflation comes when you want to save money. Making day-to-day transactions with the dollar isn't bad, because you're living the rates.

Inflation doesn't hurt the currency short-term. It hurts it long-term, that's why none saves on the dollar. But as I explained above, if most people were seeing dollar as an investment, it wouldn't be a currency at all.
7935  Economy / Scam Accusations / Re: [Scam]: Stellar phishing site on: January 12, 2021, 04:03:14 PM
Don't download anything from this site because a virus has been planted in it, this site was only created 9 days ago.
Did I cut it up? I hit cancel, I hope I'm clean.
7936  Bitcoin / Bitcoin Discussion / Re: 1 BTC = 1 BTC - Off topic from Chipmixer campaign topic on: January 12, 2021, 03:46:18 PM
I firstly read the title and thought that you'd try to stand up for the opposite. Thankfully, I read your post and it was exactly what I wanted to say. Bitcoins are not always equally evaluated over time! For the same reason why the dollar is not equally evaluated with the dollar back in 1930. It had much more value back then, because of the basic ecomonic rules. (Demand and supply)

1 BTC in 2010 is not 1 BTC in 2020 in terms of value. Back in 2010 you could buy two pizzas with 10000 bitcoins, today you can buy some millions of pizzas. This over-enthusiastic question of the bitcoin geeks has to stop. One bitcoin is one bitcoin, only as units.

I mentioned the bitcoin geeks, because it seems that on this forum some ranks like VIP still have the same price just like 10 years ago, which is caused by their faulty philosophy.
7937  Bitcoin / Project Development / Re: [C#][Github] SharpPusher, broadcast BTC, BCC(BCH) transactions to the network on: January 12, 2021, 11:15:15 AM
This ShartPusher can be really helpful if you combine it with the transaction tool. The user will sign the transaction within the program and then he'll broadcast it to the network without any wallet.

  • [ ] Add ability to push transactions to network directly through nodes not third parties.
How can this be done? Will you have a list of nodes saved on a drop down? Also, what are the steps of broadcasting a transaction to the bitcoin network? I never found out, but I now want to. Do you firstly create a handshake with a node, send information and then it repeats with the rest of the nodes?
7938  Economy / Scam Accusations / Re: [Scam]: Stellar phishing site on: January 12, 2021, 08:28:55 AM
Once you click Get Started it downloads you this:



I have no idea what it is, but it's mostly a malware/virus. So, be aware! I hope I caught it up, when I clicked "close".
7939  Bitcoin / Bitcoin Discussion / Re: A big start in 2021 on: January 12, 2021, 07:39:04 AM
Imagine knowing that you have 127 bitcoins that cannot be recovered. Torture.  Tongue
2020 is gone for good for that guy.

I would be honest, I would say that he is a very lucky person that he was able to recover his bitcoins. I wish all the others who have old wallets be able to recover them and be able to get money out of it. As for me I just continue with my trading and was able to get good profits as well, whether bitcoin is very high or very low all that matters is that we get more than we invest in trade. And good luck again to all of us starting this year.
If someone finds so many bitcoins, then it slightly affects the market. You shouldn't be happy if someone finds lost bitcoins. Imagine if something like that was true. There would be dips coming...

This seems like a stupid move to me! How much money does one need anyways? Why not just cash out $1 million and enjoy life while keeping the rest.
True, one million dollars are fine by me! I would keep the rest bitcoins for x,y reasons. Having 90-100 bitcoins in 2040-2050 may be so huge wealth.
7940  Bitcoin / Bitcoin Discussion / Re: Tor onion is/was under attack on: January 11, 2021, 08:24:37 PM
Isn't tor decentralized? Why do they announce such thing on twitter?
Pages: « 1 ... 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 [397] 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 ... 464 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!