Search content
Sort by

Showing 20 of 36 results by deuteragenie
Post
Topic
Board Development & Technical Discussion
Re: Complete dezentralisation of mining possible ?
by
deuteragenie
on 12/07/2017, 18:45:43 UTC
Quote
It has existed since years ago. Gekkoscience do have a USB miner that outputs 20+ GH or so.

Ah! I wasn't aware of that.  Thanks for the pointer.
It looks like with some effort, a USB 2.0 dongle could reach 0.5 TH/s (consuming 2.5 watts)
That is, 1.8 KWH / month (assuming 24h/24h operations - unrealistic!), that is roughly 4 USD energy costs per month - less than your bank fees!
If such a dongle was available, it is likely that many bitcoin (and other alts!) users would purchase and use it, as it guanrantees their own security (ie protection against 51% attacks / other forms or attacks...), this would decentralize mining effectively.
Let us suppose that such a dongle would sell for 20 USD, profit 5 USD.
When motherboard manufacturers will realize that they can get enter this market easily by providing it on board, at cost 10 USD, profit 2 USD, they will do...

So the question is: how to lower the barrier of entry to mining and make it affordable for the masses.

If the (current) bitcoin protocol has been foreseen to cope with tenths of millions of miners, that should work and is only a question of time.
Post
Topic
Board Development & Technical Discussion
Re: Complete dezentralisation of mining possible ?
by
deuteragenie
on 12/07/2017, 15:37:31 UTC
The BM1387 ASIC chip is capable of ca 0.07 TH/s and consumes roughly 5 watts.
You would need some 70 millions of those installed to match the current total network hash rate.  No need for billions or users.
Honestly, I don't know why you have refused to listen to my comments on this. No phone or laptop will ever be able to support this. The power consumption is way too high. Less than an hour of mining and your battery will be drained.

Phone and PC/laptop manufacturers could add an ASIC to their boards for example.
Or dongles could be made (possibly combining OTP generation with mining killing two birds with one stone...).
Quite honestly the "price" to pay (ie device + energy costs) is well worth it !
What do you think ASIC chips are? LEGOS? Do you seriously think that anyone can smack a big ASIC chip into a device with a LOW TDP design in mind? The price for the design could very well cost more than several HUNDRED thousands and the phone would each cost more than $100 extra and not everyone would use it. Honestly, no one would buy it.

I believe that the major issue would be rather on the network bandwidth / latency side of things.
I do not know if bitcoin has been designed with such a heavily decentralized mining in mind.

Its not. Why the hell would it be? Decentralised mining will NEVER be realistic.

I gave you an example of a good commercial existing chip to explain that there is no need for billions of users.
That chip is using 14nm technology (and is less than 20mm2 btw), so by far not the most optimized thing that could be achieved with the most recent technologies.
We are not far from the 2.5watts of USB2.0 for example, which opens the door for simple mining using USB dongles.
You can also be quite certain that big players could design faster/smaller/more efficient chips.

It looks to me like completely decentralized mining is within reach.  Laptops consuming 50 watts for example could easily accomodate 5 watts overhead.

So, the question is more about the network related issues, and the underlying bitcoin mining protocol requirements.
Post
Topic
Board Development & Technical Discussion
Re: Complete dezentralisation of mining possible ?
by
deuteragenie
on 12/07/2017, 11:31:48 UTC
Quote
Hahaha, well no i really think it's a great idea, but how to reach all those potential miners?
I could finnaly join the miners club :d

The BM1387 ASIC chip is capable of ca 0.07 TH/s and consumes roughly 5 watts.
You would need some 70 millions of those installed to match the current total network hash rate.  No need for billions or users.

Phone and PC/laptop manufacturers could add an ASIC to their boards for example.
Or dongles could be made (possibly combining OTP generation with mining killing two birds with one stone...).
Quite honestly the "price" to pay (ie device + energy costs) is well worth it !

I believe that the major issue would be rather on the network bandwidth / latency side of things.
I do not know if bitcoin has been designed with such a heavily decentralized mining in mind.


1 small thing, what about the full blockchain size of 120gb + does it need to be installed on my phone to mine?
Otherwise, with 2 billions of phone's sold world wide the is a potention in it  Cool

You can either prune the chain or use a pool.  I don't see this as a major issue.
Post
Topic
Board Development & Technical Discussion
Re: Complete dezentralisation of mining possible ?
by
deuteragenie
on 12/07/2017, 11:15:09 UTC
Quote
Hahaha, well no i really think it's a great idea, but how to reach all those potential miners?
I could finnaly join the miners club :d

The BM1387 ASIC chip is capable of ca 0.07 TH/s and consumes roughly 5 watts.
You would need some 70 millions of those installed to match the current total network hash rate.  No need for billions or users.

