Pages:
Author

Topic: [ANNOUNCE] picocoin and libccoin -- C-based bitcoin library and client - page 4. (Read 30594 times)

sr. member
Activity: 248
Merit: 250
1. Collect underpants 2. ? 3. Profit
Also Jeff,

You have seen my attempts at swapping out the OpenSSL dependency in favour of PolarSSL to facilitate having picocoin run on low powered and embedded devices.

PolarSSL developers have indicated that they plan on releasing a new update early next week: https://github.com/polarssl/polarssl/issues/71

This new release should mean that PolarSSL now implements all bitcoin requirements. The PolarSSL guys have been most helpful on this.

Once this new PolarSSL release drops I will be able to finish up my PolarSSL pull request fairly quickly after that. A period of rigorous testing should follow as removing the OpenSSL dependency is a fundamental change.



legendary
Activity: 1596
Merit: 1091
A poor first attempt at writing some TX_MULTISIG code here:

https://github.com/aido/picocoin/commit/d6635879c1f6ab4812a0b123db3800d555c2993d

It's probably not worthy of a pull request but there may be something of use that can be copied and pasted into the main code.

Just pushed out a commit that implements this.
sr. member
Activity: 248
Merit: 250
1. Collect underpants 2. ? 3. Profit
Added two new utilities, "txmod" and "blkstats"

Added some P2SH scripting ability, also.


Always good to see picocoin getting some more TLC  Smiley


sr. member
Activity: 412
Merit: 275
Hey folks, wondering if anyone here could help me with this: https://bitcointalksearch.org/topic/a-publicly-queryable-database-of-info-scraped-from-the-blockchain-526089

I was looking at libbitcoin, it seems pretty great, although I haven't looked at C++ in years.. Would this be easy to do: a parser for the blockchain to load every transaction into a mongodb database? I'd like to decode the transactions as they're read and log some information about each.

Once I have all the old transactions done I'd just write something simple in PHP to continuously add information as it happens, but there's no quick way to decode every single transaction if I'm asking bitcoind to decode the transaction every time.
legendary
Activity: 1596
Merit: 1091
A poor first attempt at writing some TX_MULTISIG code here:

https://github.com/aido/picocoin/commit/d6635879c1f6ab4812a0b123db3800d555c2993d

It's probably not worthy of a pull request but there may be something of use that can be copied and pasted into the main code.

It's a good start.  The main bug there is that 'pubkeys' is plural.  You have to parse multiple entities out of the script to match a single "OP_PUBKEYS"  That requires a bit more reworking of the script parser, which fundamentally assumes there is a 1:1 ratio between opcodes and script data items.  With "OP_PUBKEYS", that assumption fails.

(I was looking at this last night Smiley)
legendary
Activity: 1596
Merit: 1091
Added two new utilities, "txmod" and "blkstats"

Added some P2SH scripting ability, also.

sr. member
Activity: 248
Merit: 250
1. Collect underpants 2. ? 3. Profit
A poor first attempt at writing some TX_MULTISIG code here:

https://github.com/aido/picocoin/commit/d6635879c1f6ab4812a0b123db3800d555c2993d

It's probably not worthy of a pull request but there may be something of use that can be copied and pasted into the main code.
legendary
Activity: 1596
Merit: 1091
Minor update for a script parsing bug pushed to git.
newbie
Activity: 16
Merit: 0
Nice work, thanks. Cheesy
legendary
Activity: 1596
Merit: 1091
No recent progress, but any and all pull requests will be reviewed, tested and merged with lightning speed Smiley
sr. member
Activity: 248
Merit: 250
1. Collect underpants 2. ? 3. Profit
From the Bitcoin with Raspberry Pithread:

I had bitcoind 0.8.1 running on a Raspberry Pi and performance was terrible.....very high CPU usage and too many r/w operations.

Jeff Garzik, one of the core bitcoin developers, is writing a lightweight C library called libccoin and a client called picocoin.

When finished this should be suitable for running on low powered devices like a Raspberry Pi.

Does anyone know the status of picocoin? I can't wait for a stable version. It would help my project immensely.


