Bitcoin Forum
May 25, 2024, 07:12:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: main linux repo? on: July 16, 2011, 09:45:51 AM
I just submitted the 0.3.24 to launchpad but there's a 13 hour queue for the build machines (https://launchpad.net/builders), so give it until tomorrow and you should be all set.

I noticed the new release a couple of days ago but only have time to update this stuff at weekends :/
2  Bitcoin / Bitcoin Technical Support / Re: Bitcoin 0.3.22 still doesn't load on 64-bit Linux Mint on: June 12, 2011, 05:56:14 PM
Hi,

I was seeing this problem as well on Ubuntu 11.04.  You can workaround by disabling unity and compiz, or there is a patch that can be applied to wxwidgets (see my other post here http://forum.bitcoin.org/index.php?topic=15895.0 for details).

Alternatively, you could install a pre-built ubuntu package from my ppa here: https://launchpad.net/~stretch/+archive/bitcoin - I have included the workaround patch in that repository.  See also my forum post announcing the ppa packages http://forum.bitcoin.org/?topic=2623.0

Please let me know how you get on with this.

thanks,
David.
3  Bitcoin / Development & Technical Discussion / Bitcoin not working with unity or compiz on: June 12, 2011, 05:52:25 PM
Hi,

I was having a problem and have seen similar reports in the forums of the bitcoin GUI not working on ubuntu 11.04.  This is repeatable when using either unity or compiz.  Disabling both of those works around the problem.

This workaround (http://svn.wxwidgets.org/viewvc/wx?view=revision&revision=67496) was submitted recently to the wxwidgets source repository.  I maintain a ppa archive of bitcoin packages (https://launchpad.net/~stretch/+archive/bitcoin), and patching that workaround seems to have fix the unity/compiz problem.

I'm not sure there is much that can be done with the bitcoin source tree to workaround the problem, so this is more of an FYI of the problem and the fix.

--
David.
4  Bitcoin / Bitcoin Discussion / Re: Ubuntu bitcoin packages on: June 12, 2011, 05:45:30 PM
i can confirm that, provided instructions dont work in 11.04

I found an issue today with ubuntu 11.04 using either unity or compiz and the bitcoin GUI not working - the window simply does not appear.  There was already a workaround submitted to the wxwidgets repository so I've applied that patch to my ppa.

Please try installing the latest version from https://launchpad.net/~stretch/+archive/bitcoin and see if that works for you.

sudo add-apt-repository ppa:stretch/bitcoin
sudo apt-get update
sudo apt-get install bitcoin
5  Bitcoin / Bitcoin Discussion / Re: Clusters of transactions on the hour on: January 28, 2011, 09:48:57 AM
Could it be http://mining.bitcoin.cz/ ?
6  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: January 07, 2011, 11:06:33 PM
You are right. --- But, consider this:

  1. The miner is general purpose. It have to work with the official bincoin client.

Searching for more than one solution doesn't break compatibility - bitcoind would just reject second solution. Nothing is lost, you will have new search space in a short period.

But even if other miners do this, I am not quite sure if it improves apparent performance (to pool). Every nonce has equal probability.

A nonce that isn't tested has zero probability  Smiley
7  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: January 07, 2011, 12:40:53 AM
So my question then is what will happen, and what should happen, when a solution is found part-way through a block of work?  Does the miner continue looking for further solutions, or does it throw away the rest of the piece of work?  (I guess as well the answer partially depends on what the mining server is expecting).

If it throws away the rest of the piece of work that means the miner is behaving differently to the vanilla bitcoin client - in that case the worker loop keeps going until a solution is found (or someone else beats us to the solution).  Would there be any reason for the miner not to continue as well?

If a solution is found, it is pointless to continue work on that block.  You cannot solve a block twice.

cpuminer's behavior matches the vanilla bitcoin client's BitcoinMiner().

I should clarify - I meant specifically in the case when the miner is running as part of a pooled mining effort like the one Slush is running.

The blocks the miner is solving are of a lower difficulty than required to generate a new Bitcoin block and generate the 50 BTC, but of a high enough difficulty to earn a share in the 50 BTC.  It is the pooled mining server that evaluates whether or not the solution is good enough to meet the main bitcoin difficulty level. 

By giving up on this piece of work and moving to the next I might be missing out on a) finding another solution within the same block of work, and therefore another share in the eventual 50 BTC, and b) more importantly, finding a solution within the block that reaches the main bitcoin difficulty threshold and so the whole pool is missing out on a chance of generating 50 BTC.

