summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Grønager <gronager@ceptacle.com>2012-02-24 20:40:00 +0100
committerbitcoindev <bitcoindev@gnusha.org>2012-02-24 19:40:10 +0000
commit95112835d49f369ab6e374d29a24398735149962 (patch)
tree6867f41d2f2bb45328b1fbbb4f913a326781da5f
parent6af06bd255d97a18120ff0652831577835f6cd58 (diff)
downloadpi-bitcoindev-95112835d49f369ab6e374d29a24398735149962.tar.gz
pi-bitcoindev-95112835d49f369ab6e374d29a24398735149962.zip
Re: [Bitcoin-development] Announcement: libcoin
-rw-r--r--34/d0b53c3c31079b95a6dc93dab0c3d730ec18db450
1 files changed, 450 insertions, 0 deletions
diff --git a/34/d0b53c3c31079b95a6dc93dab0c3d730ec18db b/34/d0b53c3c31079b95a6dc93dab0c3d730ec18db
new file mode 100644
index 000000000..de8dcedab
--- /dev/null
+++ b/34/d0b53c3c31079b95a6dc93dab0c3d730ec18db
@@ -0,0 +1,450 @@
+Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
+ helo=mx.sourceforge.net)
+ by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
+ (envelope-from <gronager@ceptacle.com>) id 1S10zy-0005Td-El
+ for bitcoin-development@lists.sourceforge.net;
+ Fri, 24 Feb 2012 19:40:10 +0000
+X-ACL-Warn:
+Received: from 2508ds5-oebr.0.fullrate.dk ([95.166.54.49]
+ helo=mail.ceptacle.com)
+ by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76)
+ id 1S10zw-0007EU-TI for bitcoin-development@lists.sourceforge.net;
+ Fri, 24 Feb 2012 19:40:10 +0000
+Received: from localhost (localhost [127.0.0.1])
+ by mail.ceptacle.com (Postfix) with ESMTP id E6BDD17DB43E;
+ Fri, 24 Feb 2012 20:40:02 +0100 (CET)
+X-Virus-Scanned: amavisd-new at ceptacle.com
+Received: from mail.ceptacle.com ([127.0.0.1])
+ by localhost (server.ceptacle.private [127.0.0.1]) (amavisd-new,
+ port 10024)
+ with ESMTP id l4PixCNRt6z3; Fri, 24 Feb 2012 20:40:01 +0100 (CET)
+Received: from [10.0.1.28] (2508ds5-oebr.0.fullrate.dk [95.166.54.49])
+ by mail.ceptacle.com (Postfix) with ESMTPSA id 34FD717DB434;
+ Fri, 24 Feb 2012 20:40:01 +0100 (CET)
+Mime-Version: 1.0 (Apple Message framework v1257)
+Content-Type: text/plain; charset=utf-8
+From: =?iso-8859-1?Q?Michael_Gr=F8nager?= <gronager@ceptacle.com>
+In-Reply-To: <CAJSM8J3255LpXbHRF+zEi0QRoM0mwuRP3FSNbSwSyz-_ge=Few@mail.gmail.com>
+Date: Fri, 24 Feb 2012 20:40:00 +0100
+Content-Transfer-Encoding: quoted-printable
+Message-Id: <B1E06C88-4BE4-48BD-98A6-C273069B6BA1@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>
+ <CAJSM8J3255LpXbHRF+zEi0QRoM0mwuRP3FSNbSwSyz-_ge=Few@mail.gmail.com>
+To: =?utf-8?Q?Martinx_-_=E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0?=
+ =?utf-8?Q?=E3=82=BA?= <thiagocmartinsc@gmail.com>
+X-Mailer: Apple Mail (2.1257)
+X-Spam-Score: 0.0 (/)
+X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
+ See http://spamassassin.org/tag/ for more details.
+ 0.0 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL
+ 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP
+ -0.0 AWL AWL: From: address is in the auto white-list
+X-Headers-End: 1S10zw-0007EU-TI
+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 19:40:10 -0000
+
+Just copied your bitcoin.conf file to my system and the server connects =
+just fine to RPC on 10332
+and I get using curl:
+
+MacGronager:bin gronager$ curl --data-binary '{"jsonrpc": "2.0", =
+"id":"curltest", "method": "getblockcount", "params": [] }' -H =
+'Content-Type: application/json' http://127.0.0.1:10332
+{"jsonrpc":"2.0","result":168299,"error":null,"id":"curltest"}
+
+Didn't do a retest on linux, but I am quite certain that it works there =
+well as I had it running for weeks on port 9332 on amazon.
+
+However, the "port" parameter will not work
+
+> ...
+> 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)
+> ...
+
+and as you can see it connects to 8333 - that for the bitcoin protocol.
+
+I havn't implemented "port" (have a look at the possible options in =
+bitcoind.cpp). It was not on the official help list in bitcoind 0.4.0 =
+(see init.cpp or do a bitcoin/bitcoind -help). But, I can implement it =
+over the weekend if your need it.
+
+I also tested the bitcoind --rpcport=3D10332 and it worked too using the =
+commandline - both running as server and client.
+
+/M
+
+
+> I already tried:
+>=20
+> /usr/local/bin/bitcoind --rpcport 10332
+> /usr/local/bin/bitcoind --rpcport=3D10332
+>=20
+> Without success...
+>=20
+> Thanks again!
+> Thiago
+>=20
+> 2012/2/24 Michael Gr=C3=B8nager <gronager@ceptacle.com>
+> Hi Thiago,
+>=20
+> Forgot to comment on the two latter:
+>=20
+> > $ 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
+> >
+>=20
+> 401 =3D permission denied - you need to setup username / password =
+either on the commandline or in the bicoin.conf file to access those =
+commands...
+>=20
+> See in the bitcoind.cpp file for commands that you can use with and =
+without auth...
+>=20
+> Those that contains an "auth" requires auth:
+>=20
+> server.registerMethod(method_ptr(new GetBalance(wallet)), auth);
+>=20
+> As opposed to:
+>=20
+> server.registerMethod(method_ptr(new GetInfo(node)));
+>=20
+> auth is defined by:
+>=20
+> Auth auth(rpc_user, rpc_pass); // if rpc_user and rpc_pass are =
+not set, all authenticated methods becomes disallowed.
+>=20
+> so you just experience the case explained in the comment ;) I admit =
+that the output could be more readable, though!
+>=20
+> /M
+>=20
+>=20
+> >
+> > Any tips?! lol
+> >
+> > Thanks!
+> > Thiago
+> >
+> > 2012/2/23 Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA =
+<thiagocmartinsc@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 =
+removed 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 - =
+found
+> >> -- 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&, =
+CBigNum 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_iteratorIPhSt6vectorIhSaIh=
+EEEEE7uint256T_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_iteratorIPhSt6vectorIhSaIh=
+EEEEE7uint256T_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/bitcoin "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 the 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 =
+(Chain) and hence experiments with chain settings, mining, security and =
+digital currencies for research and educational purposes are easily =
+accessible. See 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 =
+open 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 =
+developers
+> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, =
+MVC3,
+> >> 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/
+> >
+> >
+> >
+>=20
+>=20
+
+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/
+
+
+