summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartinx - ジェームズ <thiagocmartinsc@gmail.com>2012-02-24 16:49:40 -0200
committerbitcoindev <bitcoindev@gnusha.org>2012-02-24 18:50:19 +0000
commit6af06bd255d97a18120ff0652831577835f6cd58 (patch)
treeb2aa29414d6a7ac631bb3fd462ba5988ee1b3e69
parentfee1dad63fadffbc0215228e59cd3bd7f7c18bbc (diff)
downloadpi-bitcoindev-6af06bd255d97a18120ff0652831577835f6cd58.tar.gz
pi-bitcoindev-6af06bd255d97a18120ff0652831577835f6cd58.zip
Re: [Bitcoin-development] Announcement: libcoin
-rw-r--r--a2/d687513603f01c8fd2820d934851277a34ac91861
1 files changed, 861 insertions, 0 deletions
diff --git a/a2/d687513603f01c8fd2820d934851277a34ac91 b/a2/d687513603f01c8fd2820d934851277a34ac91
new file mode 100644
index 000000000..aef04fb1f
--- /dev/null
+++ b/a2/d687513603f01c8fd2820d934851277a34ac91
@@ -0,0 +1,861 @@
+Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
+ helo=mx.sourceforge.net)
+ by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
+ (envelope-from <thiagocmartinsc@gmail.com>) id 1S10Dj-0005Dt-IN
+ for bitcoin-development@lists.sourceforge.net;
+ Fri, 24 Feb 2012 18:50:19 +0000
+Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com
+ designates 209.85.212.175 as permitted sender)
+ client-ip=209.85.212.175;
+ envelope-from=thiagocmartinsc@gmail.com;
+ helo=mail-wi0-f175.google.com;
+Received: from mail-wi0-f175.google.com ([209.85.212.175])
+ by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
+ (Exim 4.76) id 1S10Dh-0007Mp-QP
+ for bitcoin-development@lists.sourceforge.net;
+ Fri, 24 Feb 2012 18:50:19 +0000
+Received: by wibhq7 with SMTP id hq7so2340503wib.34
+ for <bitcoin-development@lists.sourceforge.net>;
+ Fri, 24 Feb 2012 10:50:11 -0800 (PST)
+Received-SPF: pass (google.com: domain of thiagocmartinsc@gmail.com designates
+ 10.180.95.1 as permitted sender) client-ip=10.180.95.1;
+Authentication-Results: mr.google.com; spf=pass (google.com: domain of
+ thiagocmartinsc@gmail.com designates 10.180.95.1 as permitted
+ sender) smtp.mail=thiagocmartinsc@gmail.com;
+ dkim=pass header.i=thiagocmartinsc@gmail.com
+Received: from mr.google.com ([10.180.95.1])
+ by 10.180.95.1 with SMTP id dg1mr7620053wib.21.1330109411606 (num_hops
+ = 1); Fri, 24 Feb 2012 10:50:11 -0800 (PST)
+Received: by 10.180.95.1 with SMTP id dg1mr6129914wib.21.1330109411489; Fri,
+ 24 Feb 2012 10:50:11 -0800 (PST)
+MIME-Version: 1.0
+Received: by 10.227.197.141 with HTTP; Fri, 24 Feb 2012 10:49:40 -0800 (PST)
+In-Reply-To: <C3C58158-0DED-41A1-B4D2-BF746AFE717A@ceptacle.com>
+References: <D55C3D18-8286-44E9-B877-6FCE7C05E980@ceptacle.com>
+ <CAJSM8J0zqF2=Poknzc8R7TrTJ0DWCMBw2-K9gGhUP_Qf+J6eFg@mail.gmail.com>
+ <4FF4A408-F8C9-4A50-8B13-13D3686BEB09@ceptacle.com>
+ <CAJSM8J3bZYfpE9EATcYe=79s_RxvGG9BrdRQR9ivwtZnuPsL0w@mail.gmail.com>
+ <CAJSM8J2nhoKsOnAeF8qBW3zOfp=sJ25sd8gnw2dMJ3GgkohDjQ@mail.gmail.com>
+ <C3C58158-0DED-41A1-B4D2-BF746AFE717A@ceptacle.com>
+From: =?ISO-2022-JP?B?TWFydGlueCAtIBskQiU4JSchPCVgJTobKEI=?=
+ <thiagocmartinsc@gmail.com>
+Date: Fri, 24 Feb 2012 16:49:40 -0200
+Message-ID: <CAJSM8J3255LpXbHRF+zEi0QRoM0mwuRP3FSNbSwSyz-_ge=Few@mail.gmail.com>
+To: =?ISO-8859-1?Q?Michael_Gr=F8nager?= <gronager@ceptacle.com>
+Content-Type: multipart/alternative; boundary=f46d044303f0fbf64904b9ba3a55
+X-Spam-Score: -0.6 (/)
+X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
+ See http://spamassassin.org/tag/ for more details.
+ -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
+ sender-domain
+ 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
+ (thiagocmartinsc[at]gmail.com)
+ -0.0 SPF_PASS SPF: sender matches SPF record
+ 1.0 HTML_MESSAGE BODY: HTML included in message
+ -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
+ author's domain
+ 0.1 DKIM_SIGNED Message has a DKIM or DK signature,
+ not necessarily valid
+ -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
+X-Headers-End: 1S10Dh-0007Mp-QP
+Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
+Subject: Re: [Bitcoin-development] Announcement: libcoin
+X-BeenThere: bitcoin-development@lists.sourceforge.net
+X-Mailman-Version: 2.1.9
+Precedence: list
+List-Id: <bitcoin-development.lists.sourceforge.net>
+List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
+List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
+List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
+List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
+List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
+X-List-Received-Date: Fri, 24 Feb 2012 18:50:19 -0000
+
+--f46d044303f0fbf64904b9ba3a55
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+Hi Michael,
+
+ Thank you for your attention!
+
+ Now, I'm trying to start libcoin's bitcoind using high ports but, it
+always try to listen at 8332, no matter what I "say"...
+
+ Look:
+
+$ cat .bitcoin/bitcoin.conf
+server=3D1
+daemon=3D1
+rpcuser=3Dlibcoin
+rpcpassword=3DLibCoin13
+rpcport=3D10332
+port=3D10333
+
+ But:
+
+/usr/local/bin/bitcoind
+Error: Address already in use
+
+terminate called after throwing an instance of 'DbException'
+ what(): DbEnv::close: Invalid argument
+Aborted
+
+ When I "strace it", I can see:
+
+...
+bind(12, {sa_family=3DAF_INET, sin_port=3Dhtons(8333),
+sin_addr=3Dinet_addr("0.0.0.0")}, 16) =3D -1 EADDRINUSE (Address already in=
+ use)
+...
+
+ I already tried:
+
+/usr/local/bin/bitcoind --rpcport 10332
+/usr/local/bin/bitcoind --rpcport=3D10332
+
+ Without success...
+
+Thanks again!
+Thiago
+
+2012/2/24 Michael Gr=C3=B8nager <gronager@ceptacle.com>
+
+> Hi Thiago,
+>
+> Forgot to comment on the two latter:
+>
+> > $ bitcoind getaccountaddress ""
+> > HTTP error code: 401
+> > Error: couldn't parse reply from server
+> >
+> > $ bitcoind listaccounts
+> > HTTP error code: 401
+> > Error: couldn't parse reply from server
+> >
+>
+> 401 =3D permission denied - you need to setup username / password either =
+on
+> the commandline or in the bicoin.conf file to access those commands...
+>
+> See in the bitcoind.cpp file for commands that you can use with and
+> without auth...
+>
+> Those that contains an "auth" requires auth:
+>
+> server.registerMethod(method_ptr(new GetBalance(wallet)), auth);
+>
+> As opposed to:
+>
+> server.registerMethod(method_ptr(new GetInfo(node)));
+>
+> auth is defined by:
+>
+> Auth auth(rpc_user, rpc_pass); // if rpc_user and rpc_pass are not
+> set, all authenticated methods becomes disallowed.
+>
+> so you just experience the case explained in the comment ;) I admit that
+> the output could be more readable, though!
+>
+> /M
+>
+>
+> >
+> > Any tips?! lol
+> >
+> > Thanks!
+> > Thiago
+> >
+> > 2012/2/23 Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA <thia=
+gocmartinsc@gmail.com>
+> > AWESOME!!!
+> >
+> > I can compile libcoin at my Ubuntu 11.10... I just need to install:
+> >
+> > sudo aptitude install libboost1.46-all-dev
+> >
+> > ...alongside with another already installed dependencies, and now it
+> works!!
+> >
+> > Thank you!
+> > Thiago
+> >
+> > 2012/2/23 Michael Gr=C3=B8nager <gronager@ceptacle.com>
+> > 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 remove=
+d
+> from openssl, but boost still references it.)
+> >
+> > You should do a :
+> >
+> > sudo apt-get upgrade libboost-dev-all
+> >
+> > to get the 1.46.1 library
+> >
+> > /M
+> >
+> >
+> > On 23/02/2012, at 18:31, Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=
+=E3=82=BA wrote:
+> >
+> >> Hi Michael!
+> >>
+> >> Thank you for libcoin! It is a awesome evolution for Bitcoin and for
+> the CryptoCurrencies as a hole... Thanks!!!
+> >>
+> >> Anyway, I am unable to compile libcoin under my Ubuntu 11.04. At this
+> machine, I have compiled and running Bitcoin (from sources), Namecoin,
+> Devcoin, Litecoin, IXcoin and I0coin, all from sources but, when I try to
+> compile libcoin, I got:
+> >>
+> >> ----
+> >> user@desk:~/libcoin$ ./configure
+> >> -- The C compiler identification is GNU
+> >> -- The CXX compiler identification is GNU
+> >> -- Check for working C compiler: /usr/bin/gcc
+> >> -- Check for working C compiler: /usr/bin/gcc -- works
+> >> -- Detecting C compiler ABI info
+> >> -- Detecting C compiler ABI info - done
+> >> -- Check for working CXX compiler: /usr/bin/c++
+> >> -- Check for working CXX compiler: /usr/bin/c++ -- works
+> >> -- Detecting CXX compiler ABI info
+> >> -- Detecting CXX compiler ABI info - done
+> >> -- Looking for include files CMAKE_HAVE_PTHREAD_H
+> >> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
+> >> -- Looking for pthread_create in pthreads
+> >> -- Looking for pthread_create in pthreads - not found
+> >> -- Looking for pthread_create in pthread
+> >> -- Looking for pthread_create in pthread - found
+> >> -- Found Threads: TRUE
+> >> -- Looking for XOpenDisplay in
+> /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
+> >> -- Looking for XOpenDisplay in
+> /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - fo=
+und
+> >> -- Looking for gethostbyname
+> >> -- Looking for gethostbyname - found
+> >> -- Looking for connect
+> >> -- Looking for connect - found
+> >> -- Looking for remove
+> >> -- Looking for remove - found
+> >> -- Looking for shmat
+> >> -- Looking for shmat - found
+> >> -- Looking for IceConnectionNumber in ICE
+> >> -- Looking for IceConnectionNumber in ICE - found
+> >> -- Found X11: /usr/lib/i386-linux-gnu/libX11.so
+> >> -- Boost version: 1.42.0
+> >> -- Found the following Boost libraries:
+> >> -- date_time
+> >> -- regex
+> >> -- filesystem
+> >> -- system
+> >> -- program_options
+> >> -- thread
+> >> -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so
+> >> -- Looking for Q_WS_X11
+> >> -- Looking for Q_WS_X11 - found
+> >> -- Looking for Q_WS_WIN
+> >> -- Looking for Q_WS_WIN - not found.
+> >> -- Looking for Q_WS_QWS
+> >> -- Looking for Q_WS_QWS - not found.
+> >> -- Looking for Q_WS_MAC
+> >> -- Looking for Q_WS_MAC - not found.
+> >> -- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
+> >> -- Found wxWidgets: TRUE
+> >>
+> >> The build system is configured to install libraries to /usr/local/lib
+> >> Your applications may not be able to find your installed libraries
+> unless you:
+> >> set your LD_LIBRARY_PATH (user specific) or
+> >> update your ld.so configuration (system wide)
+> >> You have an ld.so.conf.d directory on your system, so if you wish to
+> ensure that
+> >> applications find the installed libcoin libraries, system wide, you
+> could install an
+> >> libcoin specific ld.so configuration with:
+> >> sudo make install_ld_conf
+> >>
+> >> -- Configuring done
+> >> -- Generating done
+> >> -- Build files have been written to: /home/user/libcoin
+> >> ----
+> >>
+> >> Now I tried make, without success:
+> >>
+> >> ----
+> >> .....
+> >> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0xf):
+> undefined reference to `BN_init'
+> >> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x1e):
+> undefined reference to `BN_copy'
+> >> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x38):
+> undefined reference to `BN_set_negative'
+> >> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x4f):
+> undefined reference to `BN_clear_free'
+> >> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0xd3):
+> undefined reference to `BN_clear_free'
+> >> ../../lib/libcoin.a(Script.o): In function `operator<<(CBigNum const&,
+> unsigned int)':
+> >> Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&, unsigned
+> int)]+0x16): undefined reference to `BN_init'
+> >> Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&, unsigned
+> int)]+0x2c): undefined reference to `BN_lshift'
+> >> Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&, unsigned
+> int)]+0xad): undefined reference to `BN_clear_free'
+> >> ../../lib/libcoin.a(Script.o): In function `operator>>(CBigNum const&,
+> unsigned int)':
+> >> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned
+> int)]+0xf): undefined reference to `BN_init'
+> >> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned
+> int)]+0x1e): undefined reference to `BN_copy'
+> >> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned
+> int)]+0x47): undefined reference to `BN_clear_free'
+> >> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned
+> int)]+0xcb): undefined reference to `BN_clear_free'
+> >> ../../lib/libcoin.a(Script.o): In function `operator!=3D(CBigNum const=
+&,
+> CBigNum const&)':
+> >> Script.cpp:(.text._ZneRK7CBigNumS1_[operator!=3D(CBigNum const&, CBigN=
+um
+> const&)]+0x14): undefined reference to `BN_cmp'
+> >> ../../lib/libcoin.a(Script.o): In function `operator>(CBigNum const&,
+> CBigNum const&)':
+> >> Script.cpp:(.text._ZgtRK7CBigNumS1_[operator>(CBigNum const&, CBigNum
+> const&)]+0x14): undefined reference to `BN_cmp'
+> >> ../../lib/libcoin.a(Script.o): In function `uint256
+> Hash<__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned
+> char, std::allocator<unsigned char> > >
+> >(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char,
+> std::allocator<unsigned char> > >, __gnu_cxx::__normal_iterator<unsigned
+> char*, std::vector<unsigned char, std::allocator<unsigned char> > >)':
+> >>
+> Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaI=
+hEEEEE7uint256T_S8_[uint256
+> Hash<__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned
+> char, std::allocator<unsigned char> > >
+> >(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char,
+> std::allocator<unsigned char> > >, __gnu_cxx::__normal_iterator<unsigned
+> char*, std::vector<unsigned char, std::allocator<unsigned char> >
+> >)]+0x6d): undefined reference to `SHA256'
+> >>
+> Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaI=
+hEEEEE7uint256T_S8_[uint256
+> Hash<__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned
+> char, std::allocator<unsigned char> > >
+> >(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char,
+> std::allocator<unsigned char> > >, __gnu_cxx::__normal_iterator<unsigned
+> char*, std::vector<unsigned char, std::allocator<unsigned char> >
+> >)]+0xb8): undefined reference to `SHA256'
+> >> collect2: ld returned 1 exit status
+> >> make[2]: *** [bin/bitcoind] Error 1
+> >> make[1]: *** [applications/bitcoind/CMakeFiles/app_bitcoind.dir/all]
+> Error 2
+> >> make: *** [all] Error 2
+> >> -----
+> >>
+> >> What can I do?!
+> >>
+> >> Best,
+> >> Thiago
+> >>
+> >>
+> >> On 1 February 2012 12:18, Michael Gr=C3=B8nager <gronager@ceptacle.com=
+>
+> wrote:
+> >> Dear Bitcoiners,
+> >>
+> >> libcoin is now in a state ready for its first release, which I would
+> like to share with you!
+> >>
+> >> =3D=3D=3D libcoin is a crypto currency library based on the bitcoin/bi=
+tcoin
+> "Satoshi" client. =3D=3D=3D
+> >>
+> >> Copenhagen, Denmark - 1st February 2012 Ceptacle announces the release
+> of the first version of the crypto currency library "libcoin" based on th=
+e
+> bitcoin/bitcoin "Satoshi" client.
+> >>
+> >> libcoin also maintains a version of bitcoind that is a 100% compatible
+> drop-in replacement of the bitcoin/bitcoind client: You can use it on the
+> same computer on the same files and you can call it with the same scripts=
+.
+> And you can easily extend it without touching the basic bitcoin source
+> files.
+> >>
+> >> 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!
+> >>
+> >> In libcoin, the Satoshi client code has been completely refactored,
+> properly encapsulating classes, removing all globals, moving from threads
+> and mutexes to a pure asynchronous approach. Functionalities have been
+> divided into logical units and libraries, minimizing dependencies for e.g=
+.
+> thin clients.
+> >>
+> >> libcoin is chain agnostic, all chain (bitcoin, testnet, namecoin,
+> litecoin, ...) specific settings are maintained from a single class (Chai=
+n)
+> and hence experiments with chain settings, mining, security and digital
+> currencies for research and educational purposes are easily accessible. S=
+ee
+> the ponzicoin example for how you define your own chain.
+> >>
+> >> The build system of libcoin is based on CMake and supports builds of
+> static and dynamic libraries on Linux, Mac OS X, and Windows.
+> >>
+> >> The libcoin license is LGPL v. 3. This mean that you can use it in ope=
+n
+> source as well as in commercial projects, but improvements should go back
+> into the libcoin library.
+> >>
+> >> =3D=3D=3D=3D=3D=3D
+> >>
+> >> Read more on libcoin on: http://github.com/ceptacle/libcoin/wiki
+> >>
+> >> Join libcoin on twitter: http://twitter.com/libcoin
+> >>
+> >> Download "libcoin Satoshi release":
+> http://github.com/ceptacle/libcoin/zipball/v0.4.0.1
+> >>
+> >> Best regards,
+> >>
+> >> Michael Gronager, PhD
+> >> Director, Ceptacle
+> >> Jens Juels Gade 33
+> >> 2100 Copenhagen E
+> >> Mobile: +45 31 45 14 01
+> >> E-mail: gronager@ceptacle.com
+> >> Web: http://www.ceptacle.com/
+> >>
+> >>
+> >>
+> -------------------------------------------------------------------------=
+-----
+> >> Keep Your Developer Skills Current with LearnDevNow!
+> >> The most comprehensive online learning library for Microsoft developer=
+s
+> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC=
+3,
+> >> Metro Style Apps, more. Free future releases when you subscribe now!
+> >> http://p.sf.net/sfu/learndevnow-d2d
+> >> _______________________________________________
+> >> Bitcoin-development mailing list
+> >> Bitcoin-development@lists.sourceforge.net
+> >> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
+> >>
+> >
+> > Michael Gronager, PhD
+> > Director, Ceptacle
+> > Jens Juels Gade 33
+> > 2100 Copenhagen E
+> > Mobile: +45 31 45 14 01
+> > E-mail: gronager@ceptacle.com
+> > Web: http://www.ceptacle.com/
+> >
+> >
+> >
+>
+>
+
+--f46d044303f0fbf64904b9ba3a55
+Content-Type: text/html; charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+Hi Michael,<br><br>=C2=A0Thank you for your attention!<br><br>=C2=A0Now, I&=
+#39;m trying to start libcoin&#39;s bitcoind using high ports but, it alway=
+s try to listen at 8332, no matter what I &quot;say&quot;...<br><br>=C2=A0L=
+ook:<br><br>
+
+$ cat .bitcoin/bitcoin.conf <br>server=3D1<br>daemon=3D1<br>rpcuser=3Dlibco=
+in<br>rpcpassword=3DLibCoin13<br>rpcport=3D10332<br>port=3D10333<br><br>=C2=
+=A0But:<br><br>/usr/local/bin/bitcoind<br>Error: Address already in use<br>=
+<br>terminate called after throwing an instance of &#39;DbException&#39;<br=
+>
+
+=C2=A0 what():=C2=A0 DbEnv::close: Invalid argument<br>Aborted<br><br>=C2=
+=A0When I &quot;strace it&quot;, I can see:<br><br>...<br>bind(12, {sa_fami=
+ly=3DAF_INET, sin_port=3Dhtons(8333), sin_addr=3Dinet_addr(&quot;0.0.0.0&qu=
+ot;)}, 16) =3D -1 EADDRINUSE (Address already in use)<br>
+
+...<br><br>=C2=A0I already tried:<br><br>/usr/local/bin/bitcoind --rpcport =
+10332<br>/usr/local/bin/bitcoind --rpcport=3D10332<br><br>=C2=A0Without suc=
+cess...<br><br>Thanks again!<br>Thiago<br><br><div class=3D"gmail_quote">20=
+12/2/24 Michael Gr=C3=B8nager <span dir=3D"ltr">&lt;<a href=3D"mailto:grona=
+ger@ceptacle.com">gronager@ceptacle.com</a>&gt;</span><br>
+
+<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
+x #ccc solid;padding-left:1ex">Hi Thiago,<br>
+<br>
+Forgot to comment on the two latter:<br>
+<div class=3D"im"><br>
+&gt; $ bitcoind getaccountaddress &quot;&quot;<br>
+&gt; HTTP error code: 401<br>
+&gt; Error: couldn&#39;t parse reply from server<br>
+&gt;<br>
+&gt; $ bitcoind listaccounts<br>
+&gt; HTTP error code: 401<br>
+&gt; Error: couldn&#39;t parse reply from server<br>
+&gt;<br>
+<br>
+</div>401 =3D permission denied - you need to setup username / password eit=
+her on the commandline or in the bicoin.conf file to access those commands.=
+..<br>
+<br>
+See in the bitcoind.cpp file for commands that you can use with and without=
+ auth...<br>
+<br>
+Those that contains an &quot;auth&quot; requires auth:<br>
+<br>
+ =C2=A0 =C2=A0 =C2=A0 server.registerMethod(method_ptr(new GetBalance(walle=
+t)), auth);<br>
+<br>
+As opposed to:<br>
+<br>
+ =C2=A0 =C2=A0 =C2=A0 server.registerMethod(method_ptr(new GetInfo(node)));=
+<br>
+<br>
+auth is defined by:<br>
+<br>
+ =C2=A0 =C2=A0 =C2=A0 Auth auth(rpc_user, rpc_pass); // if rpc_user and rpc=
+_pass are not set, all authenticated methods becomes disallowed.<br>
+<br>
+so you just experience the case explained in the comment ;) I admit that th=
+e output could be more readable, though!<br>
+<span class=3D"HOEnZb"><font color=3D"#888888"><br>
+/M<br>
+</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
+<br>
+&gt;<br>
+&gt; Any tips?! lol<br>
+&gt;<br>
+&gt; Thanks!<br>
+&gt; Thiago<br>
+&gt;<br>
+&gt; 2012/2/23 Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA &lt;=
+<a href=3D"mailto:thiagocmartinsc@gmail.com">thiagocmartinsc@gmail.com</a>&=
+gt;<br>
+&gt; AWESOME!!!<br>
+&gt;<br>
+&gt; I can compile libcoin at my Ubuntu 11.10... I just need to install:<br=
+>
+&gt;<br>
+&gt; sudo aptitude install libboost1.46-all-dev<br>
+&gt;<br>
+&gt; ...alongside with another already installed dependencies, and now it w=
+orks!!<br>
+&gt;<br>
+&gt; Thank you!<br>
+&gt; Thiago<br>
+&gt;<br>
+&gt; 2012/2/23 Michael Gr=C3=B8nager &lt;<a href=3D"mailto:gronager@ceptacl=
+e.com">gronager@ceptacle.com</a>&gt;<br>
+&gt; Hi Martinx,<br>
+&gt;<br>
+&gt; Another note:<br>
+&gt;<br>
+&gt; boost 1.42 and openssl 1.0 has a conflict (you will see it when you tr=
+y to compile coinHTTP with that specific combination: sslv2 has been remove=
+d from openssl, but boost still references it.)<br>
+&gt;<br>
+&gt; You should do a :<br>
+&gt;<br>
+&gt; sudo apt-get upgrade libboost-dev-all<br>
+&gt;<br>
+&gt; to get the 1.46.1 library<br>
+&gt;<br>
+&gt; /M<br>
+&gt;<br>
+&gt;<br>
+&gt; On 23/02/2012, at 18:31, Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=
+=A0=E3=82=BA wrote:<br>
+&gt;<br>
+&gt;&gt; Hi Michael!<br>
+&gt;&gt;<br>
+&gt;&gt; Thank you for libcoin! It is a awesome evolution for Bitcoin and f=
+or the CryptoCurrencies as a hole... Thanks!!!<br>
+&gt;&gt;<br>
+&gt;&gt; Anyway, I am unable to compile libcoin under my Ubuntu 11.04. At t=
+his machine, I have compiled and running Bitcoin (from sources), Namecoin, =
+Devcoin, Litecoin, IXcoin and I0coin, all from sources but, when I try to c=
+ompile libcoin, I got:<br>
+
+
+&gt;&gt;<br>
+&gt;&gt; ----<br>
+&gt;&gt; user@desk:~/libcoin$ ./configure<br>
+&gt;&gt; -- The C compiler identification is GNU<br>
+&gt;&gt; -- The CXX compiler identification is GNU<br>
+&gt;&gt; -- Check for working C compiler: /usr/bin/gcc<br>
+&gt;&gt; -- Check for working C compiler: /usr/bin/gcc -- works<br>
+&gt;&gt; -- Detecting C compiler ABI info<br>
+&gt;&gt; -- Detecting C compiler ABI info - done<br>
+&gt;&gt; -- Check for working CXX compiler: /usr/bin/c++<br>
+&gt;&gt; -- Check for working CXX compiler: /usr/bin/c++ -- works<br>
+&gt;&gt; -- Detecting CXX compiler ABI info<br>
+&gt;&gt; -- Detecting CXX compiler ABI info - done<br>
+&gt;&gt; -- Looking for include files CMAKE_HAVE_PTHREAD_H<br>
+&gt;&gt; -- Looking for include files CMAKE_HAVE_PTHREAD_H - found<br>
+&gt;&gt; -- Looking for pthread_create in pthreads<br>
+&gt;&gt; -- Looking for pthread_create in pthreads - not found<br>
+&gt;&gt; -- Looking for pthread_create in pthread<br>
+&gt;&gt; -- Looking for pthread_create in pthread - found<br>
+&gt;&gt; -- Found Threads: TRUE<br>
+&gt;&gt; -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/=
+usr/lib/i386-linux-gnu/libXext.so<br>
+&gt;&gt; -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/=
+usr/lib/i386-linux-gnu/libXext.so - found<br>
+&gt;&gt; -- Looking for gethostbyname<br>
+&gt;&gt; -- Looking for gethostbyname - found<br>
+&gt;&gt; -- Looking for connect<br>
+&gt;&gt; -- Looking for connect - found<br>
+&gt;&gt; -- Looking for remove<br>
+&gt;&gt; -- Looking for remove - found<br>
+&gt;&gt; -- Looking for shmat<br>
+&gt;&gt; -- Looking for shmat - found<br>
+&gt;&gt; -- Looking for IceConnectionNumber in ICE<br>
+&gt;&gt; -- Looking for IceConnectionNumber in ICE - found<br>
+&gt;&gt; -- Found X11: /usr/lib/i386-linux-gnu/libX11.so<br>
+&gt;&gt; -- Boost version: 1.42.0<br>
+&gt;&gt; -- Found the following Boost libraries:<br>
+&gt;&gt; -- =C2=A0 date_time<br>
+&gt;&gt; -- =C2=A0 regex<br>
+&gt;&gt; -- =C2=A0 filesystem<br>
+&gt;&gt; -- =C2=A0 system<br>
+&gt;&gt; -- =C2=A0 program_options<br>
+&gt;&gt; -- =C2=A0 thread<br>
+&gt;&gt; -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so<br>
+&gt;&gt; -- Looking for Q_WS_X11<br>
+&gt;&gt; -- Looking for Q_WS_X11 - found<br>
+&gt;&gt; -- Looking for Q_WS_WIN<br>
+&gt;&gt; -- Looking for Q_WS_WIN - not found.<br>
+&gt;&gt; -- Looking for Q_WS_QWS<br>
+&gt;&gt; -- Looking for Q_WS_QWS - not found.<br>
+&gt;&gt; -- Looking for Q_WS_MAC<br>
+&gt;&gt; -- Looking for Q_WS_MAC - not found.<br>
+&gt;&gt; -- Found Qt-Version 4.7.2 (using /usr/bin/qmake)<br>
+&gt;&gt; -- Found wxWidgets: TRUE<br>
+&gt;&gt;<br>
+&gt;&gt; The build system is configured to install libraries to /usr/local/=
+lib<br>
+&gt;&gt; Your applications may not be able to find your installed libraries=
+ unless you:<br>
+&gt;&gt; =C2=A0 =C2=A0set your LD_LIBRARY_PATH (user specific) or<br>
+&gt;&gt; =C2=A0 =C2=A0update your ld.so configuration (system wide)<br>
+&gt;&gt; You have an ld.so.conf.d directory on your system, so if you wish =
+to ensure that<br>
+&gt;&gt; applications find the installed libcoin libraries, system wide, yo=
+u could install an<br>
+&gt;&gt; libcoin specific ld.so configuration with:<br>
+&gt;&gt; =C2=A0 =C2=A0sudo make install_ld_conf<br>
+&gt;&gt;<br>
+&gt;&gt; -- Configuring done<br>
+&gt;&gt; -- Generating done<br>
+&gt;&gt; -- Build files have been written to: /home/user/libcoin<br>
+&gt;&gt; ----<br>
+&gt;&gt;<br>
+&gt;&gt; Now I tried make, without success:<br>
+&gt;&gt;<br>
+&gt;&gt; ----<br>
+&gt;&gt; .....<br>
+&gt;&gt; Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&amp;)]+0x=
+f): undefined reference to `BN_init&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&amp;)]+0x=
+1e): undefined reference to `BN_copy&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&amp;)]+0x=
+38): undefined reference to `BN_set_negative&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&amp;)]+0x=
+4f): undefined reference to `BN_clear_free&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&amp;)]+0x=
+d3): undefined reference to `BN_clear_free&#39;<br>
+&gt;&gt; ../../lib/libcoin.a(Script.o): In function `operator&lt;&lt;(CBigN=
+um const&amp;, unsigned int)&#39;:<br>
+&gt;&gt; Script.cpp:(.text._ZlsRK7CBigNumj[operator&lt;&lt;(CBigNum const&a=
+mp;, unsigned int)]+0x16): undefined reference to `BN_init&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZlsRK7CBigNumj[operator&lt;&lt;(CBigNum const&a=
+mp;, unsigned int)]+0x2c): undefined reference to `BN_lshift&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZlsRK7CBigNumj[operator&lt;&lt;(CBigNum const&a=
+mp;, unsigned int)]+0xad): undefined reference to `BN_clear_free&#39;<br>
+&gt;&gt; ../../lib/libcoin.a(Script.o): In function `operator&gt;&gt;(CBigN=
+um const&amp;, unsigned int)&#39;:<br>
+&gt;&gt; Script.cpp:(.text._ZrsRK7CBigNumj[operator&gt;&gt;(CBigNum const&a=
+mp;, unsigned int)]+0xf): undefined reference to `BN_init&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZrsRK7CBigNumj[operator&gt;&gt;(CBigNum const&a=
+mp;, unsigned int)]+0x1e): undefined reference to `BN_copy&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZrsRK7CBigNumj[operator&gt;&gt;(CBigNum const&a=
+mp;, unsigned int)]+0x47): undefined reference to `BN_clear_free&#39;<br>
+&gt;&gt; Script.cpp:(.text._ZrsRK7CBigNumj[operator&gt;&gt;(CBigNum const&a=
+mp;, unsigned int)]+0xcb): undefined reference to `BN_clear_free&#39;<br>
+&gt;&gt; ../../lib/libcoin.a(Script.o): In function `operator!=3D(CBigNum c=
+onst&amp;, CBigNum const&amp;)&#39;:<br>
+&gt;&gt; Script.cpp:(.text._ZneRK7CBigNumS1_[operator!=3D(CBigNum const&amp=
+;, CBigNum const&amp;)]+0x14): undefined reference to `BN_cmp&#39;<br>
+&gt;&gt; ../../lib/libcoin.a(Script.o): In function `operator&gt;(CBigNum c=
+onst&amp;, CBigNum const&amp;)&#39;:<br>
+&gt;&gt; Script.cpp:(.text._ZgtRK7CBigNumS1_[operator&gt;(CBigNum const&amp=
+;, CBigNum const&amp;)]+0x14): undefined reference to `BN_cmp&#39;<br>
+&gt;&gt; ../../lib/libcoin.a(Script.o): In function `uint256 Hash&lt;__gnu_=
+cxx::__normal_iterator&lt;unsigned char*, std::vector&lt;unsigned char, std=
+::allocator&lt;unsigned char&gt; &gt; &gt; &gt;(__gnu_cxx::__normal_iterato=
+r&lt;unsigned char*, std::vector&lt;unsigned char, std::allocator&lt;unsign=
+ed char&gt; &gt; &gt;, __gnu_cxx::__normal_iterator&lt;unsigned char*, std:=
+:vector&lt;unsigned char, std::allocator&lt;unsigned char&gt; &gt; &gt;)&#3=
+9;:<br>
+
+
+&gt;&gt; Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vect=
+orIhSaIhEEEEE7uint256T_S8_[uint256 Hash&lt;__gnu_cxx::__normal_iterator&lt;=
+unsigned char*, std::vector&lt;unsigned char, std::allocator&lt;unsigned ch=
+ar&gt; &gt; &gt; &gt;(__gnu_cxx::__normal_iterator&lt;unsigned char*, std::=
+vector&lt;unsigned char, std::allocator&lt;unsigned char&gt; &gt; &gt;, __g=
+nu_cxx::__normal_iterator&lt;unsigned char*, std::vector&lt;unsigned char, =
+std::allocator&lt;unsigned char&gt; &gt; &gt;)]+0x6d): undefined reference =
+to `SHA256&#39;<br>
+
+
+&gt;&gt; Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vect=
+orIhSaIhEEEEE7uint256T_S8_[uint256 Hash&lt;__gnu_cxx::__normal_iterator&lt;=
+unsigned char*, std::vector&lt;unsigned char, std::allocator&lt;unsigned ch=
+ar&gt; &gt; &gt; &gt;(__gnu_cxx::__normal_iterator&lt;unsigned char*, std::=
+vector&lt;unsigned char, std::allocator&lt;unsigned char&gt; &gt; &gt;, __g=
+nu_cxx::__normal_iterator&lt;unsigned char*, std::vector&lt;unsigned char, =
+std::allocator&lt;unsigned char&gt; &gt; &gt;)]+0xb8): undefined reference =
+to `SHA256&#39;<br>
+
+
+&gt;&gt; collect2: ld returned 1 exit status<br>
+&gt;&gt; make[2]: *** [bin/bitcoind] Error 1<br>
+&gt;&gt; make[1]: *** [applications/bitcoind/CMakeFiles/app_bitcoind.dir/al=
+l] Error 2<br>
+&gt;&gt; make: *** [all] Error 2<br>
+&gt;&gt; -----<br>
+&gt;&gt;<br>
+&gt;&gt; What can I do?!<br>
+&gt;&gt;<br>
+&gt;&gt; Best,<br>
+&gt;&gt; Thiago<br>
+&gt;&gt;<br>
+&gt;&gt;<br>
+&gt;&gt; On 1 February 2012 12:18, Michael Gr=C3=B8nager &lt;<a href=3D"mai=
+lto:gronager@ceptacle.com">gronager@ceptacle.com</a>&gt; wrote:<br>
+&gt;&gt; Dear Bitcoiners,<br>
+&gt;&gt;<br>
+&gt;&gt; libcoin is now in a state ready for its first release, which I wou=
+ld like to share with you!<br>
+&gt;&gt;<br>
+&gt;&gt; =3D=3D=3D libcoin is a crypto currency library based on the bitcoi=
+n/bitcoin &quot;Satoshi&quot; client. =3D=3D=3D<br>
+&gt;&gt;<br>
+&gt;&gt; Copenhagen, Denmark - 1st February 2012 Ceptacle announces the rel=
+ease of the first version of the crypto currency library &quot;libcoin&quot=
+; based on the bitcoin/bitcoin &quot;Satoshi&quot; client.<br>
+&gt;&gt;<br>
+&gt;&gt; libcoin also maintains a version of bitcoind that is a 100% compat=
+ible drop-in replacement of the bitcoin/bitcoind client: You can use it on =
+the same computer on the same files and you can call it with the same scrip=
+ts. And you can easily extend it without touching the basic bitcoin source =
+files.<br>
+
+
+&gt;&gt;<br>
+&gt;&gt; The libcoin/bitcoind client downloads the entire block chain 3.5 t=
+imes faster than the bitcoin/bitcoind client. This is less than 90 minutes =
+on a modern laptop!<br>
+&gt;&gt;<br>
+&gt;&gt; In libcoin, the Satoshi client code has been completely refactored=
+, properly encapsulating classes, removing all globals, moving from threads=
+ and mutexes to a pure asynchronous approach. Functionalities have been div=
+ided into logical units and libraries, minimizing dependencies for e.g. thi=
+n clients.<br>
+
+
+&gt;&gt;<br>
+&gt;&gt; libcoin is chain agnostic, all chain (bitcoin, testnet, namecoin, =
+litecoin, ...) specific settings are maintained from a single class (Chain)=
+ and hence experiments with chain settings, mining, security and digital cu=
+rrencies for research and educational purposes are easily accessible. See t=
+he ponzicoin example for how you define your own chain.<br>
+
+
+&gt;&gt;<br>
+&gt;&gt; The build system of libcoin is based on CMake and supports builds =
+of static and dynamic libraries on Linux, Mac OS X, and Windows.<br>
+&gt;&gt;<br>
+&gt;&gt; The libcoin license is LGPL v. 3. This mean that you can use it in=
+ open source as well as in commercial projects, but improvements should go =
+back into the libcoin library.<br>
+&gt;&gt;<br>
+&gt;&gt; =3D=3D=3D=3D=3D=3D<br>
+&gt;&gt;<br>
+&gt;&gt; Read more on libcoin on: <a href=3D"http://github.com/ceptacle/lib=
+coin/wiki" target=3D"_blank">http://github.com/ceptacle/libcoin/wiki</a><br=
+>
+&gt;&gt;<br>
+&gt;&gt; Join libcoin on twitter: <a href=3D"http://twitter.com/libcoin" ta=
+rget=3D"_blank">http://twitter.com/libcoin</a><br>
+&gt;&gt;<br>
+&gt;&gt; Download &quot;libcoin Satoshi release&quot;: <a href=3D"http://gi=
+thub.com/ceptacle/libcoin/zipball/v0.4.0.1" target=3D"_blank">http://github=
+.com/ceptacle/libcoin/zipball/v0.4.0.1</a><br>
+&gt;&gt;<br>
+&gt;&gt; Best regards,<br>
+&gt;&gt;<br>
+&gt;&gt; Michael Gronager, PhD<br>
+&gt;&gt; Director, Ceptacle<br>
+&gt;&gt; Jens Juels Gade 33<br>
+&gt;&gt; 2100 Copenhagen E<br>
+&gt;&gt; Mobile: <a href=3D"tel:%2B45%2031%2045%2014%2001" value=3D"+453145=
+1401">+45 31 45 14 01</a><br>
+&gt;&gt; E-mail: <a href=3D"mailto:gronager@ceptacle.com">gronager@ceptacle=
+.com</a><br>
+&gt;&gt; Web: <a href=3D"http://www.ceptacle.com/" target=3D"_blank">http:/=
+/www.ceptacle.com/</a><br>
+&gt;&gt;<br>
+&gt;&gt;<br>
+&gt;&gt; ------------------------------------------------------------------=
+------------<br>
+&gt;&gt; Keep Your Developer Skills Current with LearnDevNow!<br>
+&gt;&gt; The most comprehensive online learning library for Microsoft devel=
+opers<br>
+&gt;&gt; is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,=
+ MVC3,<br>
+&gt;&gt; Metro Style Apps, more. Free future releases when you subscribe no=
+w!<br>
+&gt;&gt; <a href=3D"http://p.sf.net/sfu/learndevnow-d2d" target=3D"_blank">=
+http://p.sf.net/sfu/learndevnow-d2d</a><br>
+&gt;&gt; _______________________________________________<br>
+&gt;&gt; Bitcoin-development mailing list<br>
+&gt;&gt; <a href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitco=
+in-development@lists.sourceforge.net</a><br>
+&gt;&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-de=
+velopment" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/b=
+itcoin-development</a><br>
+&gt;&gt;<br>
+&gt;<br>
+&gt; Michael Gronager, PhD<br>
+&gt; Director, Ceptacle<br>
+&gt; Jens Juels Gade 33<br>
+&gt; 2100 Copenhagen E<br>
+&gt; Mobile: <a href=3D"tel:%2B45%2031%2045%2014%2001" value=3D"+4531451401=
+">+45 31 45 14 01</a><br>
+&gt; E-mail: <a href=3D"mailto:gronager@ceptacle.com">gronager@ceptacle.com=
+</a><br>
+&gt; Web: <a href=3D"http://www.ceptacle.com/" target=3D"_blank">http://www=
+.ceptacle.com/</a><br>
+&gt;<br>
+&gt;<br>
+&gt;<br>
+<br>
+</div></div></blockquote></div><br>
+
+--f46d044303f0fbf64904b9ba3a55--
+
+