Bitcoin Forum
June 23, 2024, 02:32:27 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 [3] 4 »
41  Local / Polski / Re: Polish Hyde Park on: June 30, 2022, 07:18:14 PM
Quote
zgadza się, ale o czym dyskutować? jest cos nowego w BTC z technikaliów? co?
Choćby to: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-June/020532.html
Jeśli ten koleś serio to zrobi i mu się uda, to altcoiny pójdą w odstawkę. Do tej pory Paul Sztorc myślał, że aby na BTC wprowadzić sidechainy, to potrzeba soft-forka. Tutaj padła propozycja no-forka, czyli dodawania nowych funkcjonalności bez zmiany konsensusu, czyli tak, aby zgoda programistów Core nie była do niczego potrzebna, no-forki są potężnym pomysłem, jeśli będą prawidłowo wprowadzone, to zmieni wiele.

Quote
rozpocznij watek jak jesteś w temacie, chętnie poczytam, dowiem sie co takiego wartego uwagi jest w dziale "Development & Technical Discussion", az z ciekawości zajrze, bo dopiero co pisałem, ze chciałbym widziec jakis dalszy rozwój
No to lecimy:
To tak na początek. A tutaj co? Dzisiaj spekulacja, parę miesięcy temu też spekulacja, wcześniej również spekulacja. Nawet jeśli ktoś myśli, że to nie jest szkodliwe, to jest po prostu nudne, ileż można gadać, że "teraz wzrośnie, bo cośtam" albo "teraz spadnie, bo to i tamto". Nie mogę zrozumieć, czemu spekulacja aż tak kwitnie, gdy technikalia są tak pasjonujące i ludzie tak słabo wiedzą, czemu to w ogóle działa. Mam wrażenie, że gdyby wypuścić token oparty o cebulki tulipanów, to by było to samo i niektórzy by nawet się nie zastanowili, po co to komu, tylko by szukali newsów i zastanawiali się, co sądzi ten czy inny znany gość.

Quote
byłem pewien, że nic konkretnego sie nie dzieje, jezeli chodzi o development BTC, będzie jakaś rewolucja?
To zależy od ludzi. Technologia stojąca za Bitcoinem może być genialna, ale jak spekulanci stwierdzą, że jest bezwartościowa, to guzik z tego wyjdzie, wiesz?

Quote
czyli uważasz nas za zombie, a rozmowe z nami za błąd zagrozony bankructwem - powodzenia życzę w biznesach na forum i trejdingu
Jeśli ktoś korzysta z krypto tylko po to, aby "tanio kupić i drogo sprzedać", a poza tym nie ma zielonego pojęcia, po co to jest i jak działa, to jest jak zombie. Jakiś czas temu oglądałem HejtPark o krypto, najpierw jeden, a potem drugi. I co? I zmarnowałem kupę czasu, okazało się, że zaproszeni byli spekulanci, którzy nawet nie byli w stanie wyjaśnić takiemu Stanowskiemu, co to w ogóle jest Bitcoin. Zero technialiów, nawet śladu tego tam nie było, każde pytanie techniczne zostało zamiecione pod dywan.
42  Local / Polski / Re: Polish Hyde Park on: June 30, 2022, 05:19:17 PM
Quote
mysle, że jest całkiem sporo fajnych postów, które moga je dostac
Mam dokładnie odwrotne wrażenie, mianowicie że co tylko zajrzę w tutejsze progi, to widzę głównie spekulację, natomiast technikaliów jest mało, malutko. Dlatego od jakiegoś czasu przeglądam wyłącznie dział "Development & Technical Discussion", bo to jedno z nielicznych miejsc, gdzie można trafić na cokolwiek wartego uwagi. No bo co mnie obchodzi "Pospekulujmy o aktualnej i przyszłej cenie BTC", ja tam podświadomie widzę napis: "tam żyją zombie-spekulanci, dołączenie do nich grozi bankructwem". Drugi temat też nie lepszy, "Kapitulacja na rynku kryptowalut". Po co to komu? Czy whitepaper mówił coś o "Peer To Peer Speculation Machine"? Nie można zabronić ludziom spekulacji, ale społeczność zdaje się nie rozumieć tego, że adopcja nie będzie jakoś szczególnie wysoka, dopóki nie będzie się dało normalnie i zwyczajnie podawać cen produktów na przykład w BTC. A obecnie się nie da, trzeba używać jakichś dolarów, złotówek, czy czegokolwiek innego jako punktu odniesienia, bo spekulanci nie rozumieją, że jak dziś za to samo możesz kupić jeden obiad, za jakiś czas dwa, a innym znów razem pół, no to coś jest bardzo nie w porządku i nijak nie odzwierciedla realnej wartości krypto. A już kompletną tragedią są tematy typu "Signature campaing - regularnie płatne pewniaki". Czasami aż mnie ręce świerzbią, czy nie byłoby warto dodać co niektórych do ignorowanych tylko dlatego, że mają sygnatury. No ale niestety, merytorycznie czasem niektórzy coś sensownego napiszą, więc głupio byłoby widzieć tak mało postów na forach.
43  Bitcoin / Development & Technical Discussion / Re: testnet bitcoins? on: June 29, 2022, 04:08:35 AM
Quote
I think the next test network should be based on Merged Mining, so you should push the test chain forward by mining the mainchain blocks, then you could make the whole network stronger, while producing some coins for testing at the same time, for the same work.
This. And miners should also receive a proportional amount of test coins, related to the mainnet difficulty, or the whole difficulty of all chains, if testnet will track that. So, if the mainnet block reward is 7 BTC, and you mined a block that is 100 times easier, then you should receive 0.07 test coins, not 50 test coins (ideally, you should also receive 0.07 real coins in decentralized way at the same time, but that is another story). And if you mined it with difficulty equal to one, you could receive zero satoshis on the test chain, because rounding down integers during division is the default in many languages, and because you can test all scripts on zero amounts, it would also work.