There are a few people (i.e. me and someone else  Smiley ) interested in getting picocoin running on a Raspberry Pi. Has there been any further progress of late?

newbie
Activity: 13
Merit: 0
I am thinking of using the libccoin and picocoin code as the basis of an alternative currency I am developing.

More details here: https://bitcointalksearch.org/topic/pre-annnum-nummum-399728

The main purpose of this alt currency is educational for me and to be a challenge to which I hope I can rise. I do not want to follow the same route as a lot of other alt currencies, cloning the bitcoin code and making a few minor changes. Not much can be learned from this.

Before I jump in and start writing code I would like an expert opinion. For the type of altcoin I intend to develop is libccoin/picocoin a good foundation to build upon or am I wasting my time? I know the picocoin code is not complete but that is part of the challenge I have set myself.
sr. member
Activity: 248
Merit: 250
1. Collect underpants 2. ? 3. Profit
Most key/value databases cannot scale to the millions of records and data access patterns that bitcoin requires, so it requires careful evaluation.

Indeed; but the Sophia benchmarks compared to LevelDB look promising, if they are to be believed.

LMDB (http://symas.com/mdb/) looks interesting too. Not sure about the OpenLDAP license though.
legendary
Activity: 1596
Merit: 1091
Is this project dead or stalled? I see that github hasn't had a commit in over 2 months now.

Stalled, though I am aware of at least two people working on embedded projects based on libccoin.

This Christmas I'm hoping to finish the client.

Quote
Also, any advice on whether incorporating Sophia (http://www.sphia.org/) is a good or a bad idea?

Seems worth checking out.  Most key/value databases cannot scale to the millions of records and data access patterns that bitcoin requires, so it requires careful evaluation.

sr. member
Activity: 248
Merit: 250
1. Collect underpants 2. ? 3. Profit
Is this project dead or stalled? I see that github hasn't had a commit in over 2 months now.

Also, any advice on whether incorporating Sophia (http://www.sphia.org/) is a good or a bad idea?
legendary
Activity: 1596
Merit: 1091
Have there been any advances lately? It's a really awesome project and I hope it reaches a stable release sometime soon. Great work jgarzik!

Some slow advances.  The library is seeing use in various places, as the base for custom bitcoin apps that need to be really fast.

The two clients, "brd" (block relay daemon) and "picocoin" (SPV client) remain incomplete and have not seen much attention.

The library, libccoin, is largely feature complete and available for use today.

full member
Activity: 182
Merit: 100
order in numbers
Have there been any advances lately? It's a really awesome project and I hope it reaches a stable release sometime soon. Great work jgarzik!

hero member
Activity: 725
Merit: 500
Hey I'm onto this RPi with free colocation path aswell.

Bitcoind consumes to much memory and diskspace to be a viable option.

I'll try and compile this to see if it runs ok.

When will payment be added?

Edit: I'm a complete noob, how do I build picocoin?

sudo apt-get install libevent-dev libjansson-dev automake libglib2.0-dev
sr. member
Activity: 434
Merit: 251
youtube.com/ericfontainejazz now accepts bitcoin
I downloaded the lastest code and was able to compile and run on both my x86-64 machine and my Raspberry PI arm marchine.  However, when I try running netsync, both machines fail and say all the ip addresses are unrechable:

Quote
socket connect 2a02:348:5e:5a29::1: Network is unreachable
net: failed to start connection to 2a02:348:5e:5a29::1
net: connect 69.164.196.4 failed: Connection refused

Regular bitcoin client works fine on my x86-64 machine, so I don't think my router blocking ports could be the problem.  Any ideas?

(I am wanting to turn my PI into a lightweight pay-to-download fileserver...so any suggestions are helpful.  I'd want to set it up so people can download a file after their bitcoin transaction gets a couple confirmations.)
full member
Activity: 150
Merit: 100
Everything builds and tests pass on MacOS X 10.7.  Good job on this code, you've written the client Satoshi should have.

Satoshi could not have written a light client...
Pages:
Jump to: