Bitcoin Forum
June 16, 2024, 09:03:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 1156 »
2141  Bitcoin / Bitcoin Discussion / Re: ChatGPT showing signed bitcoin transaction if it was XML markup code on: April 20, 2023, 10:49:27 AM
What's so special about this?!

This is basically taking a JSON string which is literary the most common way that block explorers serialize transactions when their API call is used [1] and converts it to a XML representation which is a very straight forward and basic operation [2]. So for example instead of using ""version":1," it is using "<version>1</version>".

There was no need for "AI" here. There may even be some block explorer API out there that directly returns an XML serialization of the transactions without needing to do any kind of conversion!

[1] https://api.blockchair.com/bitcoin/raw/transaction/f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16
[2] https://www.google.com/search?q=convert+json+to+xml

Show how a signed bitcoin transaction would look like if all its structured data was using XML to be structured
Keep in mind that XML and JSON and other similar formats are not the way you "structure" a data, they are all text-based formats for representing data (ie. human readable format).
2142  Bitcoin / Bitcoin Discussion / Re: Would the advancement in AI have any adverse effects on cryptocurrency? on: April 20, 2023, 10:39:11 AM
Just like "quantum computing" the "Artificial Intelligence" is also not a magical word that can solve anything. These technologies have their limits and purposes, they can not revolutionize every other technology overnight.
2143  Bitcoin / Wallet software / Re: Coinomi wallet hacked, all funds stolen on: April 20, 2023, 05:36:31 AM
The best bet for the Newbies is to use a centralized exchange and / or centralized wallet which is controlled by the password and 2fa.
People should never sacrifice security for convenience even newbies. The centralized exchanges and in general all custodian accounts are very risky to use regardless of how convenient they may look like. There are countless cases of exchanges being hacked, accounts being shut down for no reason, exchanges scamming their users and running away, etc. No amount of password and 2FA can save you from it.
2144  Bitcoin / Development & Technical Discussion / Re: Bitcoin Improvement Proposal on: April 20, 2023, 04:18:45 AM
I can not only choose the (1)amount and (2)address to where the transaction goes, but also the (3)time of execution. And that I am able to (4)cancel that transaction.
As it was mentioned you can use OP_CLV for #3 but the other three are not possible in the existing protocol. However you can use workarounds to do something similar by using a more complicated smart contract through OP_IF + OP_CHECK(MULT)ISIG.
Basically you combine your own key with the receiver's key in different branches of the OP_IF that way you can use the other branch to "cancel" the transaction (#4) by spending the outputs to your own address while at the same other the other party can use the other branch to spend the same output to their own address (#2).

Quote
If not possible, then maybe on the Lightning Blockchain.
LN is a network and has no blockchain.

Quote
I make a transaction of 1 BTC on 1st of July 2024 to the address of my daughter.
If I am still alive end of June 2024, I just cancel the transaction of July 2024 and make a new one for 1st of July 2029 or another date.
Code:
OP_IF
  <your pubkey> OP_CHECKSIG
OP_ELSE
  <1st of July 2024> OP_CHECKLOCKTIMEVERIFY OP_DROP <your daughter pubkey> OP_CHECKSIG
OP_ENDIF

This would be your redeem script. You hash this and use it to encode an address. Then send the coins to that address. At any time (before or after July 1, 2024) you can spend these coins and send them to a new address. After July 1, 2024 your daughter will also be able to spend these coins assuming they haven't been spent by you first.


That is about fee sniping which you shouldn't be concerned about. It is a theoretical attack which is basically like miners competing over transactions with very high fee. It is also unrelated to OP_CLV.
You can read more about it here: https://en.bitcoin.it/wiki/Fee_sniping
2145  Bitcoin / Development & Technical Discussion / Re: How to find the adjacent public key? on: April 20, 2023, 03:53:31 AM
Each public key on an elliptic curve is a point that is the result of multiplication of k and G (the generator point) and multiplication can be defined as how many times you add G to itself. In other words k*G is adding G to itself k times and (k+1)*G is adding G to itself (k+1) times or if you already have added G to itself k times (the result of k*G) you just have to add one more G to it.

