Bitcoin Forum
June 04, 2024, 09:41:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 [134] 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 »
2661  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 27, 2010, 06:32:26 AM
Added VIA padlock support, in git.

Completely untested -- I don't have the hardware.
2662  Bitcoin / Development & Technical Discussion / Re: anyone tried running with VIA Padlock extensions? on: November 27, 2010, 06:31:27 AM
Download 0.3.10 HERE!!

Thanks for the inspiration.  After reading this, I added VIA padlock support to my CPU miner.
2663  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 27, 2010, 04:25:07 AM
Updated the git repo (Linux) and http://yyz.us/bitcoin/cpuminer-installer.zip (Windows) to fix hash meter problems.

Size: 1858209
SHA1: c9c2695b7f6708956dfe9b06e02a28fdc0cf46c9
MD5: 144e2c7d61d739a267bb623122e103e7

--algo=4way pretends to work, burns CPU and stuff, but only shows 0.00khash/s all time and some PROOF...false msgs, so i think it doesn't.

I fixed the 0.00 khash/s problem, but it looks like the algorithm might be returning incorrect hashes.  I marked it "EXPERIMENTAL" in --help for now.
2664  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 27, 2010, 12:52:44 AM
Note that the khash/sec calculations are known to be buggy, so you cannot trust those numbers Sad  Will try to fix that soonish, so people may accurately compare numbers with other installations.
2665  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 27, 2010, 12:32:04 AM
Quote
I'd be interested to see how well this works on Vista, XP, 7, ...
complaining about "libcurl-4.dll missing" (although it's there at c:\CPU-miner\usr\i686-pc-mingw32\sys-root\mingw\bin\) it won't even start on 64bit XP&7, 32bit XP,
am i missing something?

Updated the installer at http://yyz.us/bitcoin/cpuminer-installer.zip

Does the problem still exist?

EDIT:  Here are the checksums for the latest Windows installer zipfile...
     Size: 1978933 bytes
     SHA1: fdea8a045db5e09b7441a4059fbdba186490e742  
     MD5: e60dbfb7c3b458c2a98e71cb295f9b7d  
2666  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 27, 2010, 12:11:18 AM
complaining about "libcurl-4.dll missing" (although it's there at c:\CPU-miner\usr\i686-pc-mingw32\sys-root\mingw\bin\) it won't even start on 64bit XP&7, 32bit XP,
am i missing something?

Same here (WinXP)

Clearly my installer-maker is having a problem  Sad   Will investigate (though probably tomorrow).
2667  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 27, 2010, 12:09:30 AM
You should try it with tcatm's 4-way SSE2 SHA in sha256.cpp.

Added.  Users may select this by enabling SSE2 instructions in their compiler during build, and then

Code:
$ minerd --algo=4way

will select the 4way implementation, rather than the default 'c' implementation.  Run "minerd --help" to make sure 4way is listed as an available option first; if not, you did not build with SSE2 enabled (-msse2, or many values of -march=xxx).
2668  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 27, 2010, 12:06:59 AM
Quote
I'd be interested to see how well this works on Vista, XP, 7, ...
complaining about "libcurl-4.dll missing" (although it's there at c:\CPU-miner\usr\i686-pc-mingw32\sys-root\mingw\bin\) it won't even start on 64bit XP&7, 32bit XP,
am i missing something?

Try adding c:\CPU-miner\usr\i686-pc-mingw32\sys-root\mingw\bin\ to your PATH, then run minerd.exe?
2669  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 26, 2010, 11:03:51 PM
You should try it with tcatm's 4-way SSE2 SHA in sha256.cpp.  It compiles fine as a C file, just rename sha256.cpp to sha256.c.  I was able to get it to work in simple tests on Windows, but not when linked in with Bitcoin.  It may have a better chance of working as part of a C program instead of C++.

I'll take a look.  VIA Padlock support may also be similarly easy to integrate.
2670  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 26, 2010, 09:45:54 PM
Should I use a particular version of jansson? I installed it from git, and get the following compile error:

Code:
util.c: In function ‘json_rpc_call’:
util.c:133:2: warning: passing argument 2 of ‘json_loads’ makes integer from pointer without a cast
/usr/local/include/jansson.h:188:9: note: expected ‘size_t’ but argument is of type ‘struct json_error_t *’
util.c:133:2: error: too few arguments to function ‘json_loads’
/usr/local/include/jansson.h:188:9: note: declared here

It's been tested with jansson 1.2 and 1.3 release versions.

EDIT:  If you lack jansson, current cpuminer.git will build an in-tree version.  Thus, you may opt to fix the problem by... removing jansson from your system.
2671  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 26, 2010, 09:32:51 PM
Attached is a Windows executable build with mingw32.  I'd be interested to know if it works.

run "minerd.exe --help" or "minerd.exe -h" to show command line options.

minerd.exe SHA-1 sum: 722fa3b956de3ed3438ed3294fe191f0d55c1514
minerd.exe MD5 sum: 9f75f8da7a5d02da1d45d46d4a032489
2672  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 26, 2010, 07:47:02 PM
FWIW, the default bitcoin miner also does this -- it just doesn't print out when it "finds some zeroes", only when a real proof of work is found.

Thus, my CPU miner always shows when it stops working on a solution, and starts working on a new solution.  Just giving you a bit more information on the whole process.
2673  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: November 26, 2010, 06:10:29 PM
Nice work.

But :
Quote
DBG: found zeroes in hash:
6c1e0d9af9b06eab5aae7fbe058760708c1c7869870142b91b9c0ae300000000
PROOF OF WORK FOUND?  submitting...
PROOF OF WORK RESULT: false (booooo)
[...]
DBG: found zeroes in hash:
c155613cbd70edad88bf56b06cbd788329a2a741b27ee78f25abdb2e00000000
PROOF OF WORK FOUND?  submitting...
PROOF OF WORK RESULT: false (booooo)

I don't know if this is a bug or not.
The miner has been compiled with cygwin, I don't know if it matters.

Not a bug.  The miner finds a hash with "several" zeroes in it, but then relies on bitcoin to do the full 256-bit hash < target value comparison.  It's normal that some hashes will be found by the CPU miner, then rejected by bitcoin.  We call those almost-solutions Smiley
2674  Bitcoin / Press / Bitcoin press hits, notable sources on: November 26, 2010, 09:55:02 AM
To collect everything in one thread (and possibly help with the wikipedia effort), would the community be willing to post URLs to the thread, of notable sources or "press hits" (mentions in the press somewhere)?

"notable" is a loose definition that just means exercise common sense:  a mention from a blogger with 1000 hits/month is not notable, nor is your average forum post, nor is anything that gives an obvious impression of bitcoin community self-promotion.

Let's start off with...

1) Bitcoin: A Peer-to-peer Electronic Cash System
Author: Satoshi Nakamoto, bitcoin inventor
http://www.bitcoin.org/bitcoin.pdf

2) Bitcoin: Virtual money created by CPU cycles
Author: Nathan Willis, LWN
https://lwn.net/Articles/414452/

3) Imagine your computer as a wallet full of Bitcoins
Author: Danny O'Brien, Irish Times
http://www.irishtimes.com/newspaper/finance/2010/1126/1224284180416.html

