Search content
Sort by

Showing 20 of 29 results by coinmachina
Post
Topic
Board Development & Technical Discussion
Re: stupid question: why not move transactions outside blocks ?
by
coinmachina
on 31/12/2017, 10:07:02 UTC
The actual transaction data would still have to reach every node in the network.

Yes, but it should be in the mempool when verified close to the time of mining, shouldn't it ?

I think so.


Then it would have to be stored along with the blockchain (i.e., this doesn't help if the amount of persistent storage is an issue) and you'd need some mechanism to update nodes that don't have that data, plus you need to handle cases where, say, a new block overtakes a transaction referenced by it, but I think the "tip" of global activity should generally not need much extra work.

- Werner

But what I don't see is how using hashes is any better than simply increasing the block size. You can make use of the fact that most miners already have the transactions of the new block in their mempool even if you don't use hashes. And as far as I know that is already being done at the moment.



Post
Topic
Board Development & Technical Discussion
Re: stupid question: why not move transactions outside blocks ?
by
coinmachina
on 30/12/2017, 18:05:47 UTC
The actual transaction data would travel separately and mempool synchronization would have to be made tighter.

The actual transaction data would still have to reach every node in the network.

The reason we aren't simply using 1GB blocks is that the network needs to synchronize when a new block is found. If the blocks are too large this cannot be done fast enough leading to a higher stale block rate.

Now, if a miner wants to verify that a block is valid, he needs to know the actual transaction data. Otherwise he could not check whether the transactions in the block are valid (i.e. no double spends, valid signatures). Therefore, even if the blocks only contain hashes of transactions, the actual transactions beeing added to the blockchain by that block would need to be synchronized among nodes. So effectively you do not gain anything in terms of efficiency with your approach.
Post
Topic
Board Development & Technical Discussion
Re: Atomic swap? Objection: I don't think it means decentralized coin exchange.
by
coinmachina
on 30/10/2017, 10:49:10 UTC
My biggest concern is scalability, obviously, but there is other challenges as well. I was just wondering if anybody has been studying the subject before and can share her/his ideas with me?

Yeah compared to centralized exchanges, cross chain swaps would not scale very well, assuming you already have the your money at the exchange.

If you don't normally store your money on an exchange and first would have to send your coins to the exchange, exchange it, and then withdraw your new money from the exchange, an atomic cross-chain swap would probably be more convenient. And of course more secure.
Post
Topic
Board Development & Technical Discussion
Re: good source of Bitcoin books
by
coinmachina
on 12/10/2017, 19:28:55 UTC
Quote
Also, the lecturers have written a book (http://bitcoinbook.cs.princeton.edu/) covering all the course topics.

If you want to learn about how Bitcoin works that book is really worth reading. I read the draft that is available for free at the linked website.

Also I have the feeling that videos, articles and posts in this forum are shallow in most of the cases with regards to the technology. So I think reading the right book on Bitcoin will help you more to understand it than just watching youtube videos.
Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Why bitcoin wasn't written in functional programming hence able to scale?
by
coinmachina
on 23/09/2017, 08:24:10 UTC
⭐ Merited by ETFbitcoin (1)
WhatsApp is a centralized service. That is why it can handle 900 million users in real time. It does not need a protocol for fault tolerant distributed consensus.

Bitcoin on the other hand does need such a protocol because it is decentralized in every aspect. This has nothing to do with the programming language used to implement this protocol.
Post
Topic
Board Bitcoin Discussion
Re: Theory: Satoshi Nakamoto is DPR (Ross Ulbricht silkroad founder)
by
coinmachina
on 22/09/2017, 17:41:02 UTC

The biggest hint is the perfectly lined up timeline:
The last time Satoshi was involved in Bitcoin was around January 2011, Silkroad launched in February 2011. So if DPR was Satoshi, this would explain why Satoshi suddenly backed off from the Bitcoin development, he was too busy developing and running Silkroad!


This is the only thing that makes slightly sense. With everything else you are mistaken I guess.

Nothing points to nakamoto being American. Also I'm pretty sure that Ulbricht does not have the technical skills needed to invent and develop Bitcoin.

Ulbricht however once said that he is not the original founder of Silk Road but that someone handed it over to him. What might be true (although not very likely) is that nakamoto is the founder of silk road but handed it over to other people later.
Post
Topic
Board Altcoin Discussion
Re: PoW algo that is cpu-only and works with fast and slow cpu's alike?
by
coinmachina
on 10/09/2017, 15:40:52 UTC
would it be possible to create a proof-of-work algo that is really not feasible with ASIC and GPU and is also made in a way that slow cpus can compete with fast cpus?

so to say that you have a coin which can competatively mined with even weak cpus ? enabling to use old smartphones or old laptops as miners, to put these old devices to a use?

It's hard to imagine that this is possible. If it actually is PoW then stronger CPUs would be able to do the work faster than weaker CPUs which would make mining with weak CPUs less profitable.

Also if you have a fixed mining puzzle it is always possible to build circuits that are solely made to solve this particular puzzle (a.k.a ASICs). One possibility to circumvent this might be to use a mining puzzle that is not fixed but changes from time to time, pretty much like the difficulty of crypto currencies is always changing. I don't really know if and how you could implement this in a way that makes sense but it might be possible. This would make ASICs useless because you would need some kind of general computing machine to mine such a coin.

It would also be possible to create a mining puzzle which does not require you to provide computing power but a different resource instead. For example storage. But this would not be PoW of course.
Post
Topic
Board Speculation
Re: Bitcoin will rise up or fall down?
by
coinmachina
on 10/09/2017, 14:38:38 UTC
What do you think? China banned BTC? And btc price goes to 4,069$ today Smiley
You think to sell or it can rise up again, some rumors said that btc will fall down to 2000$

China did not ban Bitcoin.

I think the price will go down in the next days because the Bitcoin euphoria recedes a little bit. But I find it hard to imagine that the price will drop to 2000$ within the next couple of weeks.
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin greatest vulnerability
by
coinmachina
on 30/08/2017, 07:54:02 UTC
Quote
using the phrase: 12345678901234567890 (brain wallet)

This phrase make a private and public key that apparently have been used for real before.

Private key:
5Jf6mGTeCg37iZST1ukHXacwyuhjL3ABvEcpgwCRQX9y9fLGLbD (thats the same key the OP found/created)

Public key>
15eUHuCMKGekXmfH2B5awPWnwY3qVe3Nz1

Yeah I think you got it right.

This basically just means that it is insecure to use bad randomness to generate your Keys. But that's an obvious thing and does not only apply to Bitcoin but to crypto in general.
Post
Topic
Board Development & Technical Discussion
Re: Proof of Stake Bitcoin?
by
coinmachina
on 29/08/2017, 08:44:01 UTC
Isn't PoS completely insecure due to the nothing at stake problem?

Or is there any solution to this problem?
Post
Topic
Board Development & Technical Discussion
Re: Can Bitcoin Script be extended to be Turing Complete?
by
coinmachina
on 28/08/2017, 14:47:20 UTC
I deal with Bitcoin Script and its opportunities.

Can stack-based language Bitcoin Script be transformed in a turing complete language by doing a hard fork in principle?

You can change any aspect of Bitcoin by doing a hard fork. So you could also introduce a scripting language that is more powerful than the current Bitcoin script.
Post
Topic
Board Development & Technical Discussion
Re: Selfish mining double spend
by
coinmachina
on 28/08/2017, 14:43:38 UTC
I think you are basically right.

If you are mining selfishly anyway then double spending attempts do not cost you very much.

However, the probability that a selfish miner will get a lead of 5 blocks is rather small even with 25% mining power. If the adversary has a lead of 5, the honest network has a chance of 32% to find 4 blocks in a row, reducing the adversary's lead to just 1. The adversary would now have to publish his chain in order to not lose his block reward. Therefore the double spend would fail because the merchants do not yet have accepted the payment of the adversary because of the confirmations needed.

That's just one example of how a double spend attempt might fail. This further reduces the probability of a successful double spend.

So your idea is basically right but the probability for this to work should be rather small. One would have to carefully calculate that taking every possible outcome of the chain race into account. And then you could estimate how long and adversary with mining power x would have to run his attack until (expected time) he succeeds in double spending.

However, at the moment I don't consider this a threat to Bitcoin. Selfish mining increases your relative reward (how much you get compared to what the honest network gets) but it is not a rational strategy if you want to increase your absolute reward (how much Bitcoin you get for the computing power you provide). Therefore the attack you described would have a certain cost because performing honest mining would be more profitable than selfish mining.
Post
Topic
Board Development & Technical Discussion
Re: Question about selfish mining
by
coinmachina
on 26/08/2017, 17:28:15 UTC
@stdo

Listen to what DannyHamilton said, he's right.

Unless the attacker has over 50% of the hash power, there is no reason for him to not broadcast the block since his block chain is just going to be overtaken by the rest of miners.
Not needed. All you need is a node with an extremely good connection to many network peers.

When you find a block, you hold it and keep it to yourself. Next, when someone mines a block, your very well connected node will be one of the first to hear about it and you can broadcast your own block instead. If your block somehow gets propagated faster than the other pools (ie. Being directly connected to large mining pools), they will build on top of yours. If another block is found on top of yours, you don't lose anything.
That's totally and utterly impossible. All the pools and big miners are heavily interconnected via extremely high bandwidth low latency connections. Any delays in propagating your own block today is guaranteed suicide. This is a very finely tuned network that has evolved over many years, not some script kiddy quality p2p network, and such an assumption is guaranteed dry anal sex for those delaying their own propagation.

Why is it impossible? All big pools are well connected but one of them might be just slightly better connected then the others.
Moreover selfish mining even increases your relative share of blocks if you have a poor connectivity to the network but a minig power of about 33%.
Post
Topic
Board Development & Technical Discussion
Re: Why don't miners forge timstamps in order to decrease the difficulty?
by
coinmachina
on 15/07/2017, 18:21:10 UTC
nodes will not have their adjusted network time deviating from system time by more than 70 minutes.

Alright, I understand. Thanks
Post
Topic
Board Development & Technical Discussion
Re: Why don't miners forge timstamps in order to decrease the difficulty?
by
coinmachina
on 15/07/2017, 16:28:13 UTC
Why cannot a miner simply operate multiple nodes which send wrong timestamps to their peers and thus push the average time among all nodes further into the future?
Post
Topic
Board Development & Technical Discussion
Re: Why don't miners forge timstamps in order to decrease the difficulty?
by
coinmachina
on 15/07/2017, 10:36:04 UTC

It is impossible for the blocks to deviate from the time by more than 2 hours. Nodes will reject any blocks that:
- Have a lower timestamp than the median of the previous 11 blocks
- Deviate from the network adjusted time (Average time given by the nodes connected) by 2 hours.

Okay thanks. But if the network time is the average time of connected nodes, couldn't a miner simply give a wrong time in order to push up the average?
Post
Topic
Board Development & Technical Discussion
Why don't miners forge timstamps in order to decrease the difficulty?
by
coinmachina
on 15/07/2017, 09:44:57 UTC
As far as I understand it the difficulty will be adjusted according to how long it took to generate a certain amount of blocks. The time the generation of these blocks took will be determined by the timestamps of the blocks.

My question now is: Why don't miners simply use wrong timestamps in order to exaggerate how long it took to generate the certain amount of blocks? So instead of putting the actual time into a block they simply take some date that is still in the future, e.g. one year from now. Then generating our certain amount of blocks did not take 2 weeks but more than one year.

As a consequence the difficulty would have to go down, wouldn't it?
Post
Topic
Board Anfänger und Hilfe
Re: Null Ahnung, möchte lernen
by
coinmachina
on 23/06/2017, 18:20:43 UTC
Wie sicher sind solche Börsen? Ich nehme an, ihr lässt dort nur einen kleinen Teil eurer Coins liegen, mit denen ihr handelt und restlichen trotzdem in eurer Wallet?

So mache ich das.

Die Bitcoins auf Börsen zu verwahren halte ich nicht für besonders sicher. Ich hab schon 2 mal Coins verloren als Börsen pleite gingen, weil sie (angeblich) gehackt wurden (cryptsy und BTer).

Ich würde schätzen, dass die Börsen heutzutage etwas sicherer sind (z.B. Poloniex), weil sie etwas mehr Zeit hatten zu reifen.

Achja, kann man auf diesen Börsen sein Guthaben mit € aufladen und mit dieser kaufen oder muss man mit BTC arbeiten?

Manche bieten die Möglichkeit direkt € einzuzahlen (geht z.B. glaube bei BTC-e). Wie gut das funktioniert weiß ich aber nicht.

Gibt es denn keine deutschsprachigen Börsen oder welche wo man zumindestens mit € einkaufen/verkaufen kann?

Ich kenne keine. Man kann auf bitcoin.de Bitcoins kaufen, ist aber keine richtige Börse. Aber altcoins bekommt man dort nicht.
Post
Topic
Board Altcoin Discussion
Re: Looks like the DASH party is over.
by
coinmachina
on 13/03/2017, 11:13:59 UTC
Is there a reason DASH suddenly started to pump? The rise seems steep and out of the blue...

I don't know any reason for this pump. To me it seems this came out of nowhere.

I also don't get why people are buying this coin because I don't see which advantages it has over Bitcoin.
Post
Topic
Board Altcoin Discussion
Re: Why the world needs Ripple XRP - Whitepaper
by
coinmachina
on 15/01/2017, 11:20:02 UTC
So what I don't get is how does the consensus mechanism for ripple work?

With bitcoin this is easy: If I want to state what transactions I consider valid I would simply mine on the according chain.

But how do I state which transactions I consider valid in Ripple?