Phone and PC/laptop manufacturers could add an ASIC to their boards for example.
Or dongles could be made (possibly combining OTP generation with mining killing two birds with one stone...).
Quite honestly the "price" to pay (ie device + energy costs) is well worth it !

I believe that the major issue would be rather on the network bandwidth / latency side of things.
I do not know if bitcoin has been designed with such a heavily decentralized mining in mind.


Post
Topic
Board Development & Technical Discussion
Re: Complete dezentralisation of mining possible ?
by
deuteragenie
on 01/07/2017, 15:53:23 UTC
BM1387 ASIC inside the Antminer S9: 189 pcs per unit, each unit 14 TH/s
So, each BM1387 is capable of ca 0.07 TH/s, consumption roughly 5 watts as well
To achieve the current 5.000.000 TH/s, you would need 71 millions of those.
Assume 50% mobile users with one chip, and 50% desktop users with two chips, that means a completely fully decentralized network of roughly 50 millions users.
The issues would seem to be more on the network bandwidth / latency etc side than on the ASIC side I believe.
Post
Topic
Board Development & Technical Discussion
Re: Complete dezentralisation of mining possible ?
by
deuteragenie
on 01/07/2017, 14:05:52 UTC
150pcs of A3233-q48 are fitted in a 1TH/s Avalon Miner.
See https://bitcointalk.org/index.php?topic=523309.0
Cost per unit is ca 0.1 USD
Consumption is about 5 watts

So it seems that if each user/miner would be equipped with one chip, the number of users/miners necessary to achieve the same hash power as of today would be 5000000 TH/s * 150 = 750 millions.  That is much less than the number of facebook users !
Post
Topic
Board Development & Technical Discussion
Re: Complete dezentralisation of mining possible ?
by
deuteragenie
on 01/07/2017, 12:55:19 UTC
Maybe the PoW function should be made as simple as possible, so that ASICs can be devised for it very easily.
The design of such ASIC could be open sourced - removing the barrier of entry, ensuring a level playing field.
Then, every device on the planet can easily be fitted with these ASICs and the overhead of doing would be negligible for HW manufacturer.
I do not think it would be necessary to reward miner in a heavily decentralized scenario (say, > 100M miners) - the fact that you would get secure transactions for the cost of the energy you spend seems to be enough of incentive.
Then, I also believe that any user node should (must) be a mining node.
That is, it should not be possible to use the system without contributing to mining.
Post
Topic
Board Bitcoin Technical Support
Re: Signing messages offline / sending online
by
deuteragenie
on 29/06/2017, 15:34:53 UTC
It was a little hard finding a self contained message signing page.   It shouldn't be. 
...
If you don't want to install a full wallet, you can take this route.
...

Just installing bitcoind and running bitcoin-cli signmessagewithprivkey offline worked like a charm. 
No need to download the blockchain whatsoever so this is a very fast (2 minutes install time) and secure way to generate signed messages.

Thx to all for the explanations.
Post
Topic
Board Bitcoin Technical Support
Re: Signing messages offline / sending online
by
deuteragenie
on 29/06/2017, 08:48:12 UTC
I am confused, why would you think that signing and broadcasting were linked in any way?

There are probably several reasons for why this is the case:
- Me being stupid, as I mentioned above, is a primary cause of why I would think this could be the case
- Another reason could be the confusion that exists between signing a transaction and signing a message 
- And yet another one could be that the documentation is maybe lacking / unclear

I hope this helps your understanding.
Post
Topic
Board Bitcoin Technical Support
Re: Signing messages offline / sending online
by
deuteragenie
on 28/06/2017, 16:02:22 UTC
Aaaah! You nailed it.  Stupid me was under the impression that signing was somehow linked to broadcasting the message/signed message.
But it is not the case, so my questions were not relevant indeed.
Thank you for making it clear.

I guess I will try this API then: https://bitcoin.org/en/developer-reference#signmessagewithprivkey

Post
Topic
Board Bitcoin Technical Support
Re: Signing messages offline / sending online
by
deuteragenie
on 28/06/2017, 12:35:59 UTC
Thank you.

I understand that I can import the private key in an (offline) tool on an airgapped computer.
However, what is unclear to me is how to generate the signed message on the airgapped computer, but submit it on an online computer.
For that, I would need to be able to export the message/signed message on a USB key for example.
Is this possible using existing tools?
Post
Topic
Board Bitcoin Technical Support
Topic OP
Signing messages offline / sending online
by
deuteragenie
on 28/06/2017, 08:21:23 UTC
I have a paper wallet, and would like to sign a message (NOT a transaction!) offline, on an air-gapped computer, transfer the message and signature using a USB key to an online computer and send the message and signature online.

