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
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
|
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
helo=mx.sourceforge.net)
by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <thiagocmartinsc@gmail.com>) id 1S0kjy-0006th-BT
for bitcoin-development@lists.sourceforge.net;
Fri, 24 Feb 2012 02:18:34 +0000
Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com
designates 209.85.212.47 as permitted sender)
client-ip=209.85.212.47; envelope-from=thiagocmartinsc@gmail.com;
helo=mail-vw0-f47.google.com;
Received: from mail-vw0-f47.google.com ([209.85.212.47])
by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1S0kjw-0002RQ-Q8
for bitcoin-development@lists.sourceforge.net;
Fri, 24 Feb 2012 02:18:34 +0000
Received: by vbbff1 with SMTP id ff1so1977643vbb.34
for <bitcoin-development@lists.sourceforge.net>;
Thu, 23 Feb 2012 18:18:27 -0800 (PST)
Received-SPF: pass (google.com: domain of thiagocmartinsc@gmail.com designates
10.220.209.200 as permitted sender) client-ip=10.220.209.200;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of
thiagocmartinsc@gmail.com designates 10.220.209.200 as
permitted sender) smtp.mail=thiagocmartinsc@gmail.com;
dkim=pass header.i=thiagocmartinsc@gmail.com
Received: from mr.google.com ([10.220.209.200])
by 10.220.209.200 with SMTP id gh8mr145036vcb.55.1330049907456
(num_hops = 1); Thu, 23 Feb 2012 18:18:27 -0800 (PST)
Received: by 10.220.209.200 with SMTP id gh8mr118538vcb.55.1330049907247; Thu,
23 Feb 2012 18:18:27 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.117.16 with HTTP; Thu, 23 Feb 2012 18:17:57 -0800 (PST)
In-Reply-To: <CAJSM8J3bZYfpE9EATcYe=79s_RxvGG9BrdRQR9ivwtZnuPsL0w@mail.gmail.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>
From: =?ISO-2022-JP?B?TWFydGlueCAtIBskQiU4JSchPCVgJTobKEI=?=
<thiagocmartinsc@gmail.com>
Date: Fri, 24 Feb 2012 00:17:57 -0200
Message-ID: <CAJSM8J2nhoKsOnAeF8qBW3zOfp=sJ25sd8gnw2dMJ3GgkohDjQ@mail.gmail.com>
To: =?ISO-8859-1?Q?Michael_Gr=F8nager?= <gronager@ceptacle.com>
Content-Type: multipart/alternative; boundary=bcaec54ee61641488104b9ac60e5
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: 1S0kjw-0002RQ-Q8
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 02:18:34 -0000
--bcaec54ee61641488104b9ac60e5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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,
"testnet" : false
}
# sleep a couple minutes
$ bitcoind getinfo # ok
{
"version" : 40001,
"blocks" : 67527,
"connections" : 8,
"difficulty" : 45.38582234,
"testnet" : false
}
But...
$ bitcoind help
HTTP error code: 404
JSON RPC Error code: -36001
Method not found.
$ 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
Any tips?! lol
Thanks!
Thiago
2012/2/23 Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA <thiagocm=
artinsc@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 remov=
ed
>> 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 t=
o
>> 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 - f=
ound
>> > -- 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_iteratorIPhSt6vectorIhSa=
IhEEEEE7uint256T_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_iteratorIPhSt6vectorIhSa=
IhEEEEE7uint256T_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 t=
he
>> 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 th=
e
>> same computer on the same files and you can call it with the same script=
s.
>> 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 thread=
s
>> 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 (Cha=
in)
>> 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 ope=
n
>> source as well as in commercial projects, but improvements should go bac=
k
>> 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/
>>
>>
>
--bcaec54ee61641488104b9ac60e5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi Michael!<div><br></div><div>=C2=A0I just run "bitcoind", from =
libcoin ("sudo make install") sources, with empty ~/.bitcoin dire=
ctory and:</div><div><br></div><div>Terminal 1: bitcoind # apparently okay<=
/div>
<div><br></div><div>Terminal 2:</div><div><br></div><div>$ bitcoind getinfo=
# okay</div><div><div>{</div><div>=C2=A0 =C2=A0 "version" : 4000=
1,</div><div>=C2=A0 =C2=A0 "blocks" : 57733,</div><div>=C2=A0 =C2=
=A0 "connections" : 8,</div>
<div>=C2=A0 =C2=A0 "difficulty" : 11.84622815,</div><div>=C2=A0 =
=C2=A0 "testnet" : false</div><div>}</div></div><div><br></div><d=
iv># sleep a couple minutes</div><div><br></div><div><div>$ bitcoind getinf=
o # ok</div><div>
{</div><div>=C2=A0 =C2=A0 "version" : 40001,</div><div>=C2=A0 =C2=
=A0 "blocks" : 67527,</div><div>=C2=A0 =C2=A0 "connections&q=
uot; : 8,</div><div>=C2=A0 =C2=A0 "difficulty" : 45.38582234,</di=
v><div>=C2=A0 =C2=A0 "testnet" : false</div>
<div>}</div></div><div><br></div><div><br></div><div>But...</div><div><br><=
/div><div><br></div><div>$ bitcoind help</div><div><div>HTTP error code: 40=
4</div><div>JSON RPC Error code: -36001</div><div>Method not found.</div>
</div><div><br></div><div><div>$ bitcoind getaccountaddress ""</d=
iv><div>HTTP error code: 401</div><div>Error: couldn't parse reply from=
server</div></div><div><br></div><div><div>$ bitcoind listaccounts</div>
<div>HTTP error code: 401</div><div>Error: couldn't parse reply from se=
rver</div></div><div><br></div><div><br></div><div>=C2=A0Any tips?! lol</di=
v><div><br></div><div>Thanks!</div><div>Thiago</div><div><br><div class=3D"=
gmail_quote">
2012/2/23 Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82=BA <span dir=
=3D"ltr"><<a href=3D"mailto:thiagocmartinsc@gmail.com">thiagocmartinsc@g=
mail.com</a>></span><br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
AWESOME!!!<div><br></div><div>I can compile libcoin at my Ubuntu 11.10... I=
just need to install:</div><div><br></div><div>sudo aptitude install libbo=
ost1.46-all-dev</div><div><br></div><div>...alongside with another already =
installed dependencies, and now it works!!</div>
<div><br></div><div>Thank you!</div><div>Thiago</div><div class=3D"HOEnZb">=
<div class=3D"h5"><div><br><div class=3D"gmail_quote">2012/2/23 Michael Gr=
=C3=B8nager <span dir=3D"ltr"><<a href=3D"mailto:gronager@ceptacle.com" =
target=3D"_blank">gronager@ceptacle.com</a>></span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi Martinx,<br>
<br>
Another note:<br>
<br>
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 fro=
m openssl, but boost still references it.)<br>
<br>
You should do a :<br>
<br>
sudo apt-get upgrade libboost-dev-all<br>
<br>
to get the 1.46.1 library<br>
<span><font color=3D"#888888"><br>
/M<br>
</font></span><div><br>
<br>
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>
<br>
</div><div><div>> Hi Michael!<br>
><br>
> =C2=A0Thank you for libcoin! It is a awesome evolution for Bitcoin and=
for the CryptoCurrencies as a hole... Thanks!!!<br>
><br>
> =C2=A0Anyway, 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:<br>
><br>
> ----<br>
> user@desk:~/libcoin$ ./configure<br>
> -- The C compiler identification is GNU<br>
> -- The CXX compiler identification is GNU<br>
> -- Check for working C compiler: /usr/bin/gcc<br>
> -- Check for working C compiler: /usr/bin/gcc -- works<br>
> -- Detecting C compiler ABI info<br>
> -- Detecting C compiler ABI info - done<br>
> -- Check for working CXX compiler: /usr/bin/c++<br>
> -- Check for working CXX compiler: /usr/bin/c++ -- works<br>
> -- Detecting CXX compiler ABI info<br>
> -- Detecting CXX compiler ABI info - done<br>
> -- Looking for include files CMAKE_HAVE_PTHREAD_H<br>
> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found<br>
> -- Looking for pthread_create in pthreads<br>
> -- Looking for pthread_create in pthreads - not found<br>
> -- Looking for pthread_create in pthread<br>
> -- Looking for pthread_create in pthread - found<br>
> -- Found Threads: TRUE<br>
> -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/=
lib/i386-linux-gnu/libXext.so<br>
> -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/=
lib/i386-linux-gnu/libXext.so - found<br>
> -- Looking for gethostbyname<br>
> -- Looking for gethostbyname - found<br>
> -- Looking for connect<br>
> -- Looking for connect - found<br>
> -- Looking for remove<br>
> -- Looking for remove - found<br>
> -- Looking for shmat<br>
> -- Looking for shmat - found<br>
> -- Looking for IceConnectionNumber in ICE<br>
> -- Looking for IceConnectionNumber in ICE - found<br>
> -- Found X11: /usr/lib/i386-linux-gnu/libX11.so<br>
> -- Boost version: 1.42.0<br>
> -- Found the following Boost libraries:<br>
> -- =C2=A0 date_time<br>
> -- =C2=A0 regex<br>
> -- =C2=A0 filesystem<br>
> -- =C2=A0 system<br>
> -- =C2=A0 program_options<br>
> -- =C2=A0 thread<br>
> -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so<br>
> -- Looking for Q_WS_X11<br>
> -- Looking for Q_WS_X11 - found<br>
> -- Looking for Q_WS_WIN<br>
> -- Looking for Q_WS_WIN - not found.<br>
> -- Looking for Q_WS_QWS<br>
> -- Looking for Q_WS_QWS - not found.<br>
> -- Looking for Q_WS_MAC<br>
> -- Looking for Q_WS_MAC - not found.<br>
> -- Found Qt-Version 4.7.2 (using /usr/bin/qmake)<br>
> -- Found wxWidgets: TRUE<br>
><br>
> The build system is configured to install libraries to /usr/local/lib<=
br>
> Your applications may not be able to find your installed libraries unl=
ess you:<br>
> =C2=A0 =C2=A0 set your LD_LIBRARY_PATH (user specific) or<br>
> =C2=A0 =C2=A0 update your ld.so configuration (system wide)<br>
> You have an ld.so.conf.d directory on your system, so if you wish to e=
nsure that<br>
> applications find the installed libcoin libraries, system wide, you co=
uld install an<br>
> libcoin specific ld.so configuration with:<br>
> =C2=A0 =C2=A0 sudo make install_ld_conf<br>
><br>
> -- Configuring done<br>
> -- Generating done<br>
> -- Build files have been written to: /home/user/libcoin<br>
> ----<br>
><br>
> =C2=A0Now I tried make, without success:<br>
><br>
> ----<br>
> .....<br>
> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0xf): =
undefined reference to `BN_init'<br>
> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x1e):=
undefined reference to `BN_copy'<br>
> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x38):=
undefined reference to `BN_set_negative'<br>
> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x4f):=
undefined reference to `BN_clear_free'<br>
> Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0xd3):=
undefined reference to `BN_clear_free'<br>
> ../../lib/libcoin.a(Script.o): In function `operator<<(CBigNum c=
onst&, unsigned int)':<br>
> Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&,=
unsigned int)]+0x16): undefined reference to `BN_init'<br>
> Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&,=
unsigned int)]+0x2c): undefined reference to `BN_lshift'<br>
> Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&,=
unsigned int)]+0xad): undefined reference to `BN_clear_free'<br>
> ../../lib/libcoin.a(Script.o): In function `operator>>(CBigNum c=
onst&, unsigned int)':<br>
> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&,=
unsigned int)]+0xf): undefined reference to `BN_init'<br>
> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&,=
unsigned int)]+0x1e): undefined reference to `BN_copy'<br>
> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&,=
unsigned int)]+0x47): undefined reference to `BN_clear_free'<br>
> Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&,=
unsigned int)]+0xcb): undefined reference to `BN_clear_free'<br>
> ../../lib/libcoin.a(Script.o): In function `operator!=3D(CBigNum const=
&, CBigNum const&)':<br>
> Script.cpp:(.text._ZneRK7CBigNumS1_[operator!=3D(CBigNum const&, C=
BigNum const&)]+0x14): undefined reference to `BN_cmp'<br>
> ../../lib/libcoin.a(Script.o): In function `operator>(CBigNum const=
&, CBigNum const&)':<br>
> Script.cpp:(.text._ZgtRK7CBigNumS1_[operator>(CBigNum const&, C=
BigNum const&)]+0x14): undefined reference to `BN_cmp'<br>
> ../../lib/libcoin.a(Script.o): In function `uint256 Hash<__gnu_cxx:=
:__normal_iterator<unsigned char*, std::vector<unsigned char, std::al=
locator<unsigned char> > > >(__gnu_cxx::__normal_iterator<=
;unsigned char*, std::vector<unsigned char, std::allocator<unsigned c=
har> > >, __gnu_cxx::__normal_iterator<unsigned char*, std::vec=
tor<unsigned char, std::allocator<unsigned char> > >)':<=
br>
> Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIh=
SaIhEEEEE7uint256T_S8_[uint256 Hash<__gnu_cxx::__normal_iterator<unsi=
gned char*, std::vector<unsigned char, std::allocator<unsigned char&g=
t; > > >(__gnu_cxx::__normal_iterator<unsigned char*, std::vect=
or<unsigned char, std::allocator<unsigned char> > >, __gnu_c=
xx::__normal_iterator<unsigned char*, std::vector<unsigned char, std:=
:allocator<unsigned char> > >)]+0x6d): undefined reference to `=
SHA256'<br>
> Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIh=
SaIhEEEEE7uint256T_S8_[uint256 Hash<__gnu_cxx::__normal_iterator<unsi=
gned char*, std::vector<unsigned char, std::allocator<unsigned char&g=
t; > > >(__gnu_cxx::__normal_iterator<unsigned char*, std::vect=
or<unsigned char, std::allocator<unsigned char> > >, __gnu_c=
xx::__normal_iterator<unsigned char*, std::vector<unsigned char, std:=
:allocator<unsigned char> > >)]+0xb8): undefined reference to `=
SHA256'<br>
> collect2: ld returned 1 exit status<br>
> make[2]: *** [bin/bitcoind] Error 1<br>
> make[1]: *** [applications/bitcoind/CMakeFiles/app_bitcoind.dir/all] E=
rror 2<br>
> make: *** [all] Error 2<br>
> -----<br>
><br>
> =C2=A0What can I do?!<br>
><br>
> Best,<br>
> Thiago<br>
><br>
><br>
> On 1 February 2012 12:18, Michael Gr=C3=B8nager <<a href=3D"mailto:=
gronager@ceptacle.com" target=3D"_blank">gronager@ceptacle.com</a>> wrot=
e:<br>
> Dear Bitcoiners,<br>
><br>
> libcoin is now in a state ready for its first release, which I would l=
ike to share with you!<br>
><br>
> =3D=3D=3D libcoin is a crypto currency library based on the bitcoin/bi=
tcoin "Satoshi" client. =3D=3D=3D<br>
><br>
> Copenhagen, Denmark - 1st February 2012 Ceptacle announces the release=
of the first version of the crypto currency library "libcoin" ba=
sed on the bitcoin/bitcoin "Satoshi" client.<br>
><br>
> 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 file=
s.<br>
><br>
> 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!<br>
><br>
> In libcoin, the Satoshi client code has been completely refactored, pr=
operly 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 cl=
ients.<br>
><br>
> libcoin is chain agnostic, all chain (bitcoin, testnet, namecoin, lite=
coin, ...) specific settings are maintained from a single class (Chain) and=
hence experiments with chain settings, mining, security and digital curren=
cies for research and educational purposes are easily accessible. See the p=
onzicoin example for how you define your own chain.<br>
><br>
> The build system of libcoin is based on CMake and supports builds of s=
tatic and dynamic libraries on Linux, Mac OS X, and Windows.<br>
><br>
> 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.<br>
><br>
> =3D=3D=3D=3D=3D=3D<br>
><br>
> Read more on libcoin on: <a href=3D"http://github.com/ceptacle/libcoin=
/wiki" target=3D"_blank">http://github.com/ceptacle/libcoin/wiki</a><br>
><br>
> Join libcoin on twitter: <a href=3D"http://twitter.com/libcoin" target=
=3D"_blank">http://twitter.com/libcoin</a><br>
><br>
> Download "libcoin Satoshi release": <a href=3D"http://github=
.com/ceptacle/libcoin/zipball/v0.4.0.1" target=3D"_blank">http://github.com=
/ceptacle/libcoin/zipball/v0.4.0.1</a><br>
><br>
> Best regards,<br>
><br>
> Michael Gronager, PhD<br>
> Director, Ceptacle<br>
> Jens Juels Gade 33<br>
> 2100 Copenhagen E<br>
> Mobile: <a href=3D"tel:%2B45%2031%2045%2014%2001" value=3D"+4531451401=
" target=3D"_blank">+45 31 45 14 01</a><br>
> E-mail: <a href=3D"mailto:gronager@ceptacle.com" target=3D"_blank">gro=
nager@ceptacle.com</a><br>
> Web: <a href=3D"http://www.ceptacle.com/" target=3D"_blank">http://www=
.ceptacle.com/</a><br>
><br>
><br>
> ----------------------------------------------------------------------=
--------<br>
> Keep Your Developer Skills Current with LearnDevNow!<br>
> The most comprehensive online learning library for Microsoft developer=
s<br>
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC=
3,<br>
> Metro Style Apps, more. Free future releases when you subscribe now!<b=
r>
> <a href=3D"http://p.sf.net/sfu/learndevnow-d2d" target=3D"_blank">http=
://p.sf.net/sfu/learndevnow-d2d</a><br>
> _______________________________________________<br>
> Bitcoin-development mailing list<br>
> <a href=3D"mailto:Bitcoin-development@lists.sourceforge.net" target=3D=
"_blank">Bitcoin-development@lists.sourceforge.net</a><br>
> <a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-develo=
pment" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitco=
in-development</a><br>
><br>
<br>
Michael Gronager, PhD<br>
Director, Ceptacle<br>
Jens Juels Gade 33<br>
2100 Copenhagen E<br>
Mobile: <a href=3D"tel:%2B45%2031%2045%2014%2001" value=3D"+4531451401" tar=
get=3D"_blank">+45 31 45 14 01</a><br>
E-mail: <a href=3D"mailto:gronager@ceptacle.com" target=3D"_blank">gronager=
@ceptacle.com</a><br>
Web: <a href=3D"http://www.ceptacle.com/" target=3D"_blank">http://www.cept=
acle.com/</a><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
--bcaec54ee61641488104b9ac60e5--
|