Pages:
Author

Topic: bitcoind running on the N900 smartphone (Read 10758 times)

hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
March 24, 2011, 08:35:12 AM
#46
Oh, i see, thanx
legendary
Activity: 1078
Merit: 1005
March 24, 2011, 12:28:03 AM
#45
Btw, when i do bitcoind stop it seems it doesn't close (i still see it running with htop, and trying to fire it up again gives me an error about the .lock), am i doing somthing wrong?

It takes quite a while (a few minutes) to stop but it does eventually. I don't know why.
administrator
Activity: 5166
Merit: 12850
March 23, 2011, 09:21:41 PM
#44
Run it with '-no-irc' to prevent it from making an IRC connection. You can also use '-no-listen' to prevent it from listening for incoming connections and use '-connect' to explicitly connect to a node. This minimizes the number of connections to your phone.

It's -nolisten and -noirc.
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
March 23, 2011, 08:13:28 PM
#43
Btw, when i do bitcoind stop it seems it doesn't close (i still see it running with htop, and trying to fire it up again gives me an error about the .lock), am i doing somthing wrong?
legendary
Activity: 1078
Merit: 1005
March 23, 2011, 06:11:36 PM
#42
Bitcoin opens an IRC connection to lfnet for bootstrapping (finding peers).  New nodes have to find out about existing nodes somehow. 

Run it with '-no-irc' to prevent it from making an IRC connection. You can also use '-no-listen' to prevent it from listening for incoming connections and use '-connect' to explicitly connect to a node. This minimizes the number of connections to your phone.
hero member
Activity: 755
Merit: 515
March 23, 2011, 05:38:27 PM
#41

Update: 2010-02-04: The changes to ParseHex are no longer needed as they're part of the bitcoin source now. An updated build for the N900 is available here:

http://www.bluishcoder.co.nz/bitcoin-pool/bitcoind-b1a657.gz

This is built from github commit b1a657.

When I'm running bitcoind-b1a657 I notice an irc connection to some irc server being established, e.g.
tcp        0      0 192.168.3.118:56738     irc.lfnet.org:ircd      ESTABLISHED

What's the purpose of this connection?
Bitcoin opens an IRC connection to lfnet for bootstrapping (finding peers).  New nodes have to find out about existing nodes somehow. 
newbie
Activity: 6
Merit: 0
March 23, 2011, 05:37:03 PM
#40

Update: 2010-02-04: The changes to ParseHex are no longer needed as they're part of the bitcoin source now. An updated build for the N900 is available here:

http://www.bluishcoder.co.nz/bitcoin-pool/bitcoind-b1a657.gz

This is built from github commit b1a657.

When I'm running bitcoind-b1a657 I notice an irc connection to some irc server being established, e.g.
tcp        0      0 192.168.3.118:56738     irc.lfnet.org:ircd      ESTABLISHED

What's the purpose of this connection?
legendary
Activity: 1288
Merit: 1076
March 15, 2011, 11:53:49 AM
#39
Sorry, I haven't read this whole thread but I've seen that some people managed to hash at around 280kH/s.  I know the N900 has some graphic capable hardware:  any chance this device could be used to hash?
newbie
Activity: 14
Merit: 0
March 15, 2011, 11:50:36 AM
#38
lol nice, probably not the most effective thing but nice nonetheless
legendary
Activity: 2576
Merit: 1186
March 15, 2011, 01:13:00 AM
#37
I'm getting 280 khash/s while overclocked to 1150 Mhz. Not bad at all. Smiley
If you want to fry your N900 in a matter of months (at most).
jr. member
Activity: 52
Merit: 1
March 14, 2011, 11:57:38 PM
#36
I'm getting 280 khash/s while overclocked to 1150 Mhz. Not bad at all. Smiley
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
March 11, 2011, 05:39:42 AM
#35
Could you make a .deb for installing this please (optfication and all) ?
newbie
Activity: 35
Merit: 0
February 28, 2011, 02:35:48 AM
#34
You can also do this on android by installing a few libs or using a chroot.  Tongue
legendary
Activity: 1078
Merit: 1005
February 27, 2011, 06:20:29 PM
#33
I was referred to this topic from https://www.bitcoin.org/smf/index.php?topic=3940.msg56271#msg56271 . Did you have to change anything in the makefile? If so what all did you have to change and/or replace?

I had to remove the -march and SSE stuff from the makefile. I've posted the makefile I used in the other thread. Hope that helps.
newbie
Activity: 9
Merit: 0
February 27, 2011, 05:34:44 PM
#32
I was referred to this topic from https://www.bitcoin.org/smf/index.php?topic=3940.msg56271#msg56271 . Did you have to change anything in the makefile? If so what all did you have to change and/or replace?
legendary
Activity: 2576
Merit: 1186
February 04, 2011, 02:32:01 AM
#31
... make one minor change to util.cpp. The ParseHex function in util.cpp has code like:

Code:
if (c == -1)


'c' is a 'char' type which is unsigned so this comparison never does what's expected. Changing both instances of this to the following gets a working bitcoind:

Code:
if (c == (char)-1)
This "fix" seems wrong. Really, 'phexdigit' should be redefined to a 'signed char' array, and 'c'  a simple 'signed char'-- then none of this casting mess is necessary. The problem stems from the fact that the C standard allows 'char' to be either signed or unsigned: implementors can choose (and I've often see it signed). That means if you might need to use values above 127 or below 0, you must specify signed/unsigned explicitly for your variables. What (char)-1 does, is turn it into 0xff (255) on compilers that have an unsigned 'char', which might work, but it really depends a lot on how the compiler handles the constant "-1" stored in the  (undefined signedness) phexdigit array.
legendary
Activity: 1078
Merit: 1005
February 04, 2011, 01:26:29 AM
#30
I've updated the N900 binary to a newer version. I built from gitub commit b1a657. It's available here:

http://www.bluishcoder.co.nz/bitcoin-pool/bitcoind-b1a657.gz

I start it on the N900 using:

Code:
./bitcoind -noirc -connect=xx.xx.xx.xx -nolisten

Replacing 'xx.xx.xx.xx' with a node to connect too. This means no incoming connections will be made to the phone and only one connection is made outgoing.
legendary
Activity: 1078
Merit: 1005
January 01, 2011, 07:05:21 PM
#29
I experience problems with the bitcoin version for the n900 (I got it from http://bluishcoder.co.nz/bitcoin-pool/bitcoind.gz). When I try to execute the file I get the following error:

Did you download it and gunzip it on the phone? I just tried the following steps from the N900 terminal and it worked:

Code:
$ wget http://www.bluishcoder.co.nz/bitcoin-pool/bitcoind.gz
$ gunzip bitcoind.gz
$ chmod +x bitcoind.gz
$ ./bitcoind
legendary
Activity: 1288
Merit: 1076
January 01, 2011, 09:25:27 AM
#28
I'm off-topic but :  anyone has a spare USB cable for n900 to sell for bitcoins ?
newbie
Activity: 6
Merit: 0
January 01, 2011, 08:28:17 AM
#27
Hi all,

I experience problems with the bitcoin version for the n900 (I got it from http://bluishcoder.co.nz/bitcoin-pool/bitcoind.gz). When I try to execute the file I get the following error:
http://img227.imageshack.us/img227/2541/screenshot15d.png
I'm running version 20.2010.36-2.

Cheers,
britschler
Pages:
Jump to: