Re: [Bitcoin-development] Announcement: libcoin

2012-03-28 Thread Martinx - ジェームズ
Hi Michael, Let's talk a little bit more about this awesome stuff! 2012/3/22 Michael Grønager grona...@ceptacle.com 1- How close is Libcoin with original Bitcoin? I mean, the output is a little different, the bitcoind help output was disabled and, I'm afraid that Libcoin can possibly

Re: [Bitcoin-development] Announcement: libcoin

2012-03-27 Thread Martinx - ジェームズ
Hi! I'm trying to compile libcoin again and I'm seeing the following error: libcoin@xapado:~/libcoin$ make Scanning dependencies of target coin [ 1%] Building CXX object src/coin/CMakeFiles/coin.dir/util.o In file included from /home/libcoin/libcoin/include/coin/serialize.h:22:0,

Re: [Bitcoin-development] Announcement: libcoin

2012-03-22 Thread Martinx - ジェームズ
Michael, Since libcoin is chain agnostic, I was wondering if the project can be used like this: When I install it with make install, I would like to have something like this: Regular file: /usr/local/bin/libcoincore # or whatever you like Symlink - Regular file /usr/local/bit/bitcoind -

Re: [Bitcoin-development] Announcement: libcoin

2012-03-22 Thread Martinx - ジェームズ
Hi Michael, NOTE: Re-add bitcoin-dev to this thread on Cc... I'll test this ASAP! I REALLY need this feature (blockchain server - wallet client). I just want ask you some things... 1- How close is Libcoin with original Bitcoin? I mean, the output is a little different, the bitcoind help

Re: [Bitcoin-development] Announcement: libcoin

2012-02-24 Thread Michael Grønager
OK - didn't took the weekend: support for port is on github now :) Only took two lines: (port, valueunsigned short(port)-default_value(8333), Listen on specified port for the p2p protocol) and using the port option in the Node constructor (was there already): Node

Re: [Bitcoin-development] Announcement: libcoin

2012-02-24 Thread Martinx - ジェームズ
Thank you!!! It is all working now! Except help... Nice work Michael!! Best, Thiago 2012/2/24 Michael Grønager grona...@ceptacle.com OK - didn't took the weekend: support for port is on github now :) Only took two lines: (port, valueunsigned short(port)-default_value(8333),

Re: [Bitcoin-development] Announcement: libcoin

2012-02-23 Thread Michael Grønager
Hi Martinx, I am looking into it now - I just tried on my Ubuntu 11.10 - I got by Script.cpp with no problems. I have Boost 1.48.1, but I can't see that causing the issue - I will retry with a cleaner machine... /M On 23/02/2012, at 18:31, Martinx - ジェームズ wrote: Hi Michael! Thank you

Re: [Bitcoin-development] Announcement: libcoin

2012-02-23 Thread Michael Grønager
I tried on another 11.10 machine with the normal boost 1.42 and things also worked as they should. However, I noticed a difference between your cmake output and mine: -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so -- Found OpenSSL:

Re: [Bitcoin-development] Announcement: libcoin

2012-02-23 Thread Michael Grønager
Hi Martinx, Another note: boost 1.42 and openssl 1.0 has a conflict (you will see it when you try to compile coinHTTP with that specific combination: sslv2 has been removed from openssl, but boost still references it.) You should do a : sudo apt-get upgrade libboost-dev-all to get the

Re: [Bitcoin-development] Announcement: libcoin

2012-02-23 Thread Martinx - ジェームズ
Hi Michael! I just run bitcoind, from libcoin (sudo make install) sources, with empty ~/.bitcoin directory and: Terminal 1: bitcoind # apparently okay Terminal 2: $ bitcoind getinfo # okay { version : 40001, blocks : 57733, connections : 8, difficulty : 11.84622815,

Re: [Bitcoin-development] Announcement: libcoin

2012-02-02 Thread Gregory Maxwell
On Thu, Feb 2, 2012 at 12:12 PM, Gregory Maxwell gmaxw...@gmail.com wrote: sync, libbitcoin only made it to height 138k (of course, because the time is mostly spent late in the chain 138k is not very far along— I'm guessing it's going to take libbitcoin 3x-4x longer all said) It ended up

Re: [Bitcoin-development] Announcement: libcoin