Another nice to have feature would be to get test coins by signing the mainnet coins. Then, you could sign for example some coins from transaction 9173744691ac25f3cd94f35d4fc0e0a2b9d1ab17b4fe562acc07660552f95518, and get some test coins by doing that (here: zero coins, but there are many dust amounts flying around that you can safely sign). Then, it could work as a test sidechain: you sign some coins, and then you can do your testing, and you can test your peg with the mainchain. Then, you move coins on the mainchain, and then test coins are destroyed, so they can be skipped by other nodes during the initial sidechain download.

Quote
In my opinion a better TestNet environment is one with constant automatic reset with fixed difficulty. That way you won't have to download and process 2.2 million blocks (current testnet3 height) or ~28 GB also nobody would be able to hoard coins for long if the chain resets after certain height like 1k blocks. Anybody would be able to mine a block, gets its high reward and use it.
Nice idea! I think we could have a timespan of one difficulty adjustment. For example, that could mean, when the difficulty is adjusted on the main network, then all test coins are cleared. Or we could use a moving window of 2016 blocks or something like that, then the test network will follow all mainchain events like halvings and difficulty adjustments, so all amounts of test coins will be quite similar to those used in practice on the mainnet.
44  Bitcoin / Development & Technical Discussion / Re: What is the drawback of PoS ? on: June 28, 2022, 07:18:31 PM
Quote
Without their explicit consent, its miners were coerced to participate in an attack led by the pool operator, ultimately stalling the operation of the fledgling cryptocurrency CoiledCoin by mining empty blocks.
But you know that the popular way of implementing Merged Mining is not what Satoshi intended? NameCoin made the same mistake: there should be one chain of block headers with the heaviest Proof of Work, Proof of Stake, or Proof of Something, and each Merge-Mined chain should receive a fraction of coins proportional to the whole power of all chains. In this way, attacking any altcoin by reaching 51% power, 51% coins, or 51% something is possible if (and only if) you have a majority on all chains together. And of course people didn't implement Merged Mining in that way. Also, when it comes to Proof of Stake, there is an alternative called Merged Signing. And guess what: people are still unaware of that, and they still think that creating new coins will make the whole situation better, but nobody gave any reason, why it is needed to create new coins at all, instead of signing existing coins from other chains, and build new protocols on top of that.
45  Bitcoin / Development & Technical Discussion / Re: What is the drawback of PoS ? on: June 28, 2022, 05:21:08 PM
Quote
Your question is one that someone who wasn't here for 2016-2017 would ask.
Well, I was not here for 2016-2017. I started buying Bitcoin in 2018, maybe 2019.

Quote
Developers drew the line saying 1mb was the limit (look up all the shady stuff that surrounded the NY Agreement) and basically forced these businesses to fork the network or lose their entire investment of time and money, which they did to grow Bitcoin and was wildly appreciated at the time.
What happened, should stay in the past. Now we know that new features can be introduced with no forks at all, even no soft-fork is needed, you can read more about it here: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-June/020532.html. Of course, sidechains can also solve "coin merging" problem, but I think not many altcoiners want to for example merge BTC and BCH into a single coin again, so there is no need for that yet. But it is just a matter of proportions, any altcoin can reach a peg again, if they don't want to do that, they are free to stay unpegged, just they should not be surprised that their coins will be left behind the heaviest chain, if they designed it to be a competition, instead of reusing the strongest source of SHA-256d hashes, no matter where it will be produced. They could do a soft-fork or no-fork back then, big blocks are different from small blocks only by the time when each tranaction is included. They could get it protected by Merged Mining (and commitments could protect them from chain reorganizations), and have their transactions included later, it was that simple. I guess people were just unaware of possible technical solutions that always existed, from the first released version. And they still are, including me, it is a continuous process of learning, what is possible.

Quote
so they eliminated that risk by issuing their own altcoins
Now they could issue their own sidechains. No permission is needed, coins can be created by signing on-chain coins, and destroyed by moving them. Nothing else is really needed, the rest is about making it convenient, and protecting mainchain coins with the right output scripts, to allow moving them if (and only if) each and every owner of that coin agreed to move back to the mainchain.

Quote
It was a perfectly reasonable response that was met with extreme hate, as Bitcoiners wanted their coin to be the only game in town, and for them to have to do nothing but hold it to get rich.
Pure speculation with no usage will lead us nowhere. If people want to speculate, or if they want to never use their coins, they should have that choice. Holding coins forever is like owning something on OP_RETURN. You can do that, but it won't be useful. You need money to pay for goods and services, the whole value can be created from real usage and real features. Of course it can be created artificially, but then it will vanish over time. And I don't want to make things that will be worthless after few years, I want to make a system I would want to also use, from the perspective of some non-miner and non-developer, who will have no power, and will just want to write some applications for existing coins. It should be still useful in that case, because it is all about control, and to make it decentralized, the creator should have no control over the network, even if it will be based on Proof of Stake.
46  Bitcoin / Development & Technical Discussion / Re: What is the drawback of PoS ? on: June 28, 2022, 02:19:17 PM
Quote
If PoW Tech were superior , then the majority of new coins would be using it.
That's the mistake of many Proof of Work altcoins: they use their own hash functions, or mine their own chain of the heaviest work, instead of being connected to Bitcoin by Merged Mining. The same with Proof of Stake: by creating new altcoins, the situation is not better, it is actually worse. Users don't need new coins, they need new features on existing coins.

There is Merged Mining, there is Merged Signing, there are ways to make new features, without creating coins out of thin air. I still don't get it, why altcoins do that, when there is no need, and when trading and speculation can destroy them, even if their idea will be genius, just because developers force users to choose between coin A with feature A, and coin B with feature B, they enforce choosing for no reason, why they can't just get feature B on coin A?
47  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 25, 2022, 03:03:43 PM
Quote
they need to move an existing asset into a weaker form of security
They usually have "weaker form of security" only because people don't know how to implement Merged Mining correctly (see: NameCoin). There should be one source of the Proof of Work, and each sidechain should commit to that, so users will first get everything sidechain-confirmed, and then Bitcoin-confirmed. After the latter, it is as strong and as resistant to chain reorganizations as Bitcoin itself. And again, Proof of Work can be replaced by Proof of Stake inside the sidechain, without affecting the mainchain consensus at all. Also, sidechains can be created and destroyed at will, it is just a matter of signing the right transaction, to deposit funds into the sidechain, and to take them back, just by moving them on the mainchain. Now I know that any testnet or signet can be easily deployed in that way, and I am trying to think about mainnet, and to deploy some test networks, just to show how it works.