I've only just started using bitcoin so maybe I missed something obvious - please tell me if this is the case.
8  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: January 06, 2011, 10:35:17 AM
A new CPU miner is now available, making use of the new 'getwork' RPC command.

In the beginning, this is intended largely to demonstrate a 'getwork' miner.  It is written in straight C, with minimal dependencies (libcurl, jansson).

It has successfully generated blocks on testnet.

Linux/BSD release tarball: http://yyz.us/bitcoin/cpuminer-0.5.tar.gz
Windows installer: http://yyz.us/bitcoin/cpuminer-installer-0.5.zip
git repository: git://github.com/jgarzik/cpuminer.git

Contributions welcomed!  (GPL v2 license)  It's still quite rough around the edges.

Hi,

I just have a question about how the miner behaves after it has found a solution to a piece of work.  I briefly looked at the code and the run loop goes something like this:

while (running) {
  get_work();

  rc = find_solution();   // NOTE: solution here is for a reduced difficulty than that required to generate a new bitcoin block and generate 50 BTC.
  if (rc) {
    submit_solution();
  }
}

So my question then is what will happen, and what should happen, when a solution is found part-way through a block of work?  Does the miner continue looking for further solutions, or does it throw away the rest of the piece of work?  (I guess as well the answer partially depends on what the mining server is expecting).

If it throws away the rest of the piece of work that means the miner is behaving differently to the vanilla bitcoin client - in that case the worker loop keeps going until a solution is found (or someone else beats us to the solution).  Would there be any reason for the miner not to continue as well?

thanks,
David.
9  Bitcoin / Bitcoin Discussion / Re: Ubuntu bitcoin packages on: January 06, 2011, 08:07:00 AM
I'm still a PPA novice so my answers might not be 100% right....

Very nice!  Let me ask some dumb questions:

I've setup a launchpad PPA to host Ubuntu packages of bitcoin.

What does PPA stand for?

Does launchpad help solve the 'trusted build' problem-- e.g. does the build process automatically fetch from source code that we can all look at and audit?


It won't automatically fetch the source, but it does force me to upload the source (and an optional patch) and builds packages from those.

In this case I took the tarball from sourceforge.  The patch is minimal, just thin wrapper around the bitcoin makefile to keep the debian build system happy.

On https://launchpad.net/~stretch/+archive/bitcoin/+packages you can poke around a bit and you'll see download links for all the various files, and on http://launchpadlibrarian.net/61656269/bitcoin_0.3.19-maverick6_source.changes you'll be able to verify the checksums match to the original tarball.

Quote

How hard would it be to setup something similar to produce regular builds of the github integration repository?

Right now, the bitcoin build process is "Satoshi does it."  Using Launchpad to create the Linux builds seems like the right way to go.


With your own dedicated machine it would be fairly easy, just a cron job to checkout a snapshot, tar up and submit to launchpad.  We can eliminate the patch file by checking those changes back into the main source tree.

I don't know whether or not launchpad could host the cron job for us.

Quote

Last dumb question:  are there services similar to Launchpad for building Mac/Windows software?

10  Bitcoin / Development & Technical Discussion / Re: Builds for Ubuntu? on: January 05, 2011, 12:10:34 PM
Hello,

I setup a PPA today for bitcoin, with packages built for lucid and maverick.  Full details are on this other post:
http://bitcointalk.org/index.php?topic=2623.0
11  Bitcoin / Bitcoin Discussion / Ubuntu bitcoin packages on: January 05, 2011, 11:50:20 AM
Hello,

I've setup a launchpad PPA to host Ubuntu packages of bitcoin.  Version 0.3.19 is up now with builds for maverick and lucid.  I've tested the Maverick build and it runs ok for me, I don't have a machine around to test Lucid.

The PPA is hosted at https://launchpad.net/~stretch/+archive/bitcoin

To install on Ubuntu:
sudo apt-add-repository ppa:stretch/bitcoin
sudo apt-get install bitcoin

then to run
bitcoin or bitcoind - both are in /usr/bin

If this works/doesn't work for anyone please let me know.

thanks!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!