Bitcoin Forum
May 07, 2024, 12:50:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 201 »
1121  Bitcoin / Development & Technical Discussion / Re: Idea: using Atomic Swaps to make Bitcoin invoices less prone to volatility on: March 14, 2020, 08:38:36 AM
[...] This thing exists and it's everywhere.

In my opinion there's little difference between using an exchange to automatically convert to a stablecoin and using a payment provider like BitPay to convert to fiat.

Both requires trusting a third party and contains counterparty risk. Converting to a stablecoin seems more like an unnecessary extra step at this point (unless you then want to convert from the stablecoin to another digital asset of your choice).
1122  Bitcoin / Development & Technical Discussion / Re: Idea: using Atomic Swaps to make Bitcoin invoices less prone to volatility on: March 09, 2020, 02:54:09 PM
Unless there's a decentralized stablecoin being swapped I have to agree with ETFbitcoin that this seems like you'd merely swap a centralized payment processor for a centralized stablecoin issuer. Even so I think it would be an interesting addition to our ecosystem. Whether there'd be a large enough market for those swaps to work reliably is a different question though.

Decentralized stable coin already exist (such as Dai on ETH network), but it's less stable than other stablecoin and it's quite complicated.

Still, few person prefer hold/own stablecoin rather than fiat.

There's a bunch of decentralized stablecoins, it's just that none of them appear to be fully reliable:
https://bitcointalk.org/index.php?topic=3421190.0

Honestly I think that's the main issue at heart here -- the challenge of creating a reliable, decentralized stablecoin. The irony being once we'd solve that issue, we wouldn't need hedged Bitcoin invoices as described by OP to begin with. We'd just use the stablecoin itself.
1123  Bitcoin / Development & Technical Discussion / Re: Idea: using Atomic Swaps to make Bitcoin invoices less prone to volatility on: March 08, 2020, 07:06:47 PM
Unless there's a decentralized stablecoin being swapped I have to agree with ETFbitcoin that this seems like you'd merely swap a centralized payment processor for a centralized stablecoin issuer. Even so I think it would be an interesting addition to our ecosystem. Whether there'd be a large enough market for those swaps to work reliably is a different question though.
1124  Bitcoin / Development & Technical Discussion / Re: Lightning Network over mempool using Replace By Fee on: February 28, 2020, 12:02:40 AM
Is it really necessary to be online 24/7? Undecided

No, you could either :
1. Use watch tower (as mentioned by OP)
2. Only act as sender, so there's no risks of losing Bitcoin if another party broadcast earlier state of channel

What about the time window for penalty transactions though? Shouldn't the time window of one week for broadcasting a penalty transaction in case of a would-be attack be enough for someone who isn't online 24/7? Or has this been proven unreliable?

Just curious since with all the talk about Watchtowers this part of the protocol has been spoken less and less about.
1125  Bitcoin / Development & Technical Discussion / Re: Why Bitcoin blocks are generated every 10 minutes? on: February 24, 2020, 04:27:27 PM
The block interval of 10 minutes was probably simply a very conservative guesstimate.

Keep in mind Bitcoin was pioneering the field, it then took the first generation of alts to tinker with the basic parameters to see what works and what doesn't. Turns out Litecoin's block interval of 2.5 minutes works just as fine. Some alts reduced their block interval into the tens of seconds or even less with... not so good results. Orphan rate becomes a real problem at that time scale and needs to be dealt with (e.g. Ethereum paying subsidy for uncle blocks), otherwise your coin will be quickly forgotten.

Also you gotta think ahead a bit -- between Earth and Mars you have a data roundtrip time of 6 to 9 minutes! Grin


Moving BTC to a 5 minute blockspeed would literally double it's transaction capacity.

That's just a sneaky way to increase blocksize Wink
1126  Bitcoin / Development & Technical Discussion / Re: An interesting attack on Bitcoin's Lightning Network posted today on: February 22, 2020, 11:31:17 PM
Interesting paper. While I wonder how easy it is find suiteable routes for DoSing LN in practice I guess we'll see soon enough now that this paper has been released.

It's also always nice to see a paper that ends with proposed solutions that do not include an attempt to push a new pre-mined alt coin. Also mitigation seems to be mostly tweaking some parameters with existing LN implementations and safeguards that seem relatively straight-forward to implement -- eg. loop avoidance, as mentioned in the paper -- so we're not utterly doomed yet. It goes to show that we're still in early stages though.
1127  Bitcoin / Development & Technical Discussion / Re: Need large amount of testnet bitcoin, can someone help me? on: February 20, 2020, 10:00:17 PM
I understand completely. I wonder why the block reward is so small though, shouldn't it match mainnet, more or less.