Quote
In the case of a PoS sidechain the security will be based on how much capital is inside it, let’s say it starts out with 200.000 € worth of Bitcoin locked inside. It would be easy for any whale, to take control over the network in the beginning.
It is not that easy to take control, because things will be committed on-chain, and after that, it will be very hard for any whale to overwrite that.

Quote
can an attacker who controls majority of the capital send everyones funds back to the main chain, or make the coins inaccessible forever?
Users are protected from stealing in the same way as in LN: there are penalty transactions. Also, they are automatically broadcasted, without any watchtower, because revealing any previous transaction will allow unlocking the penalty transaction and broadcast it on-chain. All nodes observe both the mainchain and the sidechain, any malicious action of some wealthy sidechain wallet will be noticed by the sidechain network, and all honest nodes will react immediately, by broadcasting penalty transactions to the mainchain.

Quote
Isnt the whole promise of sidechains, we’re used less, so we can offer services more cheaply? But this incentive to even use them falls apart once they gain traction, because then they face the same problems as the main chain. In terms of scalability, decentralization and security.
If sidechains are done in the right way, then they have one nice property, that is not possible on the mainchain: it is possible to prune the history, as it gets confirmed on the mainchain. Coins are created by signing mainnet coins, and then they are destroyed, when mainnet coins are moved. That means, the sidechain history can be regularly pruned, when it gets confirmed on the mainchain. In this way, if the sidechain will be too big, then people can always move them directly, from one sidechain to another, a single mainchain transaction can clear the old sidechain history, and move everything to the new, fresh sidechain. And users can decide, if they want it or not, because they have to do it explicitly, by signing transactions. Imagine a Bitcoin, where you could download only the UTXO set, the Proof of Work headers, some recent blocks, and then the Initial Blockchain Download would take, I don't know, 10 GB? Maybe 20 GB? Only sidechains has such properties, because the mainchain has no upper layer.

Quote
Sure, staking is cheaper and easier for validators, but if the task is providing security and consensus, and this method cant do it, then how was the task solved?
It just makes it two-steps and fills the gap between zero and one confirmation.
Without my system: you have zero confirmations with full RBF, so anything can be always replaced, at any time.
With my system: you still have zero confirmations, but you can pay validators to sign your transaction, so the chance for it being unconfirmed forever is much lower.

Quote
You can’t have higher fees or the side chain won’t get used.
Fees will be automatically regulated by the network itself, as it is in Bitcoin. There will be just some market fee.

Quote
If the side chain has more throughput and thus make the average transaction cheaper, it will suffer the centralization problems, the main chain is trying to avoid.
You can worry about "centralization problems" in LN, they are exactly the same as in my proposal.

Quote
How will they get more coins?
Users will pass their coins to the validators explicitly, just like in LN.

Quote
How isn’t PoS more and more concentration of wealth at the top, automatically built-in, no work required?
Again, LN has the same problem, my proposal won't make it any worse than that.

Quote
Lightning is completely different it’s competitive and takes skill and planning to run successfully, it doesn’t work on the premise to give people more fees, sure the highest capital nodes can get more fees, but there can still be competition from smaller nodes, because most people won’t be needing to send high amounts everyday.
The same will be here. Also, note that mining should be decentralized, that means each validator should validate its own set of transactions, and their efforts should be then combined, to create a superblock for the whole network.

Quote
It actually helps the main chain, instead of being in competition with it, both balance each other out.
My proposal also helps the main chain, for example by taking some traffic outside of it, and then posting a batched state of the sidechain every sometimes.

Edit:
Quote
The Lightning Network doesn't; you can't double-sign transactions.
The same in my network: it will be rejected in the same way as double spends are rejected. Unless it will have a higher fee, then full RBF kicks in, exactly in the same way as it is on the main network. But after getting at least one sidechain confirmation, it will be very hard to do, in the same way as it is hard to do one-block-reorg on the main chain.

Quote
This just doesn't sound right.
Why not? Users should have a choice. If they can sell their bitcoins, and buy some useless altcoins, then why not provide them a different choice: just sign the same coins, but instead of selling them, get some sidechain coins, of the same amount in satoshis, and use new features as you wanted. Why not go that way? That proposal could be used to get rid of altcoins, which create new coins out of thin air. They should all be based on Bitcoin, there should be always no more than 21 million coins, some of them should fly on the mainchain, and the rest should be moved inside LN, sidechains, or different (not known yet) networks.

Quote
Therefore doing the work and staking will always be more profitable than staking alone.
Well, so miners will mine and stake. It is still better than mining alone, it is just the first step to convince them into staking. If they will stake, then they can see the benefits of staking, and later, if they decide to turn off their machines for any reason (for example because the endlessly growing difficulty will force them to do so), they can focus on staking, instead of leaving the crypto altogether.

Quote
If we don't have a paper that explains clearly how a Proof-of-Stake sidechain is somewhat superior, we can only do pointless speculation.
Keep calm, I'm working on it. Meanwhile, I can answer some questions and make my proposal harder to stop, based on your responses. I don't want to share something that could be easily destroyed by me, or by some regular people from forums. So, this discussion is definitely helpful to speed up the whole process, and I appreciate it. It is like in artificial intelligence: the smarter you are, the faster and the better your model can be trained.