To put simply if you want to find the "adjacent" public key you just compute public key + G!

It is a pointless thing to do though. It is like telling you to give them a random number so that they can tell you the adjacent numbers, you say 564132127 and they tell you the next number is 564132128 Cheesy
2146  Economy / Economics / Re: Bans on crypto now looks like a joke on: April 18, 2023, 01:00:56 PM
Which country between these two would you rather see welcoming crypto and fully embracing Bitcoin? China? The United States?
Chinese government is looking for all possible ways to ban bitcoin but United States are looking for more ways to regulate exchanges and cryptocurrencies.
In other words they have both banned bitcoin in their own way. China with a regime that is more similar to the traditional definition of dictatorship while United States has a regime that is the modern definition of a dictatorship.

Quote
Immediately after the last ban, bitcoin mining hashrates when to zero.
You seriously need to look at hashrate charts before making weird claims like this. As a matter of fact the hashrate only dropped a little after the ban, then the price started crashing which led to more drop in hashrate, it was never significant though and definitely never down to zero! lol
2147  Bitcoin / Development & Technical Discussion / Re: What's happening to a new transaction that was created with the existing txid? on: April 18, 2023, 12:53:50 PM
I don't know the details about the various node implementations, but I would guess that, in general, transactions with duplicated txids would be rejected and not stored in the mempool and not forwarded to other nodes. There is no rule against keeping transactions with duplicated txids around for possible use later, but I don't know why any implementation would do that.
I don't think nodes check or update the UTXO set for transactions in their mempool which means the transaction with a duplicate txid should not be rejected from the mempool. They update the UTXO set after they receive the mined block and after verification by which time the tx and the block containing it would be rejected.
2148  Other / Beginners & Help / Re: I need to get to the bottom of this myself on: April 18, 2023, 06:15:35 AM
3 easy ways that anyone without any technical knowledge could use to quickly tell if a project is closed source are:

1. Having an actual source code
If a project claims to be open source it has to have a source hosted somewhere. That means you have to be able to see actual code. Usually there is either no source code to be found or something else the scammers do is to share binaries (eg .exe) on Github pretending to be open source.

2. How active the repository is
You can reject a lot of fake claims using this. For example a project claims to be open source and has real source code on Github too. This project released a new version (eg. on google playstore) today but the code on Github was updated a year ago. That is a clear indication that the project is not open source.

3. Dependencies
Although this is a bit technical I don't think it is that hard. Sometimes what scammers do to pretend their project is open source is to release part of the code (usually UI related code) and use a closed source backend that does everything else.
Usually the name of the repository, the explanations in the readme file or the dependencies in the dependency section of the project show you what part of the code you are looking at.


These are easy ways to figure out "closed" source software, but in order to be able to tell if a project that doesn't fit into the 3 above categories is open source (eg. Electrum) you have to be able to review the whole code which requires programming knowledge and time.
You'd have to also look into the external libraries the project is using and whether those libraries are open source and if the project is using the same binaries (built from that code not something else with the name).

It's a bit of a late response but I hope this answers your question since I didn't see anybody cover these.
2149  Bitcoin / Bitcoin Discussion / Re: BTC vs physical gold price potential on: April 18, 2023, 05:43:36 AM
Think of fiat as a unit of measurement, it is not perfect since it is inflationary but it is a lot better than using anything else.
When we report the price of anything in fiat, the point is to quickly understand how much something is worth. For example if I say something is worth 20 dollars, euros, yuans, rubles, rials,... everyone reading this would quickly understand what value I'm talking about but if I said something is worth 20 ounce of gold, most people won't know how much that is worth and have to do some conversion to really understand it.

Besides gold's value and price are both changing. It is not as fixed as you'd think.
2150  Bitcoin / Development & Technical Discussion / Re: What's happening to a new transaction that was created with the existing txid? on: April 18, 2023, 04:56:21 AM
this collision had actually happen to the Coinbase Transaction
That is not collision, that was creating the same exact coinbase transaction ergo having the same exact hash. That was easy to happen too in the past since block fees weren't full in 2012 and fees were sometimes zero so the amount field of the output were the same, if the miner were the same too and reused address the whole tx would have been the same.