I don't follow Bitcoin's testnet closely, but I assume it's because the difficulty drops back to 1 whenever no block has been found for 20 minutes [1]? At least that would explain testnet's block height of beyond 1.6M [2] which means it already went through 7 halvings which would correspond with the block subsidy mocacinno mentioned.

[1] https://en.bitcoin.it/wiki/Testnet
[2] https://live.blockcypher.com/btc-testnet/

1128  Bitcoin / Development & Technical Discussion / Re: Lightning Network over mempool using Replace By Fee on: February 20, 2020, 02:34:21 PM
The network will see Alice->Bob transaction earlier than Alice->Daniel transaction and reject the second one as a double-spending attempt. A node should know all replaced transactions before doing a replacement, because it is needed to prove that it is not a double-spending attempt.

I don't think so. As far as I know, you can invalidate a timelock transaction if you spend one of its inputs before the timelock. It shouldn't be considered as a double-spend attempt.

Yep. Timelocking a transaction only ensures that the timelocked transaction itself won't be accepted before the end of the timelock. You can still spend the very same coins in other transactions. That's why you can use them as part of a Dead Man's switch setup, for example.

Also, I wouldn't rely on the mempool alone to prevent double-spending. If that's all it took we wouldn't need a blockchain.

Also, mempools don't stick around forever. A timelocked transaction that's not being added to the blockchain, will get removed eventually. To make matters worse each mempool keeps transactions around for different timeframes. So the "channel state" will quicky diverge over time as mempools diverge.

Come to think of it, I'm not even sure whether a not-yet-spendable timelocked transaction is guarantueed to stick around the mempool in the first place.
1129  Local / Deutsch (German) / Re: Warum sind Kryptogewinne nach 1 Jahr steuerfrei? on: February 19, 2020, 06:19:42 PM
qwk, das stimmt. Wenn man allgemein die Steuern senkt, bringt das nichts. Ich meinte ausschliesslich die Kryptowährungen. Könnte als "Generator" oder "Katalysator" diese Technologie ankurbeln und zu indirekten Steuereinnahmen führen.

Ich glaube das fragwürdige Mantra auf das sich qwk bezieht ist eher:

Quote
Wenn man allgemein die Steuern senkt, bringt das nichts. Ich meinte ausschliesslich die Kryptowährungen Großunternehmen. Könnte als "Generator" oder "Katalysator" diese Technologie die Wirtschaft ankurbeln und zu indirekten Steuereinnahmen führen.

Zumindest wäre dass das Problem das ich mit dem Ansatz sehe.

Ich mein, klar, z.B. Luxemburg hat dank niedriger Steuern immense Steuereinnahmen. Aber das sind weder indirekte noch durch wirtschaftskatalytische Prozesse bedingte Einnahmen.
1130  Other / Beginners & Help / Re: Power Supply calculation on: February 18, 2020, 10:38:42 PM
First of all, because you don't want to cut it too close. A PSU running at or beyond full load is a PSU with a short lifespan that may turn into a PCB BBQ sooner rather than later.

Secondly, most PSUs reach peak efficiency at a load of 40%-60%:
https://www.corsair.com/br/ja/blog/how-to-build-a-pc---the-power-supply

The closer you get to 100% load, the more efficiency plummets. The lower the efficiency of your PSU, the more you're needlessly spending on electricity. The less profitable your mining rig.
1131  Local / Deutsch (German) / Re: Warum sind Kryptogewinne nach 1 Jahr steuerfrei? on: February 17, 2020, 09:11:18 PM
Das ist in § 23 Einkommensteuergesetz geregelt.
Dort steht dass private Veräußerungsgeschäfte von Wirtschaftsgütern  bei denen der Zeitraum zwischen Anschaffung und Veräußerung länger als 1 Jahr betragen steuerfrei sind.

Das Finanzministerium erklärt, dass unter diese Regel auch der Bitcoin fällt.

Der § 23 EStG wurde geschaffen um Gewinne aus kurzfristigen Spekulationen zu besteuern. Also die Spekulanten dazu zu bringen, die erworbenen Dinge länger zu halten.

Denke das ist nur mehr eine Frage der Zeit bis die Politik drauf kommt das hier auch was zu holen ist, bei den Aktien haben sie das ja auch gemacht, die waren früher bei einer Haltedauer von mehr ala einem Jahr auch steuerfrei, mal sehen ob das noch einmal geändert wird. Jedenfalls in Österreich 😁

