Bitcoin Forum
May 02, 2024, 11:25:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 108 109 »
1301  Bitcoin / Hardware / Re: [Announcement] Avalon ASIC Ships on: January 20, 2013, 03:36:00 PM
A unit that is free to the Bitcoin Foundation is still paid for by someone - in this case by Avalon. Bitcoin doesn't grow on merkle trees, you know.
I'm wondering what would be an optimal use of the demo unit after Bitcoin Foundation posts the review. Auction it? My guess is that someone stateside would be willing to pay a premium to be able to tear down the unit for truely in-depth review.
1302  Bitcoin / Development & Technical Discussion / Re: Experimental pre-0.8 builds for testing on: January 15, 2013, 12:28:28 PM
I wonder what core precisely is meant.
I apologize I wrote like everyone knows and understands the postmortem debugging.

$ cat bitcoind.c
#include <stdio.h>
int main() { return printf("Hello %s!\n",2112); }
$ make bitcoind
$ ulimit -a
core file size           (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
$ ulimit -c unlimited
$ ulimit -a
core file size           (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
$ ./bitcoind
Segmentation fault (core dumped)
$ ls core*
core
$ gdb ./bitcoind core
GNU gdb (GDB) 7.1-ubuntu
Reading symbols from /home/2112/bitcoind...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...done.
Core was generated by `./bitcoind'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f4f24cd7e32 in _IO_vfprintf_internal (s=0x7f4f2500c780,
    format=<value optimized out>, ap=0x7fffcba92680) at vfprintf.c:1617
1617   vfprintf.c: No such file or directory.
   in vfprintf.c
(gdb) where
#0  0x00007f4f24cd7e32 in _IO_vfprintf_internal (s=0x7f4f2500c780,
    format=<value optimized out>, ap=0x7fffcba92680) at vfprintf.c:1617
#1  0x00007f4f24cdf65a in __printf (
    format=0xffffe906 <Address 0xffffe906 out of bounds>) at printf.c:35
#2  0x000000000040053f in main ()
(gdb)

So on a reasonable OS program doesn't have to be compiled with debugging and/or run under the debugger to approximately locate the place where it crashed.

I think that it is a terrible legacy of Microsoft (and/or Apple) that various Linux distributions switched to "disable core dumps by default". The old "remove core dumps older than a week by default" was much better, because nobody would use the "program crashes, but not under the debugger" excuse.

Again, I want to apologize for writing like everyone already knows and just needed a reminder. Hopefully there will be at least one reader who wasn't familiar with the postmortem concept who now will learn how to override the default in their Linux installation to re-enable to perform good old core dumps. Nowadays core memory can probably be found only in museums, but the core dumps are still useful. Lets debug like it is 1970 again!
1303  Bitcoin / Development & Technical Discussion / Re: Experimental pre-0.8 builds for testing on: January 14, 2013, 11:55:35 PM
Sadly not, if invoked with gdb. :-(
I just wanted to remind you about "ulimit -c unlimited" to be able to meaningfully use the debugger after the crash. You're probably running with the default of "ulimit -c 0".
1304  Bitcoin / Mining / Re: extremely long blocks - what are the chances? on: January 12, 2013, 04:47:54 PM
Edit: I'd be interested in hearing from anyone who can show me how to answer this question without having to assume the time is broken up into 16554 blocks of 127 minutes. I couldn't see how to do it.
I'm not sure I understand your question. The inter-event time for the Poisson process has http://en.wikipedia.org/wiki/Exponential_distribution . Are you talking about something else?
1305  Bitcoin / Project Development / Re: [BOUNTY - 45 BTC] Audio/Modem-based communication library on: January 09, 2013, 03:12:57 PM
The solution doesn't have to be modem-based, but it should be able to handle 5 MB in under 2 minutes.
The required rate would need to be about 0.33 Mbps. For comparison: a perfect stereo CD-quality audio over S/PDIF or TOSLINK is about 1.41 Mbps. For another comparison: standard serial ports support up to 115200 bps (0.11 Mbps).

So this isn't impossible, but will be somewhat hard to achieve.

Telephone modem code base will not be immediately useable because it is designed for 8-bit nonlinear quantization, sampled at 8 kHz and a single pair of wires for both directions.

The typical audio line-in/line-out ports would support 48kHz sampling, 16-bit linear quantization and a separate wires for each direction.

Maybe this board is read by a telecommunication student who may have SDSL modem source code handy and be willing to downrate such a code to 20kHz audio band and is not bound by 3rd party licensing requirements.

Two possible ways forward:

1) try to integrate some amateur radio code like http://en.wikipedia.org/wiki/WSJT_(Amateur_radio_software) . There are several people here who could advise you how to modify it to take advantage of wider bandwidth, much better signal/noise ratio and no multipath/echo.

2) see if you can write on your own a code to generate a 10kHz sine wave and a code to receive it properly at -3dB with AGC (automatic gain control). If you manage that then again this board has enough people familiar with amateur radio to advise you how to implement simple QAM channel (Quadrature-Amplitude Modulation). It shouldn't be that hard to reach somewhere between 1/10 and 1/3 of the bandwidth you originally asked for.

In my humble opinion the most work will be related to integration, not actual DSP. Things like: which of the several standards of audio drivers to use; how to detect available drivers; how to control output volume to avoid distortion; how to control input volume to avoid both noise and distortion. And last but not least: how to disable various sound effects, pseudo-3D audio, super-bass, etc.
1306  Bitcoin / Bitcoin Discussion / Re: Formalised Bitcoin Protocol Standard on: January 07, 2013, 09:31:40 PM
I think that a reference implementation written in Haskell would be a big plus.
Ah, the obligatory visit from a silver-bullet salesman. This year's it is arturh selling Haskell. Last year it was Vandroiy selling aspect-oriented programming.

https://bitcointalk.org/index.php?topic=30200.msg614861#msg614861

It is fun to re-read the posts from late 2011 entitled "Request for Standarization". The more things change the more they stay the same, or in its original French "plus ça change, plus c'est la même chose".

Check out how etotheipi changed from 2011 when he was "out-of-core" to 2013 when he is almost "in-core".

Check out how my lame attempts at satire or Commedia dell'arte didn't change.

If we can't get an official Bitcoin standard can we at least find an official Bitcoin core development jester?
1307  Bitcoin / Development & Technical Discussion / Re: bitcoin/application/user-program supporting own scripts available? on: January 07, 2013, 01:46:39 AM
But he designed something intellectually consistent: abstract block-time, completely self-contained and discoverable by looking only inside the blockchain and only backward.
Well, a model/design which have dozends, probably hundreds of arbitrary chosen parameters as closer you look turns out, I should praise/appriciate?
You are joking. :-/  I never believe Satoshi had aimed at / wanted such a chaos/complexity which now is realized.
Quote
Please post something that shows that you understand how time-invariance of blockchain verification contributed to the security of the Bitcoin protocol.
You miss the point. I claim a practical "same security level" can be achieved without allowing 2h - wrong time-stamps, believing in say 30 sec inprecisions.
OK, I think I now understand our miscommunication.

I don't disagree that the "same security level" can be achieved with better time accuracy. I agree on this point.

What you seem to be missing from my point is the mathematical beauty of the "abstract time measured by the proof of work". The rules of Bitcoin have a beautiful property of statistical resistance to all kinds of cheating unless done by the 50%-or-more majority. No minority group can subvert this mechanism by coordinated cheating with timestamps, neither by moving block time forward nor backward.

So the single technical mechanism guards both honesty against double spending and against false timestamping. You may think that this is too complex; but I think it is mathematically minimal. In my opinion what you propose makes the Bitcoin more mathematically complex with unclear financial benefit.

Everyone here knows by heart that Satoshi considered transaction "confirmed" when it is 6 blocks deep in the blockchain.

Can you see the beauty of the fact that it takes 6 blocks to recognize that the time-on-the-blockchain moved forward? 6 blocks is measured statistically as a median-of-last-11-blocks. Anything less than 6-out-of-11 blocks wouldn't move the time forward! If it wasn't a median-of-11 but say average-of-11 then the time would move by an equivalent of increasing transaction confirmations by a fractional number.

6 may be an arbitrary number. 11 only looks arbitrary. It is actually dual to 6 by the duality of blocktime vs. blockheight. So if somebody proposes to change 6 without the corresponding change to 11, you now know that that person didn't really understand Bitcoin.

Yes, Satoshi could write this explicitly in his paper. But he probably set such a trap to allow himself to quickly grade the proposed changes to Bitcoin. So be aware of this when you making your own proposals.
1308  Bitcoin / Development & Technical Discussion / Re: bitcoin/application/user-program supporting own scripts available? on: January 06, 2013, 11:30:35 PM
It is not my job to design something what could be perhaps accepted and get preciser timing in the community. But here is a very simple variation:
It was chosen: 2 hours of time-difference, because a HW-clock has a typical 100ppm inprecisiosn and a miner should be able to run for 1 year without time-correction with standard clock! This was a mistake to allow! You also could have set the arbitrary limit to 1 month --> 120 minutes max go down to 12 mins max difference. But I would like to have a measurement which is much less than this 10 minutes of average block-time distance! Thus I wanted 1/2 min - a time less than the typical net propagation time, I believe. Then I also may have a good chance to see first effects of net-propagation which else are covered totally by time-variations of local wrong miner-time. Through away (time-)information is trivial, but getting lost information back often impossible.
Just springs to my mind: would be interesting in regard to creation times of orphan blocks.
It's not your job? Dude, it wasn't Satoshi's job either. But he designed something intellectually consistent: abstract block-time, completely self-contained and discoverable by looking only inside the blockchain and only backward.

What you doing is just digging your own intellectual grave: flogging the hobby horse of parts-per-million clock accuracy and not showing any understanding of how abstract-but-cryptographically-secured time allowed Satoshi to make mathematical guarantees of security and convergence.

Please post something that shows that you understand how time-invariance of blockchain verification contributed to the security of the Bitcoin protocol.
1309  Bitcoin / Development & Technical Discussion / Re: bitcoin/application/user-program supporting own scripts available? on: January 06, 2013, 10:04:33 PM
Hmm  .. even my watch has a much better offline-time precision - it is a cheap quartz-watch (no radio-watch). Sounds more like a design-bug or probable pure design quality which noone inside the community really cares at this special point. But to everybody outside, who get knowledge of this fact, might/could indicate/estimate low quality of the whole bitcoin-project. What and how miners get the true time into their then mined block is their problem like all other header values to be (checkable) correct. We must not be forced to accept such huge time inprecisions - ridiculous, IMHO.
I kinda agree that some design assumptions are ridiculous. But the design is a community-supported effort, and there are many people on the Internet who subscribe to very strange ideologies.

One of them is that some goverment (probably USA) will subvert all observable time sources (NTP, GPS, etc.) yet the Internet will continue to operate. This is completely ridiculous, as vast majority of the modern digital communication is synchronous and relying on the precise clocks that are satellite-synchronised. Just check out the post above by retep; or earlier posts by gmaxwell or Hal. I find this level of misunderstanding of modern communication technology fairly prevalent, just check out this recent thread. https://bitcointalk.org/index.php?topic=133445.0

When you understand this bunker-level of paranoia you'll also understand the design choices for the Bitcoin time algorithm. It continues to operate in completely off-line mode underground or underwater, where you get to synchronize your blockchain by carrier-moles or carrier-dolphins. I can clearly admire the ideological consistency: the function "valid(block,blockchain)" is a pure function that depends only on its arguments, not on a implicit, side-channel access to a trusted time source.

The other side of this argument proposes two algorithms: one real-time (for "current" blocks) and one past-time (for "historical" blocks). I have yet to see anyone who proposed a single contiguous algorithm which will reject the same blocks both when seeing them on the p2p net and when verifying the stored blockchain. Can you write a proof that your pure function "valid(block,blockchain,t)" is both independent of the "t" parameter and somehow better than the old "valid(block,blockchain)" function? And for what definitions of "better"?
1310  Bitcoin / Development & Technical Discussion / Re: bitcoin/application/user-program supporting own scripts available? on: January 06, 2013, 07:44:02 PM
Obviously we understand "sane" much different. And a time stamp, say < 30 sec off the true time should be very easily available for every miner PC-user.
If I remember correctly the variation is up to 15 min, but everybody can see this in the block chain himself. You can sometimes notice blocks form the future or blocks which are younger than their predecessor if you looking for new dropping in blocks.
This nonsense I don't call sane.
This reduced-sanity mode is there to allow a part-time on-line/part-time off-line operation. You'll need to come up with a better sanity checking that doesn't require full-time on-line operation and doesn't create orphaned sub-chains when coming up online after a downtime.
1311  Bitcoin / Bitcoin Discussion / Re: Formalised Bitcoin Protocol Standard on: January 05, 2013, 09:58:07 PM
That's just the inevitable outcome when you have people losing money for every hour they're on an alternative chain.
What's with that "losing money" FUD? As far as fixing OpenSSL I understand that the existing blockchain would fail the self-test. So the outcome would be that nobody using Satoshi's client would upgrade until core developers come up with an explicit way to reproduce the old OpenSSL bugs. Is that what you are afraid of?

Anyway, weekend is a good time to post my favourite picture of an amber.

1312  Bitcoin / Hardware / Re: FPGA mining - massively parallel looped vs unrolled on: January 05, 2013, 07:37:34 PM
any real numbers to argue for or against what I propose?
Check out the posts by bitfury. He was/is offering such design for sale.

https://bitcointalk.org/index.php?topic=83332.0

http://www.bitfury.org/bitfury110.html

http://www.bitfury.org/xc6slx150.html  <- the planahead porn is here

Briefly: almost everyone is offering the unrolled designs because the rolled sea-of-hashers design hit some worst cases in the synthesis/place/route toolchains: they either fail to converge or converge to shamefully bad implementations. Any practical implementation would have to utilise some sort of workaround for the toolchain's lack of convergence.

I believe that the most recent/fastest bitstreams from ngzhang are also closed-source because of the effort he had to expend to successfully implement them. The default Xilinx ISE wasn't cutting it anymore.
1313  Bitcoin / Bitcoin Discussion / Re: Formalised Bitcoin Protocol Standard on: January 05, 2013, 06:10:49 PM
P.S.  This reminds me...the original specification for Smalltalk was published in a Book (called the Blue Book)...in that book, the specification for the Smalltalk virtual machine was written in Smalltalk (in the book)...years later, a transcription of that implementation from the book was used as the basis for Squeak's virtual machine which is written in Smalltalk and translated to C for compilation to any target architecture...
Smalltalk blue book is a beautifull example of how to write a great specification and simultaneously how to lose money on a business venture. The book(s) are just beautifull; but the business was really nasty: Xerox jeaously guarded the trade secrets and copyrights and demanded tremendous royalities and fees. Even after the Smalltalk died as a viable business competitor Xerox lawyers with great effort guarded the copyrights for what essentially was an abandonware. Thus came Squeak: a clean-room legaly-unimpeachable re-implementation to avoid paying Xerox.

With the business advice like that Bitcoin doesn't need enemies.
1314  Bitcoin / Bitcoin Discussion / Re: Formalised Bitcoin Protocol Standard on: January 05, 2013, 04:24:24 PM
Mike, simple question, what happens when OpenSSL fixes the buggy behavior?
More work, praise for work, and respect from work to the core development team. In the absence of the usual, salaried work arrangement respect is about the only motivating factor everyone can count on.

There is a problem with the alternative compensation schemes: big payoff after successfull delivery: it works for well managed IPO or well executed long con.

Bitcoin hitting 1.0 without a complete protocol spec would be a serious mistake IMHO.
I think that the fixed specification is not a worthwhile goal. The goal should be to establish a protocol management organization that has inclusiveness written into the statute.

But in order to achieve the above Bitcoin millieu would need to have a credible economic force to counterbalance the American-Japanese coalition that currently steers Bitcoin.

It would be very easy to completely derail the specification writing by overdesigning it or overformalizing it. I'm somewhat familiar with the infamous history of the VRML (Virtual Reality Modeling Language) that Gavin Andresen co-authored. It was primarily developed by the consortium of hardware manufacturers with very little input from the primary users of modeling: 3d sculptors, graphic artists, industrial designers, etc. VRML became an idealized superset tool that wasn't really supported by the actual tools used in the industry from Wavefront, Alias, Softimage, etc. It appealed only to programmers and probably to hardware vendors.

Decent brief on the historical context can be read here:

https://design.osu.edu/carlson/history/lessons.html

in sections 7 and 8.

So the VRML misdesign equivalent would be to design Bitcoin according to the needs of cryptographers and programmers to the detriment of accountants and other users of financial software.

Do you recognize the similarities to the current situation?

Anyway, to have a credible standarization effort you'll need cash flow to support it. There is very little point in comparing it with efforts like HTTP or VRML or other "(say > 100 devs and say > 100 million USD)" undertakings. I don't think that there won't be much benefit to it unless there is at least 4 people drawing 4 salaries doing full-time Bitcoin development. I don't think Bitcoin is at this stage yet.
1315  Bitcoin / Bitcoin Discussion / Re: Will Ubuntu for smartphones explode Bitcoin? on: January 05, 2013, 11:54:59 AM
But - reality check - no major consumer electronics brand name is going to steal money off peoples phones. That just isn't a threat worth worrying about. Such a theft would be detected immediately, it would trash the reputation of the brand overnight and the money to be gained from it would be trivial.
I'm sorry, but your reality check just bounced. Two example scenarios where this could happen:

1) major brand does outsourcing deal with a non-brand where the value of the contract is set low because the sub-contractor relied on the non-traditional sources of income.

2) major brand does layoffs and the employes push an update with accidental-on-purpose exploit that facilitates this type of theft.

If the brand is really major you can count on no-expenses-spared PR campaign to cover up such missteps.

Those scenarios aren't theoretic, paranoid speculations. Those are things that did happen to e.g. Hewlett-Packard and probably many others.
1316  Alternate cryptocurrencies / Altcoin Discussion / Re: FreiCoin (FRC) Fork WITHOUT 80% Of Coins Given To FreiCoin Foundation on: January 04, 2013, 05:34:14 PM
Give all of it away in grants. We're currently forming a review board to select proposals to fund, and coming up with bylaws and selection criteria.
I have the following proposal: give away certain small fixed fraction of foundation coins to the same addresses that were used by original miners of the original blocks. This would test the technical skills (programming and system administration) of the miners. The grants that would not get redeemed will signify an abandonware miner.

This grant should automatically cease once the technical skill required to redeem this grant becomes nearly universal.
1317  Bitcoin / Bitcoin Discussion / Re: Formalised Bitcoin Protocol Standard on: January 02, 2013, 04:24:54 PM
It would be very useful and wise, in my opinion, if there was a formalised document describing the protocol to every detail, but in a way that is easy for anyone to follow.
Perhaps if you post an example of a specification that is both "formal" and "easy for anyone" we could make a better comments. Common way of thinking leans toward saying that those are polar opposites.

Anyway, the major points against are:

0) extremely expensive
1) a lot of work with comparatively little benefit
2) hard to prove internal consistency
3) hard to verify consistency with non-formal, but actual implementations

When asked for pitfalls of "formal modeling" I nowadays point towards the ARM Architecture Manual and the way how multi-million company with clearly clever and well motivated staff ended up with BE32 and BE8 (a.k.a. just plain BE): two largely incompatible ways to implement big-endianess.
1318  Bitcoin / Development & Technical Discussion / Re: SatoshiDice, lack of remedies, and poor ISP options are pushing me toward "Lite" on: January 02, 2013, 04:06:13 PM
There has never been a hardforking change of the blockchain protocol rules.
So how do you call the hard fork that occured after a fix to the integer overflow issue?

https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures#CVE-2010-5139
1319  Bitcoin / Hardware / Re: Block Erupter: Dedicated Mining ASIC Project (Open for Discussion) on: December 31, 2012, 06:34:13 PM
If they can manage to keep the bottom clean they could definitely use a back plate to help cool the board.

Most QFNs have epoxy from the top of the die to the top of the package. It might not be a great thermal interface, but given the very low power per chip it will still be able to help.
Obviously the biggest constraint is time-to-market or time-to-mine.

Wouldn't it be practical to keep all PCB layers clean under the ground paddles; use a hole punch to cut out the PCB epoxy under the chips and mount the real heatsink on the bottoms with copper washers/thermal spreaders? The tops would then just need a mechanical clamp.

I'm just brainstorming. I made a suggestion about 5 months ago about using power IC packages in this thread: https://bitcointalk.org/index.php?topic=91173.msg1062969#msg1062969 . friedcat responded then immediately deleted his response because it probably disclosed something NDA-embargoed.
1320  Bitcoin / Hardware / Re: Block Erupter: Dedicated Mining ASIC Project (Open for Discussion) on: December 31, 2012, 05:58:31 PM
Diablo, the small adhesive attached BGA heatsinks weigh almost nothing. They're not going to stress the chips.
But are they going to help? BGA cases are flip-chip; with chip substrate connected to the top of the case.

QFN packages don't flip the chip and actually have air between the top of the package and the chip, because they need to accommodate the bonding wires. They really want to be cooled through the bottom of the PCB because this is where they have the least thermal resistance and a biggest piece of metal: ground connection for the substrate.
Pages: « 1 ... 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 108 109 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!