Edit: You wanted more details, so here we go. Let's assume there is Alice, sending coins to Bob. And there is some Zack that wants to validate it. How it should be done? For example in this way:
Code:
+---------------------------------------------------------+
| ZackOne 1.00 BTC                    -> ZackTwo 1.01 BTC |
| SIGHASH_SINGLE|SIGHASH_ANYONECANPAY                     |
+---------------------------------------------------------+
That means, Zack is going to sign something, for a 0.01 BTC fee, and wants to put 1.00 BTC at stake. By using such sighashes, Zack can attach this single input and single output into any transaction that will pay him. Then, let's assume that Alice wants to send some coins to Bob:
Code:
+-----------------------------------------------------+
| Alice 0.51 BTC                      -> Bob 0.50 BTC |
| SIGHASH_SINGLE|SIGHASH_ANYONECANPAY                 |
+-----------------------------------------------------+
Guess what, both parts can be combined into a single transaction, that will have zero on-chain fee:
Code:
+--------------------------------------+
| ZackOne 1.00 BTC -> ZackTwo 1.01 BTC |
| Alice 0.51 BTC      Bob 0.50 BTC     |
+--------------------------------------+
That means, on-chain miners can of course mine it, but then they will get nothing. And imagine using some smaller fee than on-chain, so many sidechain transactions will be combined, and they will later reach the minimal on-chain fee, so they could be then broadcasted, as a single, huge, batched transaction. Impressive, isn't it? Also, sidechain can optimize things even more, by storing transactions in encrypted form (by using Homomorphic Encryption), then Pedersen Commitments can be used to manipulate encrypted transactions, that could be later decrypted and broadcasted to the mainchain. There are endless possibilities, I don't know what users will invent, I am trying to just provide the base standardized layer for that.
48  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 25, 2022, 01:18:22 PM
Quote
If each validator takes fees in the same way as Lightning, then it's the same kind of Proof-of-Stake.
Yes, it's the same kind of Proof of Stake, but it has a chain. And that difference allows direct payments between participants, and that's the key difference between my proposal and Lightning Network: it is like if you could watch all channels and their state. Also, in this case, no watchtower is ever needed, and mining is also possible, because if you can watch all channels and transactions, then you can collect all of them, make a sidechain block out of it, and sign it, then you take all fees from all users as your reward (by default your reward is zero, and can be increased by validating transactions). So, the situation is clear: people can wait a long time for mainchain confirmation and pay on-chain fees, but they can instead use minimal on-chain fees, and pay much less, to have it signed by stakers. In this way, the stakechain can fill the gap between zero and the first confirmation, for a few satoshis you can get it validated, instead of accepting zero-confirmation. No coins will be created out of thin air, users will agree voluntarily to move their coins into stakers' hands, just by signing transactions.

Quote
I don't understand why not doing both.
You can, I guess that will be the case during bootstrapping, then people will find a good balance between that, and will see that staking can give them more profits, while having less power requirements, because then no mining equipment is needed. It will be a gradual way from 100% mining and 0% staking into 1% mining (the minimal difficulty is one) and 99% staking.

Quote
Unless your proposal is to move to another layer gradually.
It has to be gradual, because instant change will be rejected by Proof of Work enthusiasts. They don't want to switch immediately, they have to be convinced over time, that a different system is better, and can reward them with more coins.
49  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 25, 2022, 11:35:31 AM
Quote
No, I didn't think of it that way, just simply if you want to participate in the hypothetical POS Network, you need Bitcoin and can ONLY use Bitcoin to receive the POS token.
That's the plan: to have a network, where you can receive coins, only if you sign your bitcoins. Of course someone else could sign its own coins on your behalf, there is no way to stop that.

Quote
You can buy if you want to, but the context still is, all Bitcoins in existence are created into existence as block rewards received from mining.
Yes, but the current difficulty means that a lot of energy has to be used. It is possible to convince people to turn off their miners gradually (by convincing them that they can earn more by making signatures and staking their bitcoins), so the difficulty would gradually reach the minimal value. Then, it is possible to protect the whole network mainly by Proof of Stake, and leave a little protection of the Proof of Work, just to make it backward compatible.
50  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 24, 2022, 03:55:39 AM
Quote
Lightning doesn’t create coins out of thin air
Of course, because millisatoshis not divisible by 1000 are enforced on-chain, right?

Quote
There’s no peg to be broken here. It’s just a trust minimised way to transfer Bitcoin off-chain and hasn’t much to do with a consensus mechanism, it’s not even a chain. A huge difference.
I can say the same about my idea, just cut this "it’s not even a chain" part, and you can copy-paste it 1:1 into my proposal.

Quote
Now there’s a problem, Bitcoin is fixed supply, so you can’t just create  new coins as a staking reward out of thin air on the side chain, without breaking the exchange rate, because then the side chain has more Bitcoin in circulation, than can be redeemed or actually were put in.
I don't need any new coins. Each validator can take fees, in the same way as LN nodes take fees.

Quote
If you don’t create coins to reward staking, then if the transaction fees are higher on the side chain, why wouldn’t people just use the main chain again?
They always can. There is no way to stop them, they can put their coins in and out as they will, it is just a matter of signing some transaction.

Quote
Then miners get less fees on the PoS chain again, because people are disincentivized to even use it. So what problem was fixed in the first place?
The problem of creating new features without any forks, of course. People have a lot of ideas, and create a lot of altcoins to reach them. There is no reason to create any new coins out of thin air, if they could sign their bitcoins instead.

Quote
The only thing the PoS does in this case is moving the relative wealth to the top holders, meaning they can redeem more Bitcoin over time, while everyone else can less.
And people accept that by signing their own coins. They accept to gain and lose coins, by signing messages, and there is no way to stop anyone from signing any message they want. That's the best part of this "unstoppability", that there are some ideas, where even Proof of Work enthusiasts cannot destroy easily. That's why if you try to stop my proposal, you may hurt Lightning Network at the same time. Then, you have to choose wisely, to not kill too many networks with one shot.

Quote
How isn’t this vastly different from Lightning.
I still cannot see any difference. Each Lightning participant decide, how to make a closing transaction. The same with sidechains, the act of moving coins on-chain simply means, that everyone agreed to destroy sidechain coins, and take them on the mainchain.