a) Is there a way to achieve the above?
b) Do I put my private keys in danger in any way? In particular, can I trust the digital signature algorithm to be robust? (i.e. NOT to reveal anything about the private key)
c) Do I need to pay fees to submit the message?
Post
Topic
Board Speculation
Re: Bitcoin can reach 3000 USD in a year ?
by
deuteragenie
on 02/05/2017, 08:56:46 UTC
Hitting 3000 USD would require a daily increase of about 0.4% for the remainder of the year.  Seems very possible to me!
Post
Topic
Board Service Discussion
Re: BTC Stolen from Poloniex
by
deuteragenie
on 04/03/2014, 12:12:58 UTC
my few c

1. select for update to lock selects, then update the btc value, in a transaction.

There are many others like hashing and triggers to validate data, and to ensure sql injection if happens can be discovered easily.

Update set new value=old value - difference is more efficient and locks the row with resorting to the lock you mention.  Add a check constraint on table.
Post
Topic
Board Service Discussion
Re: BTC Stolen from Poloniex
by
deuteragenie
on 04/03/2014, 10:03:49 UTC
I think just keep original fee and deduce 12.3% btc balance from all accounts until stolen BTC is covered (in 2-3 months). So the exchange will self-recover with the help of all users and no one lost BTC.
+1

A fee increase to 1.5% would likely be self-defeating in that volume would fall drastically. Keen to hear dev's estimate on pay back schedule, based on current earnings. I think he owes us that much...once he's had some sleep Smiley

Yes, we realize fully that it will take a % of future profits.  This is the price to pay for this type of things...
=> This should be made "standard" by the BCF and people should only go to exchanges that adopt this guideline.
Post
Topic
Board Service Discussion
Re: BTC Stolen from Poloniex
by
deuteragenie
on 04/03/2014, 09:34:18 UTC
This is a very good post ! Thanks.

That being said, I think that the mechanism for 'reparation' should be as such:

Distribute 12.5 % shares of your company to all customers, pro-rata their BTC.
Pay dividends on a frequent basis.
Offer to buy back shares if users so desire.

It would be excellent to have such mechanisms described and agreed for all exchanges...
Post
Topic
Board Bitcoin Discussion
Re: @fonestar (on the ZeroKnowledge Blog) is a true hero
by
deuteragenie
on 17/02/2014, 09:27:48 UTC
Epic:

Gold vs bitcoin thread, extract:

...
SG: "No, gold is real."
FS: "If your gold has not received three confirmations on the blockchain it is not real."
...
Post
Topic
Board Development & Technical Discussion
Re: Speeding up signature verification
by
deuteragenie
on 29/01/2014, 22:00:48 UTC

The book tells (well, hints) how to compute lambda and beta, and here are the values I found:
lambda = 0x5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72
beta = 0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee


Isn't lambda a solution of l*l+l=-1 mod n ?

If that's the case, there are actually two possible lambdas:

5363AD4CC05C30E0A5261C028812645A122E22EA20816678DF02967C1B23BD72
and
AC9C52B33FA3CF1F5AD9E3FD77ED9BA4A880B9FC8EC739C2E0CFC810B51283CE

What made you choose the smaller one ?
Post
Topic
Board Development & Technical Discussion
Re: Speeding up verification of digital signatures
by
deuteragenie
on 23/01/2014, 22:20:07 UTC
Wow! Impressive how fast you did this!

- I suppose that addition can be sped up in bounty castle because parameter 'A' is zero for the BC curve.
- This part of your code is interesting:

for (int j = 255; j >= 0; j--) {
         sum = sum.twice();
         for (int i = 0; i < len; i++) {
            if (u2.testBit(j)) {
               sum = sum.add(Q);
            }
         }
      }

I do not know how much the 'if' and the 'testbit' method cost, but theoretically they could be replaced by a symbolic expression evaluator, at the cost of traversing a tree and a few pointers.  Not sure what would be fastest.

- I am unsure whether the 'attack'  on batch verifications apply to the use of signature verifications of the blockchain in the BC context.  Presumably, one could apply batch verify until, say, the last 1000 blocks, then switch to the individual verifications.
Post
Topic
Board Development & Technical Discussion
Re: Speeding up verification of digital signatures
by
deuteragenie
on 23/01/2014, 08:58:31 UTC
It would be good if there was an implementation of this available somewhere to try to figure out what the actual speed up could be, as it is not possible, on modern CPU architecture to determine the speed up by counting the number of adds/muls.  Unfortunately, I have not been able to identify an implementation.

The custom bitcoin curve code gives a much higher effect without using potentially an insecure technique.

Is it so that sipa's custom code is used in the current implementation ?

Why do you say that the technique is potentially "insecure" ? This would only be used to verify signatures on the blockchain, how can this be "insecure" ?
The signature verification can be tested thoroughly against a reference implementation (OpenSSL and sipa), so the likelihood to incorrectly verify signatures (either declaring them valid, when they are not, or vice-versa) is very low.