Tatsächlich gabs da bereits 2018 einen Gesetzesentwurf welcher die Besteuerung geändert hätte:
https://bitcoin-austria.at/de/artikel/steuern-bitcoin-privatvermoegen-aenderung

Anscheinend dürfte das Ganze dann zum Glück in klassisch Österreichischer Manier versumpft sein. Würd mich allerdings auch nicht wundern wenn das Ganze dann (in ebenfalls typisch Österreichischer Manier Roll Eyes) von Heut auf Morgen im Sommerloch doch noch zum Gesetz wird. Das geht dann manchmal doch recht zackig.

Bzgl. Aktien darf man allerdings auch nicht vergessen dass es da diese Regelung mit Alt- und Neubestand gibt (bzw gab). Also Wertpapiere die vor der Gesetzesänderung gekauft wurden konnten/können steuerfrei veräußert werden. Mit Kryptowährungen müssten die dass dann konsequenterweise ähnlich lösen.
1132  Other / Beginners & Help / Re: Who receives the Bitcoin transaction fee and how does it technically work? on: February 07, 2020, 11:27:50 PM
Great explanation Twitchy!

Now the only unclear thing is the relay fees / nodes?

If the miners confirm the transactions in blocks, for what are the nodes necessary?

Connectivity, resilience and verification.

If only mining pools where to run nodes they could be relatively easily isolated from the rest of the network, be it by accident (e.g. large to mid-scale network outages) or by malicious intent (e.g. DDoS attacks, governmental interference). One effect of this would be a higher orphan rate (ie. miners forking of the main chain by accident), leading to (1) decreased security due to less effective usage of hashing power and (2) decreased reliability of confirmations due to higher risk of chain splits and reorgs. Especially the latter has significant practical implications since low confirmation transactions would be prone to "disappear". Also, bluntly speaking, it's easier to block a few dozen servers rather than a few thousands.

Apart from why the network profits from having as many nodes as possible it's more secure to run a node of your own if you process a lot of transactions (eg. as a merchant, payment provider or currency exchange). Rather than having to trust a third party on what they say what the blockchain looks like, look for yourself. Or as the old adage goes: Don't trust, verify.
1133  Bitcoin / Development & Technical Discussion / Re: ECDSA as a shared secret key generator on: February 06, 2020, 10:46:48 PM
Sooo... an Elliptic-curve Diffie-Hellman key exchange over the Bitcoin blockchain?

I think this paper describes pretty much what you are suggesting, maybe it's of interest for you:
https://eprint.iacr.org/2015/308.pdf

I'm not aware of any implementations being used in practice though. Something related was suggested in the form of ECDH addresses a while back:
https://en.bitcoin.it/wiki/ECDH_address
https://github.com/bitcoin/bips/blob/master/bip-0047.mediawiki
1134  Bitcoin / Bitcoin Technical Support / Re: Sent bitcoin cash to a bitcoin address using (Coinbase to Localbitcoin) on: February 06, 2020, 03:00:13 PM
@OP: Getting in touch with LocalBitcoins support as mentioned by jackg and 20kevin20 is your only bet. Unfortunately it's likely to be rather costly as most exchanges charge retrieval fees in the hundreds of dollars (assuming they offer retrieval at all).


Check the transaction you posted and you will see that the coins are no longer in that address. Sending bch to a segwit btc address is very perculi. What this means is that any miner can take the coins for themselves with just the public key.

How true is this claim, can miners do that?

I guess they are alluring to nested P2SH SegWit's anyone-can-spend outputs?

Sending BTC to P2SH BTC SegWit -- those coins are safe. Any attempt to "claim" these coins would result in a (soon-to-be-orphaned) fork that will be ignored by all other BTC nodes and miners as enforced by SegWit rules (ie. according to SegWit rules such a transaction would be invalid).

Sending BCH to P2SH BTC SegWit -- that's an interesting case. Since there are no SegWit rules to follow those coins truly are anyone-can-spend so are up for grabs by anyone, not just miners. It's just that a miner would be stupid to not claim those coins for themselves, the only competition being other miners (ie. there are no SegWit rules so such a transaction would be valid).
1135  Other / Beginners & Help / Re: Who receives the Bitcoin transfer fee and how does it technically work? on: February 06, 2020, 09:38:59 AM
Who receives the Bitcoin transaction fee and how does it technically work?

In terms of how it looks in the protocol:

The transaction fee is the difference between the inputs of a transaction (ie. the amount that leaves the sending addresses) and the outputs of a transaction (ie. the amount that arrives at the receiving addresses).