Quote
And then there’s still the question how will they do it better than lightning?
Simple, in LN you cannot transact with all participants directly, in sidechains you can. If you are completely new, with fresh keys, you cannot be introduced into LN, without touching on-chain coins. In sidechains, it is possible.
51  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 23, 2022, 07:24:49 PM
Quote
This sounds like you don't have all the answers yet.
Of course I don't have all the answers yet. But I know the basic layer is technically possible to build, and that can be improved later, because a single on-chain transaction could move coins from one sidechain to another, so making improvements will be quite easy.

Quote
Otherwise, you can try to debunk the disadvantages of Proof-of-Stake we've all remarked.
I think it should be demonstrated in practice. Imagine talking about Lightning Network without having a working system. It is hard to convince anyone it could work. So, now I am trying to write some code, and build a basic layer of what I already described. Then, I could run that as a some kind of test network, where you can easily get some test coins, just by signing some mainnet coins (that could be also done as a commitment, to make it during sending some regular transaction, so nothing more than tweaking a signature will be needed, and it would cost zero additional on-chain bytes, and one tweaked signature could commit to the hash of the block, to cover the whole test chain at one shot). Another thing is that if it will ever reach some popularity, then it could be possible to add commitments inside the coinbase transaction, just by tweaking some miner's Taproot address, that would also require zero additional bytes, and would allow reaching sidechain finality every 10 minutes, without increasing mainchain size at all. Imagine Bitcoin as a huge clock that would confirm all sidechains every 10 minutes, without any additional bytes, the whole burden of commitments will be taken by each sidechain separately.

Quote
Which were?
1) Merged Mining done wrong: they should always follow the highest source of the Proof of Work, and grant coins, accordingly to that. Having 10% of Bitcoin's hashrate should allow reaching 10% of NameCoin's hashrate, there is no need to create a separate difficulty, each chain should follow the heaviest Proof of Work.
2) No coins should be created out of thin air, they should be based on Bitcoin, may be pegged in 1:1, may be signed and cloned in this way, there were many possible solutions to that.
3) "The spent fee goes to the miners in the next block fee" - burning 0.01 NMC to register a domain is pointless, it can be done safely without it, and handled in the form of fees. Also, by throwing coins out of circulation, there is a hard limit of available domains, which is not needed.
4) Names can be attached to Bitcoin signatures or addresses, and revealed later, when needed. There is no need to explicitly include hashes.
5) No "modernised arrangement with the Merkle Tree on top" was created, no commitment-like style of revealing names was added. It should be based on sorted commitments, that should be timelocked, and then revealed in a given timeframe, to get it recorded, and committed into NameCoin, which should commit into any Bitcoin transaction every sometimes (preferably once per 10 minutes, if sidechains would get some traction, and if they would be supported by miners, and not only by users, as it is possible today).
6) "it's cryptographically possible to make a risk free trade", and we have 2022, and it is still on some TODO lists, but not yet implemented. Also, NameCoin developers didn't even try to reach that goal.
7) "A longer interval than 10 minutes would be appropriate for BitDNS" - and they picked of course 10 minutes for no reason. I thought about increasing block time on some networks, into two weeks, maybe even into one halving period. There are some nice properties, when the block time is increased (for example, Proof of Work reduction is then possible, without breaking any consensus rules, that are adjusted to faster block times, so the difficulty is then forced to drop). On some networks, it can be also decreased, like P2Pool did with their 30 second blocks, this method can be also used to do some Proof of Work fragmentation and decentralize mining, or give some people a choice between staking and mining, so they can find a balance between that, for example they could go into 90% mining and 10% staking, it is a good start, and could go further later, when people will be more convinced, that it works.
8­) "In that case, domain objects (domaincoins?) could represent the right to own a domain for a year" - guess what, of course it is not "one year".
9) "You might consider a certain amount of work to generate a domain, instead of a fixed total circulation" - was it considered to utilize something like "vanity address" to have a "vanity name", where people will mine a name that will be unique, will have some matching characters, and will be cryptographically secure at the same time? Do people have a choice between paying for some characters and mining other parts? Of course not. It is not possible to mine "bitcoin" as a vanity string, and pay for "eater, don't send" to own that name. No, you have to claim the whole "bitcoin eater, don't send" part, you cannot mine names, no matter that vanity addresses are better, and they even not require a blockchain! What about mining vanity names and supporting Bitcoin Proof of Work at the same time? They didn't even start thinking about that!
10) This list is longer, but I think it will be too much offtopic. Maybe this reply should be moved to some NameCoin-related topic, feel free to do that if needed, but also note that in all of those points, you can put "Proof of Stake" instead of "Proof of Work", and it will still make sense, so you can also discuss it here.

Edit:
Quote
But doesn’t the sidechain need a peg? If it mirrors Bitcoin 1:1 then the transaction reward can’t be higher than on Bitcoin, and you can’t create new coins without breaking the peg, or where will the new Bitcoin be coming from?
"But doesn't the Lightning Network need a peg? If it mirrors Bitcoin 1:1000 then the transaction reward can't be higher than on Bitcoin, and you can't create new coins without breaking the peg, or where will the new Bitcoin be coming from?"

See? If you have some questions about sidechains, you can try putting "Lightning Network" in the same place, just as a thought experiment. Many times, you will see that it is quite similar, and many times you will see it is also similar to Proof of Stake, if you do the same trick, and if you notice, that there is no mining inside LN. I still wonder, why some people accept LN, not accept sidechains, and not accept staking. Those three concepts are quite similar, if you think more about it. And of course the answer is that fees will go to other nodes, as it is in LN, so "the fee", calculated as the sum of all outputs, minus the sum of all inputs, will cover only bare, minimal, on-chain requirements, the rest will flow inside channels, and will be signed in that way or another, by LN-validators, by sidechain-validators, or by some other validators.