2012-02-02 Thread Gregory Maxwell
On Thu, Feb 2, 2012 at 12:36 PM, Gregory Maxwell gmaxw...@gmail.com wrote: On Thu, Feb 2, 2012 at 12:12 PM, Gregory Maxwell gmaxw...@gmail.com wrote: sync, libbitcoin only made it to height 138k (of course, because the time is mostly spent late in the chain 138k is not very far along— I'm

Re: [Bitcoin-development] Announcement: libcoin

2012-02-02 Thread Pieter Wuille
You will also find the RPC server in libcoin blistering fast compared to the Satoshi client. (It was actually what got me to write libcoin in the first place...). The Satoshi client HTTP server executes all rpc commands in its own thread, but to do so, it needs to stop the thread of the Node,

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Gregory Maxwell
On Wed, Feb 1, 2012 at 9:18 AM, Michael Grønager grona...@ceptacle.com wrote: The libcoin/bitcoind client downloads the entire block chain 3.5 times faster than the bitcoin/bitcoind client. This is less than 90 minutes on a modern laptop! Very interesting. Do you know where this speedup came

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Luke-Jr
On Wednesday, February 01, 2012 9:18:32 AM Michael Grønager wrote: libcoin is now in a state ready for its first release, which I would like to share with you! Looks interesting. However, it doesn't configure for me: http://paste.pocoo.org/show/544135/ I noticed it's forked from bitcoind

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Michael Grønager
Hi Gregory, I played with the database sync as well to get further speedups, but in the latest version I could only get about 1% extra from this. In the Satoshi client there is a bunch of sleeps and mutexes (put in there with great generosity) for making threads run smoother and to avoid

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Michael Grønager
Well, it should be simple. libcoin separates all the stuff you would like to do from a gui from the actual code, so I think it could be done cleanly. I havn't looked much at qt though... But help would be appreciated ;) /M On 01/02/2012, at 16:02, Wladimir wrote: Sounds very nice.

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Michael Grønager
Would be fine for me, depends on the community, and it is one of those chunks that make many stall... The reason for building on bitcoin/bitcoin directly is that this created a history of all changes, and this way I had a working version running each day while doing the refactoring - with my

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Michael Grønager
Hi Luke, Your CMake cannot find boost - use ccmake or cmake-gui to help it with the location. Btw what platform are you using ? /M On 01/02/2012, at 16:26, Luke-Jr wrote: On Wednesday, February 01, 2012 9:18:32 AM Michael Grønager wrote: libcoin is now in a state ready for its first

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Jorge Timón
Sounds great. Does it support merged mining? Also, I'm a bit skeptic about it being chain agnostic. I want to implement a chain with demurrage and I think I'll need to also change coinWallet and not only create an implementation of the interface Chain. Anyway, this will make the task much easier.

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Luke-Jr
On Wednesday, February 01, 2012 10:58:28 AM Michael Grønager wrote: Your CMake cannot find boost - use ccmake or cmake-gui to help it with the location. I didn't see anything useful in ccmake. Boost is in the standard locations (/usr/include/boost/ and /usr/lib/libboost* Btw what platform

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Michael Grønager
OK - from your path it looks like linux. What version of Boost do you use. I require 1.47 or 1.48. - I will change that, but it is quite handy for signal_sets - will make an alternative scheme though. And, as for 0.4 vs 0.5 - I have tried to follow the changes, which were mostly (?) related to

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Michael Grønager
Just wrote it in another mail, but I am quite certain it is the boost version - you need 1.48 (or 1.47). /M On 01/02/2012, at 17:15, Luke-Jr wrote: On Wednesday, February 01, 2012 10:58:28 AM Michael Grønager wrote: Your CMake cannot find boost - use ccmake or cmake-gui to help it with the

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread Luke-Jr
On Wednesday, February 01, 2012 11:20:22 AM Michael Grønager wrote: OK - from your path it looks like linux. What version of Boost do you use. I require 1.47 or 1.48. - I will change that, but it is quite handy for signal_sets - will make an alternative scheme though. Upgrading to 1.47 did not

Re: [Bitcoin-development] Announcement: libcoin

2012-02-01 Thread grarpamp
However, I think perhaps the bitcoin project should be split into a library, with a prototype client and the actual clients. This library facilitates this. I'll be trying your implementation soon. And libbitcoin/subvertx too. Partly because they're also non-interpreted, and partly to what