4) Bitcoin Electronic Currency: The Future of Money
Author: Elliott A. Prechter, www.elliottwave.com (Sept. 2010 issue)
http://www.bitcoinblogger.com/2010/09/bitcoin-electronic-currency-future-of.html

5) Bitcoin Releases Version 0.3
Author: a random slashdot contributor; notable because this brought a large influx of new bitcoin users
http://news.slashdot.org/story/10/07/11/1747245/Bitcoin-Releases-Version-03

6) LINKS: 12 JULY 2010
Author: John Robb, influential author and thinker (see impressive bio)
http://globalguerrillas.typepad.com/globalguerrillas/2010/07/links-12-july-2010.html


[sirius-edit: Please contribute to the Bitcoin press hits wiki page.]
2675  Bitcoin / Bitcoin Discussion / Re: Bitcoin in the Irish Times on: November 26, 2010, 08:55:37 AM
Google searches will find the From_Xenu wiki page without a problem...

The page isn't indexed by search engines because it contains the {{NOINDEX}} template.

Various google searches get you one step away, either linking to the bitcoin forum or http://en.wikipedia.org/wiki/Wikipedia:Requests_for_undeletion/Archive_20#Bitcoin
2676  Other / Off-topic / Paypal Demos Change-Free Gumball Machine on: November 26, 2010, 06:37:33 AM
URL: http://www.allvoices.com/contributed-news/7436607-paypal-demos-changefree-gumball-machine

Quote
At the recent Paypal X Innovate 2010 Developers Conference, held in San Diego, CA in late October, Paypal Labs showed off their proof-of-concept change-free gumball machine.