Another part of the answer is that there is no "the peg", but "a peg", so if some mainchain is making some changes, then each sidechain can decide, where it should be pegged, because all coins up to the point of the split are identical. Also, even if the mainchain is splitted into BCH, BSV, or anything else, the sidechain can decide to not split, and to merge coins, instead of doing replay protection. Many rules can be altered, everything is always in users' hands.
52  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 23, 2022, 03:05:37 PM
Quote
How can you increase the block time from 10 minutes to 40 without a hard fork?
Just by producing blocks every 40 minutes. If any difficulty reduction will be needed, then soft-fork is more than enough to cover it. But I think moving coins off-chain will be enough to decrease on-chain fees, and to decrease on-chain rewards, which will encourage miners to turn off their machines.

Quote
How is Proof-of-Stake implemented exactly?
By making signatures. Instead of signing a regular transaction, you sign something else. For example, in signet, if you want to sign a block header, you make two transactions, there is "to_spend" and "to_sign" transaction, you sign this "to_sign" part, and place your signature in the coinbase transaction.

Quote
If the altcoin is inflated, how can you return to the main chain that is not Proof-of-Stake based?
I thought about 1:1 peg (of course 1:1000 or other values are possible, but then it would mean just moving the comma, so for example using millisatoshis, instead of satoshis, as in LN).

Quote
If there's a direct correlation between bitcoin and the altcoin, how isn't it completely dependent on Proof-of-Work?
As every sidechain, it has to reach "a peg", not "the peg". As long as all coins are covered by the chain they are pegged into, it works.

Quote
Make a thread, explain your mechanism in a clear and detailing way.
It is in progress, I just decided to mention that it is ongoing, but I could patiently and silently work on it without informing anyone, and then suddenly reveal everything at once. So far, I shared parts, where there is very little chance that someone will destroy that easily (also, Core developers already discussed some parts of it, for example "temporary forks", so they are aware of what is possible, they may not be aware only about that "no fork required" part, but I think they should be, because this was also posted (not by me) to the mailing list). But there are other parts, that needs to be hardened, they are too fragile to be shared with Proof of Work enthusiasts, because then they will abuse the system by making chains, and pretending that "this idea was tested, and it failed", which is not the case. In the same way NameCoin was presented as a BitDNS implementation, while it is clearly not the case, as it lacks some features (described by Satoshi).

Quote
I'm sure there will be interest if you've thought of something that's significantly utilized somehow.
I can share unstoppable ideas, that are hard to destroy, and I already shared that, the only thing left is answering some questions, and clarifying, what is possible. But still, I don't want to share more fragile parts, because I don't want to repeat NameCoin's mistakes.
53  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 23, 2022, 01:30:23 PM
Quote
Let’s say miners really mine less and the difficulty drops, wouldn’t it weaken their competitive edge?
Why? The coin supply is finite, sooner or later we will reach the case, where the basic block reward will be zero. And then, users could fully decide, if they want to move their coins in a Proof of Work network, or if they want to get their transactions confirmed by Proof of Stake validators. Then, it may be pointless to mine zero satoshis on-chain by using Proof of Work. On-chain fees may be lower than off-chain Proof of Stake fees. What then?

Quote
or invest in Lightning's capacity
Lightning is similar to staking, but it lacks some features, like direct transfers between all Lightning participants. You still need to touch on-chain, you cannot send coins directly in Lightning, and finalize it later on-chain, you have to finalize that on-chain immediately, no matter what, because each channel should be in the right state to move any coins anywhere.

Quote
Unless your no-fork idea includes sidechains?
Well, sidechains at least have some independence, and only finalize things on-chain. But Lightning is fully pegged to the main chain, and that's why all problems from the main chain are always moved downwards to LN (for example, if on-chain fees are high, then there are problems with creating and closing channels).

Quote
"Good enough", how? If you have such difficulty it means there's very little work done. And if this internal-Proof-of-Stake system is dependent on Proof-of-Work, there's very little security.
If the basic block reward is zero, and on-chain fees are very low, then this low difficulty is justified. It just reflects on-chain rewards. And they will be lower if the whole system will move into LN, staking, or other layers.

Quote
How's block time relevant?
If you increase the block time from 10 minutes to 40 minutes, then without any fork, the difficulty will drop to the minimal value, and will stay there.

Quote
Here's a friendly suggestion: Let's talk about it. Don't implement theory if you haven't discussed it with others. There might be a "hole" you haven't thought of.
No agreement is needed, if there is no hard-fork, and no soft-fork needed. It is just about users willing to move coins as they want, and sign transactions as they want. They don't even need to move on-chain coins, they can create coins by signing something, then they will get their coins deposited on a separate chain. Later, they can move coins on-chain, then they will be destroyed on the sidechain. In this way, it is possible to create two-way-peg, where nobody can stop it. Then, it is possible to turn chains on and off, it depends only on users, they will have freedom they never had before. And the whole work is about making the right scripts, so that on-chain coins will move if (and only if) all participants will agree on that, and that will be needed only if someone will want to leave the sidechain.

Quote
make a paper, let us comprehend it
The basic idea is already shared, the original author thinks about utilizing it in the Proof of Work context, but I think it could be used as a Proof of Stake too. Many things are ongoing, because, as you can easily guess, Bitcoin community is mainly against staking, so to make it real, there is a need to allow the minority to use their coins as they want, and to gain and lose them, by testing their ideas in practice. If I would share my ideas in the current stage, they would be destroyed by the Proof of Work community. They should be hardened, and more work is needed to make some unstoppable proposal, but the main idea of unstoppable sidechains (without any fork) is very promising.
54  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 23, 2022, 08:58:37 AM
Quote
Because, Bitcoin needs to be mined, to buy the POS token.
Note that people can be rewarded in this Proof of Stake network directly, so miners could find it more profitable to mine less on Proof of Work, and validate more on Proof of Stake. It is a matter of incentive, dropping the difficulty from the current level to the bare minimum 2^32 hashes is technically possible.

Quote
Not something "environmental evangelists" like LegendaryK are going to support of.
Why not? Using the difficulty equal to one will be "good enough". Going even lower is also possible, because it is possible to increase block time, for example from 10 minutes to 1 hour or longer.