BIP34 mandated blocks to include the height (which is different for each block) in the coinbase script which means even if the coinbase of 2 blocks are exactly the same in everything else, they will be different in at least one place ergo have guaranteed different hashes.
2151  Alternate cryptocurrencies / Speculation (Altcoins) / Re: Alt coins in the next century on: April 17, 2023, 01:29:13 PM
When we say "altcoins" we are talking about a massive world that consists of a lot of different projects (a couple of categories). So we have to be clear which category we are talking about.

The main category of altcoins are those that are usually referred to as "shitcoins". These are useless coins usually with severe flaws and exploits that are also usually centralized. In one word we can call them "useless".
These coins will continue to exist under all circumstances because the purpose they serve is for gamblers to make bets on their prices and participate in their pump and dumps to make a quick profit.
All tokens and token creation platforms are part of this category.

Another category of altcoins are those that tried a different approach, like using a different mining algorithm (eg. LTC). These coins had nice ideas but none of them could solve any real problem which means they can be considered "failed projects".
They will lose popularity over time and eventually die in the future. Again this is regardless of what happens to bitcoin.

A final category could be same as the one before but coins that had some innovation and could solve some actual problem hence gain some utility (eg. XMR). These coins will remain relevant and could even grow over time. But their future heavily depends on their competition, meaning if another project comes along with better innovation that solves the issues they had (eg. scaling problems of XMR) they would easily and quickly replace the said coins.
Bitcoin's mass adoption could make things harder for these coins.
2152  Bitcoin / Bitcoin Discussion / Re: It's NOT a good time to invest in BTC. on: April 17, 2023, 01:17:04 PM
High inflation has a positive effect on bitcoin price as it pushes people into investing their money and one of their investment targets is always bitcoin.
What affects bitcoin negatively is recession which is what pushes people into liquidating their assets so that they can "live"!

What we had over the past year (and still do) is a combination of inflation and recession which is what led to the initial crash. We still have high inflation and recession in a lot of the world including US, but what you are forgetting is that more increase in interest rates by the FED is not going to have any effects on reducing the inflation or causing any more recession than this.
In other words there is no reason to expect any kind of drop because of the ongoing recession in US specially since almost all of those who wanted to sell have already sold their bitcoins.

The only way we could see a big drop in bitcoin price is either a massive market manipulation or a massively negative and sudden economical event. Anything that is ongoing is not going to come at a shock and cause a drop like dollar value dumping, inflation remaining high, US banks shutting down, and so on.
2153  Economy / Economics / Re: The impact of Russian and Ukrain war on world economy on: April 17, 2023, 03:45:01 AM
First, the released secret documents from the United States were edited before publication.
CIA released a bunch of fake documents after the leak to try and create such doubts about the authenticity of those documents and also to spread their propaganda. In other words they did it to make the best out of a bad situation.

Quote
Thirdly, that the countries intend to gradually abandon the dollar, this information was born in China
That just proves that you have no idea what is going on in the world.
2154  Bitcoin / Development & Technical Discussion / Re: Bitcoin's system without the help of developers!!!! on: April 17, 2023, 03:24:04 AM
some major technical challenges that Bitcoin developers face when implementing new upgrades includes the fact that they ensure compatibility with existing hardware and software.
The hardware doesn't change that much and when it  does, it is backward compatible meaning a code that ran well on a hardware that existed in 2008 will run successfully on a hardware that exists in 2023. In fact there are very specific and rare cases where you'd have to test the code on different hardware to make sure it runs correctly, cases like handling endianness, using CPU intrinsic, etc. which again rarely need intervention. In fact if you check the bitcoin core code involving these things (eg. implementation of SHA256) you can see that the code doesn't really change with each release.
2155  Bitcoin / Bitcoin Discussion / Re: Why we want inflation for good value on BTC? on: April 16, 2023, 05:50:03 PM
The main reason for big rises will always be more adoption.