A clever combination of PayPal, QR codes (a type of barcode that can be scanned on a smartphone and can contain various kinds of information, including web links), smartphones and Twitter, the gumball machine instantly debited a PayPal account and dispensed a gumball to anyone with the capability to read QR codes on their mobile phone.
2677  Economy / Economics / Re: Sallie Mae and Government Fascism on: November 26, 2010, 06:30:16 AM
find a kid that died before he was 16 born in the same year as you (he wont have a SIN/SSN)

They give SSNs to new Americans at birth.
2678  Bitcoin / Bitcoin Discussion / Re: Bitcoin in the Irish Times on: November 26, 2010, 03:57:47 AM
This should be Wikipedia worthy...  Yes?  No?

Jeeze.. I sure hope so. Someone should revive the wikipedia page and add this article as a 'source' ASAP.

It would be nice to have Bitcoin in wikipedia before interested readers start trying to search for it. Smiley

The wikipedia page is pretty lame at the moment, and I agree with one commenter who says "smells like an advertisement" -- especially the Acceptance section.

"Monetary and financial benefits" section is quite off-the-cuff, with many of the items easily open to question, or are quite plainly an opinion, not fact.

I think bitcoin is best served by first having a respectable wiki page -- even if stored in From_Xenu or incubator -- then going back a third (fourth? fifth?) time to ask that the article be undeleted.

Having a popular From_Xenu web page "riddled with facts", looking good, will do more to get a Bitcoin page into wikipedia than a million people posting "add it!" to a Talk page somewhere.  Google searches will find the From_Xenu wiki page without a problem...
2679  Bitcoin / Development & Technical Discussion / Re: RFC: ship block chain 1-74000 with release tarballs? on: November 26, 2010, 02:07:43 AM
Maybe Berkeley DB has some tweaks we can make to enable or increase cache memory.

Which of the ACID properties do you need, while downloading?

Adding BDB records is simply appending to a log file, until you issue a checkpoint.  The checkpoint then updates the main database file.

Under a normal BDB transaction, you are guaranteed that each log record will be sync'd to disk platter, before the transaction commit succeeds. This is very strict, but required for full ACID. Enabling DB_TXN_NOSYNC still gives you a lot:

     "database integrity will be maintained, but if the application or system fails, it is possible
      some number of the most recently committed transactions may be undone during recovery"

bitcoin can obviously recover if recent transactions are undone, so, it seems useful for this flag to be set for 100% of the initial block download.

That leaves checkpointing, which is a balance between amount of work performed at checkpoint time -- number of records that must be copied from log to database file -- and wall clock time.  Just gotta try some values and see what "feels" right -- maybe checkpoint every 10,000 blocks?
2680  Bitcoin / Development & Technical Discussion / Re: RFC: ship block chain 1-74000 with release tarballs? on: November 26, 2010, 01:47:43 AM
It's not the downloading that takes the time, it's verifying and indexing it.

This is not true of many novice users, who say things like "well it took several hours to catch all the 90 000 blocks but finally it arrived" (quoted from one new user, on IRC, today).

Quote
Bandwidthwise, it's more efficient than if you downloaded an archive.

Agreed.  Compressed in an archive, blk0001.dat is around 36MB.

Quote
Bitcoin only downloads the data in blk0001.dat, which is currently 55MB, and builds blkindex.dat itself, which is 47MB.  Building blkindex.dat is what causes all the disk activity.

During the block download, it only flushes the database to disk every 500 blocks.  You may see the block count pause at ??499 and ??999.  That's when it's flushing.

It remains the download, not the verification, that has the highest variability of experience, where first time users see a delay of 30 minutes to several hours before the software is actually usable.  Some P2P nodes may be extremely slow (I see high variability in latency and throughput for old blocks, and blocks larger than 512 bytes).  End user bandwidth may be low, spotty or expensive.  Firewalls are often a problem.

I'm betting that the above complaint from a new user was due to a Microsoft firewall; but the point stands:  large variance of network configuration and capability implies the P2P download impact may be far, far greater than impact of on-disk verification of 90,000 blocks.

Quote
Doing your own verifying and indexing is the only way to be sure your index data is secure.  If you copy blk0001.dat and blkindex.dat from an untrusted source, there's no way to know if you can trust all the contents in them.

Who said untrusted?  The proposal is that you distribute blk0001.dat (and only blk0001.dat) in the bitcoin.org official client downloads.  And of course the client will spend some time verifying blk0001.dat upon first use.  This is unavoidable, and nobody has proposed changing or eliminating verification.

Just shipping blk0001.dat with official bitcoin would eliminate several headaches that new bitcoin users continue to experience.
Pages: « 1 ... 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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 [134] 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!