Quote
So... Why don't you buy bitcoin?
I do. And I have plans with staking, be ready for them.
55  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 18, 2022, 01:03:36 PM
Quote
I hope the reason they left the discussion is because they were educated and understood why PoW > PoS!
Nope, I am still alive and well, still trying to put my idea into practice: https://bitcointalk.org/index.php?topic=5390027.0
56  Bitcoin / Development & Technical Discussion / Re: Thoughts on burner addresses on: June 18, 2022, 12:51:21 PM
Quote
It was also planned to upgrade the block size by satoshi but since he disappeared it never happened.
The networks need to have separate fates.  BitDNS users might be completely liberal about adding any large data features since relatively few domain registrars are needed, while Bitcoin users might get increasingly tyrannical about limiting the size of the chain so it's easy for lots of users and small devices.
I think in that last sentence, Satoshi correctly predicted that the max block size may never be increased. And I think the Bitcoin community will go that route, and if they will ever increase something, then it will be the max witness size, not the max block size. Also, you can see that the max witness size is just a parameter you can change in your node, everything is prepared for changing that, little tweaks here and there will do the trick, if the community will ever decide to do that.
57  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 06, 2022, 11:23:42 AM
Quote
Why would the chain stop without a hard fork?
Because it is vulnerable to the year 2038 problem, and also to the year 2106 problem, if 2038 will not stop it: https://bitcointalk.org/index.php?topic=5365359.msg58166985#msg58166985

Quote
And why should the bitcoin community do useless hard forks for no reason?
There is a reason: four bytes may be not enough to measure time accurately. But even if it is, then taking modulo 2^32 will be also a hard fork. And if you don't want to solve that problem in the hard fork way, then the soft fork way may be too crazy to reach consensus.

Quote
I don’t get the point, it’s already possible to run pruned nodes so no need to castrate the whole chain.
It's about the initial chain download. It should be faster. A lot faster. For now, it can take many days, and that should be improved somehow.

Quote
But what point would deleting the chain serve and how would it work in practice?
The point is to make the chain smaller. And the way is to do deep chain reorganization, that will reach consensus, because the new chain could contain the hash of the old chain. When it comes to removing data, chain reorganization is the only operation that can be used to make it.

Quote
No one will agree to this, if you don’t believe me, try it and see how many nodes would follow.
In Segwit, people agreed to put signatures in a separate space called "witness". Why do you think they won't agree to put the whole chain in a separate space (called "archive"?).

Quote
Of course, stwenhao is smarter than everyone else
We all know that I am not "smarter" in any way. There are only ideas, people can always reject them. I think reaching consensus is always needed, but for some things mentioned here, I think it could be possible to do so. Bitcoin users are different, not all of them are happy about Proof of Work. Another story is that implementing some of my ideas may sound crazy, but it may turn out to be better than creating another altcoin.
58  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 05, 2022, 08:57:43 PM
Quote
But in practice won’t there always be nodes opening and closing channels?
I don't know. It depends. It is true for now, but I am not sure it will be true in the future. For example, there are proposals like CoinPool. In general, there are proposals to put more people into a channel. Also, there are some ideas flying around, how to solve the problem with on-chain interaction. You know what does it mean? It means Bitcoin could end up in a scenario, where there would be no need to open or close channels, because it will be resolved by more deep layers. So, it could be possible to have some opened LN channel, and then create some coins on L3, without touching L1, everything inside L2. Then, it could be possible to extend "a coin in a coin" or "a layer based on a layer" to that extent, that it could require no interaction with on-chain coins.

Quote
And in theory by the time the block rewards run out, technology would be way more advanced than now.
More advanced does not mean "better". Also, the current consensus has its limitations, and the whole chain will stop, unless there will be some hard fork. But as far as I know the Bitcoin community, they will use hard forks only if they will be forced to do so. And by "forced" I really mean "forced". Maybe 2038 year problem will be resolved by increasing timestamps in a soft-fork way? Maybe when the chain will stop, the last block will be endlessly replaced? Maybe people would start making the blockchain smaller, by completing "D" in the "CRUD" model, so that "Delete" operation will be executed by overwriting the chain, and adding the hash of the previous chain in the first block after the Genesis Block? Why not? We could start mining on top of the Genesis Block, and produce 2016 blocks so strong, that they will be stronger than ever (so that will trigger the biggest chain reorganization ever), and then we can pretend that the Genesis Block is not from 2009, but from "2009+offset"? And what then? Because there are a lot of ways, how soft-forks or no-forks can save the day, and be used to avoid hard-forks always and forever.

Quote
Could there be a possibility then that people come to a consensus to increase the troughput of the mainchain to use it more?
I can see a different trend. People think that no block size increase is needed, so also no increase in the use of the mainchain is needed. I think it could be reduced, because a lot of soft-forks and no-forks can be used to make things happen, no matter what developers want, and without their permission.

The networks need to have separate fates.  BitDNS users might be completely liberal about adding any large data features since relatively few domain registrars are needed, while Bitcoin users might get increasingly tyrannical about limiting the size of the chain so it's easy for lots of users and small devices.
I think that will be true in the future. Exactly that last sentence about "getting tyrannical". And I mean "really tyrannical", so not increasing the max block size is one thing, but I can also imagine making the whole chain smaller than it currently is, so for example going from the current ~450 GB to ~1 GB in the future. All that is needed is reaching consensus, and creating some Proof of Work that would overwrite the chain. I think it is possible, if miners could be rewarded directly in the Lightning Network. Another thing is that doing it once is more than enough. Some soft-fork or no-fork could make it permanent, and alter all rules.

Quote
I mean if the security depends on miners, why would people ignore the problem by the time it comes to this.
There are many reasons, feel free to pick anything, or even extend that list:
1) they don't have good and working solutions for some problems
2) they don't care, they hope that things will be fixed automatically, when we will get there
3) they don't want to implement it now, when something is too crazy to reach consensus right here and right now

Quote
Also i can imagine scenarios in the future where it could be beneficial(maybe for legal reasons like when someone is buying a house) to have big transactions on a public ledger, instead of lightning, regardless of cost, and then the rational approach would be to choose the most secure chain for this. But I’d like feedback on this.
I don't care about "legal reasons", because in many countries, the law is outdated, and it cannot catch the crypto world correctly. For example, imagine that Satoshi invented the simplest tax system that is possible: transaction fee. If you govern a country and use crypto, you can keep being just some user, even if you are a government, and it will work fine, it will just be a different scale. If you want to mint new coins, you don't have to reinvent the wheel, and create CBDC for your local currency, when you could just use existing crypto, right? Also, you don't have to force your citizens to fill some papers, to go through the whole system of "spaghetti law", you can just collect transaction fees, and not require any additional fees than that. If you want, you can require an explicit payment, you can show each user the explicit amount they have to pay, and you can make things very simple. So why governments don't want to go that way? I have no idea, maybe they are missing the bigger picture of what is possible, and the whole reason that such ideas can also be beneficial for them.

Quote
they would loose a lot if they didn’t find a way to support mining
It is already solved by Merged Mining invented by Satoshi. Another way is Merged Signing for Proof of Stake. I think, technically it is not a problem at all, it is just a matter of making things happen. So it requires some coding skills, some time, and patience, to get there. And I hope we will.

Quote
I fixed your quotes to reference that you were responding to different members within your above post.
Some users told me that, and I agree, that quoting should not point to users. And I am not the only member of "quotes without nicknames" club. It makes life easier, when it comes to writing posts, but it is only opinion (and there are exceptions, like quoting posts that are far away, for example written by Satoshi). So, I prefer "userless quotes", but feel free to "fix" them if you want.

Quote
Do you believe that we might see such set of dynamics coming in advance or should we worry that whatever is happening in bitcoin needs to be fixed right now in order to stop such an inevitability?  would there not be any way to stop it once we see it, or is it already too late?  Perhaps, we need to discontinue all work on lightning network in order to discourage second layer gravitation of value towards?
It depends on what do you want. Because if you want Proof of Work, then you should use that in lower layers. But if you want Proof of Stake, then it can simply take over, if no Proof of Work will be added to some lower layers. Then, if Proof of Stake is superior, coins will gravitate towards staking. But if Proof of Work is so good, then why it is not present in the lower layers? Why Lightning Network transactions are not Merge Mined with Proof of Work, but only signed?

Quote
But maybe it addresses the potential problem that you had outlined, so then your assertion that no solution exists has been resolved, with a possible solution?  perhaps?
Maybe. But still, it has to be confirmed or rejected by other people. It is always a matter of consensus, for either Proof of Work or Proof of Stake, or Proof of Whatever. So, ideas are flying, but they are only ideas, unless implemented and enforced. And there is still a lot of work to reach that.

Quote
To your knowledge is there anyone working on a BIP in regards to your proposed solution or does a BIP already exist?
As far as I know, no BIP yet, but I think some people are generally interested in the concept of Merged Mining. For example, I guess this guy wants to do that in a Proof of Work way: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-June/020532.html

Quote
I think this is also important, the people that will need to solve this arent alive yet.
I think the basic idea of creating a separate chain with zero supply, that could accept deposits and withdrawals from other chain, is mature enough to be implemented. It can be implemented in a very general and open way, then it can be later limited by soft-forks in the future. Another thing is that if this additional chain has no coins, then it can be easily created (by making signatures), and easily destroyed (by moving coins on mainnet), so recreating the whole additional chain will be quite easy, just all users will move from the additional chain v1 into the additional chain v2 by making a single on-chain transaction.
59  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 05, 2022, 04:20:57 PM
Quote
to build centralized systems upon a decentralized system, but not the other way around
It depends what do you mean by "centralized" and "decentralized". I can imagine a scenario, where all coins would flow inside the Lightning Network, then all on-chain transaction fees could be gone, and then guess, what will happen next: you will have a system that will run out of coins. Miners will mine all 21 million coins in circulation, and what then? No new coins, so the basic block reward would be zero. And then imagine that all coins could be locked in some LN channels, and stay there. If so, then miners will stop mining (because of no incentive), and then the whole chain will stop, because the whole life will be present entirely in some lower layers.

So far, the Bitcoin community has no solution for the scenario, when the basic block reward would be zero. Then, doing chain reorganization would be profitable, just to get some coins from the fees of the previous block. That means, this could be the way to disincentivize miners to extend the Proof of Work chain. And then, if no solution will appear, everything will be handled by the Proof of Stake.

Quote
Are there any downsides/benefits in doing that? Im just getting into how exactly lightning works at the moment and didn’t go into merged mining yet. Does someone have any good resources to catch up?
It is just an idea. If Merged Mining is possible, then something that I described, could be named "Merged Signing", so it is exactly "a scenario in which miners would vote out their own business model", because then it is possible to vote for anything, just by signing some transaction, and it is possible to prefer that, instead of using Proof of Work to mine blocks. You can always sign a transaction, and then it goes into staking. If you will look inside the Lightning Network, you will see, that there is no mining. So, how to name that consensus, that is inside that network? I would call that staking, because everyone can open a channel, and put all coins at stake, and then take profits from keeping some node online, and signing messages. There is only one difference: it is running on top of the regular Proof of Work chain. But I think it could change, I described the reasons above.

When it comes to the resources about Merged Mining, then see how the NameCoin works. And imagine that instead of reusing some Proof of Work from another chain, you could reuse a signature. Then you will get, how Merged Mining could work in a Proof of Stake consensus.
60  Bitcoin / Development & Technical Discussion / Re: [Megathread] The long-known PoW vs. PoS debate on: June 05, 2022, 03:09:12 PM
Quote
Also i dont see a scenario in which miners would vote out their own business model.
Technically, they can. Also, the Lightning Network is based on Proof of Stake. There is no mining inside LN. That means, it is technically possible to transform Bitcoin into Proof of Stake coin, and give users some choice. So, a "coin in a coin" scenario is possible here and now, it is just a matter of pushing things higher, and turning the on-chain consensus into that.
Pages: « 1 2 [3] 4 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!