summaryrefslogtreecommitdiff
path: root/b2/cef2b804fd75237ed613b9513f63565fda00a2
blob: 61aca00b6501db367028859ed0f5e84442a4f83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
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 <gronager@ceptacle.com>) id 1S0ppk-0008UZ-0D
	for bitcoin-development@lists.sourceforge.net;
	Fri, 24 Feb 2012 07:44:52 +0000
X-ACL-Warn: 
Received: from 2508ds5-oebr.0.fullrate.dk ([95.166.54.49]
	helo=mail.ceptacle.com)
	by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76)
	id 1S0ppf-0002lU-5N for bitcoin-development@lists.sourceforge.net;
	Fri, 24 Feb 2012 07:44:51 +0000
Received: from localhost (localhost [127.0.0.1])
	by mail.ceptacle.com (Postfix) with ESMTP id 3DCCF17D5611;
	Fri, 24 Feb 2012 08:44:41 +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 iCD4upwxanEB; Fri, 24 Feb 2012 08:44:39 +0100 (CET)
Received: from [109.105.106.212] (unknown [109.105.106.212])
	by mail.ceptacle.com (Postfix) with ESMTPSA id 655EB17D5604;
	Fri, 24 Feb 2012 08:44:39 +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: <CAJSM8J2nhoKsOnAeF8qBW3zOfp=sJ25sd8gnw2dMJ3GgkohDjQ@mail.gmail.com>
Date: Fri, 24 Feb 2012 08:44:38 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <3049717A-960B-4D21-8608-8C82DCB4A5B2@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>
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 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars
	-0.0 AWL AWL: From: address is in the auto white-list
X-Headers-End: 1S0ppf-0002lU-5N
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 07:44:52 -0000

Hi Thiago

I had in mind using the JSON RPC 2.0 system.description standard command =
instead of help, but I got sidetracked implementing it. Will look into =
it asap. Thanks for noting!

/M

On 24/02/2012, at 03:17, Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=
=82=BA wrote:

> Hi Michael!
>=20
> I just run "bitcoind", from libcoin ("sudo make install") sources, =
with empty ~/.bitcoin directory and:
>=20
> Terminal 1: bitcoind # apparently okay
>=20
> Terminal 2:
>=20
> $ bitcoind getinfo # okay
> {
>    "version" : 40001,
>    "blocks" : 57733,
>    "connections" : 8,
>    "difficulty" : 11.84622815,
>    "testnet" : false
> }
>=20
> # sleep a couple minutes
>=20
> $ bitcoind getinfo # ok
> {
>    "version" : 40001,
>    "blocks" : 67527,
>    "connections" : 8,
>    "difficulty" : 45.38582234,
>    "testnet" : false
> }
>=20
>=20
> But...
>=20
>=20
> $ bitcoind help
> HTTP error code: 404
> JSON RPC Error code: -36001
> Method not found.
>=20
> $ bitcoind getaccountaddress ""
> HTTP error code: 401
> Error: couldn't parse reply from server
>=20
> $ bitcoind listaccounts
> HTTP error code: 401
> Error: couldn't parse reply from server
>=20
>=20
> Any tips?! lol
>=20
> Thanks!
> Thiago
>=20
> 2012/2/23 Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA =
<thiagocmartinsc@gmail.com>
> AWESOME!!!
>=20
> I can compile libcoin at my Ubuntu 11.10... I just need to install:
>=20
> sudo aptitude install libboost1.46-all-dev
>=20
> ...alongside with another already installed dependencies, and now it =
works!!
>=20
> Thank you!
> Thiago
>=20
> 2012/2/23 Michael Gr=C3=B8nager <gronager@ceptacle.com>
> Hi Martinx,
>=20
> Another note:
>=20
> 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.)
>=20
> You should do a :
>=20
> sudo apt-get upgrade libboost-dev-all
>=20
> to get the 1.46.1 library
>=20
> /M
>=20
>=20
> On 23/02/2012, at 18:31, Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=
=82=BA wrote:
>=20
>> Hi Michael!
>>=20
>> Thank you for libcoin! It is a awesome evolution for Bitcoin and for =
the CryptoCurrencies as a hole... Thanks!!!
>>=20
>> 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:
>>=20
>> ----
>> 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
>>=20
>> 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
>>=20
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /home/user/libcoin
>> ----
>>=20
>> Now I tried make, without success:
>>=20
>> ----
>> .....
>> 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
>> -----
>>=20
>> What can I do?!
>>=20
>> Best,
>> Thiago
>>=20
>>=20
>> On 1 February 2012 12:18, Michael Gr=C3=B8nager =
<gronager@ceptacle.com> wrote:
>> Dear Bitcoiners,
>>=20
>> libcoin is now in a state ready for its first release, which I would =
like to share with you!
>>=20
>> =3D=3D=3D libcoin is a crypto currency library based on the =
bitcoin/bitcoin "Satoshi" client. =3D=3D=3D
>>=20
>> 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.
>>=20
>> 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.
>>=20
>> 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!
>>=20
>> 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.
>>=20
>> 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.
>>=20
>> The build system of libcoin is based on CMake and supports builds of =
static and dynamic libraries on Linux, Mac OS X, and Windows.
>>=20
>> 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.
>>=20
>> =3D=3D=3D=3D=3D=3D
>>=20
>> Read more on libcoin on: http://github.com/ceptacle/libcoin/wiki
>>=20
>> Join libcoin on twitter: http://twitter.com/libcoin
>>=20
>> Download "libcoin Satoshi release": =
http://github.com/ceptacle/libcoin/zipball/v0.4.0.1
>>=20
>> Best regards,
>>=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/
>>=20
>>=20
>> =
--------------------------------------------------------------------------=
----
>> 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
>>=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/
>=20
>=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/