So when governments succeed in taking down the exchanges, nobody can buy BTC and adoption goes to 0.
I expect that this will happen when they have their CBDC's ready and they are terrified of any competition like BTC.

Is there any way to increase BTC adoption when the exchanges are all stopped by government?
There are about 200 countries in the world and no 2 governments see eye to eye on any subject. It is not possible for all of them to suddenly decide to take down all exchanges globally! Not to mention that each time a government does this, it is an excellent business opportunity for everyone else because all the money from that country that went into those exchanges would go abroad.

Additionally you don't have to use an exchange to acquire bitcoin. Bitcoin is a currency and like any other currency you can and should earn it.

Quote
This is the main reason why I never invested at 200 bucks.
Good for those who did then Wink
2156  Economy / Economics / Re: Russian Gas ban - A problem for Europe or suicide for Russia? on: April 16, 2023, 04:22:15 AM
I wrote my previous growth to show the difference in the scale and volume of military and military conflicts that are taking place in Ukraine and Palestine. Of course, human life is the same price in any country. But the scale of the genocide and atrocities that the Russians are now perpetrating against the Ukrainians is clearly unparalleled in any country.
That is not even comparable. Ukraine is under occupation for the second year while Palestine is under occupation for the 75th. The genocide in Palestine over this period is also not even close to any other genocide in human history.

When Ukraine map and its occupied regions started to look like this you can start comparing the two:
2157  Bitcoin / Development & Technical Discussion / Re: 0.1 BTC for python help! on: April 16, 2023, 03:05:34 AM
1 billion public key is a 130 GB text document, you just need a lot of RAM to load it all or split it into several txt documents
It depends on how you store it and how you use it.

For example it could be stored as binary (instead of hex in a text file) and in its compressed form. That is 33 byte per pubkey and a billion of them makes it a 33 GB file (65 GB for uncompressed).

As for usage of this data, you don't need to load it all in memory. You could use a database and/or sort the list in a way that would make it faster to search using methods such as binary search, etc.
2158  Bitcoin / Bitcoin Discussion / Re: Twitter plans to offer buying and selling of bitcoin and other cryptocurrencies on: April 15, 2023, 02:04:19 PM
Rumors are not always rumors, they are sometimes social experiments to see what people think. If they react positively to such a silly plan they could move ahead with it otherwise they could think twice, for example.

In this case I'd say this is absurd because there is no reason for a "social media" platform to become also a trading platform. Not to mention that the Twitter owner Musk, is known for his attempts at market manipulation and this may be another desperate attempt at gaining an influence on the altcoin market again.
2159  Bitcoin / Bitcoin Discussion / Re: Why we want inflation for good value on BTC? on: April 15, 2023, 07:05:13 AM
As the fiat money devalues in value. The value of BTC and other cryptos goes up.
The value remains the same, the price would go up and I'd argue that altcoins' price is not going to go up because of inflation since they work based on pump and dumps and most of them are only traded against bitcoin not even against fiat to be affected by fiat value.

Quote
So if the banks etc printing all fiat out of crazy numbers, then we should be in a guarantee of BTC going to over a million perhaps.
No it is not a guarantee. The main reason for big rises will always be more adoption.
Inflation will both directly and indirectly affect the price. Directly in the sense mentioned above (devaluation of fiat) and indirectly by pushing more people toward making an investment in bitcoin that doesn't suffer from the same flaws as fiat does.

Quote
Does that mean we should be embracing the printing of money?
No! Non-stop money printing ruins the economy of the country. Look at US.
2160  Economy / Economics / Re: The world continues dumping US dollar (Gold, New World Order, World War III) on: April 15, 2023, 06:54:19 AM
It will be like a Bitcoin HODLer that wants the network to fail.
It is more like bcash holders who know they are bag holding garbage and want to switch to something else while everyone tells them not to because everything is fine with bcash. Smiley
Pages: « 1 ... 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 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 ... 1156 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!