They can be claimed by a miner by adding the transaction fees amount to the block subsidy amount and sending the whole sum as output to their receiving address.



What is the difference between node and miner?

A node verifies transactions on the blockchain.

A miner solves (creates) blocks, which are then verified by nodes.

You should ask any more questions like this here: Beginners & Help.

It's worth noting that there's no distinction between miners and nodes on the protocol level (at least if I recall correctly). While the people running mining hardware do not necessarily run their own node, the mining pool that they are directing their hashpower at will. It is this node (or nodes) that will then broadcast the blocks as built by the miners.

So from a protocol point of view they are all just nodes -- it's just that some find new blocks (miners) and some don't.
1136  Bitcoin / Development & Technical Discussion / Re: Effects of Forcing Miners to Fill Full Blocks on: February 05, 2020, 10:18:17 AM
What if there isn't 1MB worth of transactions to put in a block?

Pretty much this. The network can't know in a reliable and tamper-proof way whether there's "enough" transactions floating around.

Additionally enforcing a mininum block size would just artificially slow down the network when there's not much going on (ie. due to miners waiting for enough transactions to fill their mempool before building a block) while doing nothing to increase transaction throughput when blocks are full.

Also note that as block subsidy gets reduced over time, transaction fees gain in importance. Currently the block subsidy still surpasses the profit made by fees, but once fees are the main income there's literally no profit to be made from creating empty blocks.
1137  Economy / Gambling / Re: SafeDICE.com ★ Bitcoin Dice ★ Monero ★ 0.5% Edge ★ Fast Cashout ★ Since 2014 on: February 04, 2020, 05:43:41 PM
If you are looking for a new site to play or invest in we just launched https://btcdice.io.
We have a thread in the forum and a chat room on site if you have any questions.

Note to any newcomers reading this: The site posted above has been around for less than half a year (ie. has yet to build a reputation), so be careful. Then again SafeDICE has been around for a couple of years before it went AWOL so... ¯\_(ツ)_/¯

Nice looking site though, will definitely keep an eye on you!
1138  Economy / Service Discussion / Re: Some exchanges accepting Lightning Network on: February 04, 2020, 02:45:33 PM
As pointed out by hugeblack most of these services are not yet established, so caveat emptor! Same even goes for already established sites like Bitfinex, unfortunately.

Either way, I got another addition for your list -- Bitstamp:
https://www.bitstamp.net/lightning-network-node/

Stats as of writing:

Channel count: 294 / 35781
Connected nodes: 288 / 6287
Node capacity: 14.30128051 BTC / 873.27689107 BTC

1139  Bitcoin / Bitcoin Discussion / Re: Early / Late / Next Halving ... Please miner make it happen a weekend on: February 03, 2020, 12:00:23 PM
From the looks of it this halving countdown doesn't take hashrate growth into account, so you might be lucky Smiley

98 days (as of today) is what you get when you assume the average 144 blocks per day to be true. While difficulty should adjust every 14 days (ie. every 2016 blocks) continous hashrate growth can lead to more blocks being mined towards the end of a difficulty period until difficulty re-adjusts (the opposite is true when hashrate declines).

So for the last few cycles the average blocktime was closer to 09:30 rather than 10:00:
https://btc.com/stats/diff

Leading to an average of 151.5 blocks per day.

As of right now there's still 14,212 blocks left to the next halving, which means adjusting for 151.5 blocks per day would put the next halving in 94 days, ie. on the 8th of May rather than the 12th. The 8th of May would be a Friday, so keep your fingers crossed that the Bitcoin network keeps growing the way it has for the last few weeks Smiley Or maybe that growth slows down just a little bit, as to put the halving on a Saturday.
1140  Bitcoin / Development & Technical Discussion / Re: A Proof of Useful Work (PoUW) for Artificial Intelligence on the Blockchain on: January 31, 2020, 06:06:16 PM
After seeing the occasional thoughtless newbie post about combining blockchain with machine learning (who cares about details as long as we put buzzwords together amirite?) it's nice to finally see something with a bit more substance.

What bothers me a bit is that the concept of PoUW seems to be more like a red herring, with the actual security coming from a PoS system trying to keep participants honest. That is on top of what odolvlobo posted regarding PoW requiring "useless" work for security.

Their treatment of Sybil Attacks also looks a bit hand-wavy to me. Disallowing nodes to pick their own tasks might work if you only have a limited number of bad actors; I have my doubts that this would be effective enough in a more serious scenario.

Either way I still need to dig a bit deeper into that paper. Thanks for sharing!
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 201 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!