Bitcoin Forum
May 05, 2024, 06:13:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 »  All
  Print  
Author Topic: [ANNOUNCE] picocoin and libccoin -- C-based bitcoin library and client  (Read 30564 times)
jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
December 05, 2012, 05:17:01 PM
 #41

Hey, thanks for libccoin!!! I used it for a brute forcer for Casascius's BIP38 contest and it was very clearly laid out (at least from what I used on the library side.)

Thanks for giving it a try.

Quote
I did find a possible bug, though:

When generating a public key and Bitcoin address from a private key, the EC key is using the compressed form, when I believe it should be using the uncompressed form. I added this workaround here, but I don't know if it is the right way to go.

https://github.com/notespace/picocoin/commit/736235acabf08f2eae8856673bfd68574c8600fe

The developer consensus seems to be that uncompressed form just wastes bytes in the blockchain, which is true, so libccoin was coded to always used compressed form.

However, it might make sense to support uncompressed public keys for use cases such as yours, as long as the code still produces compressed form by default.

Such a change would involve adding "bool uncompressed" (default: false) to struct bp_key, and behaving accordingly based on that.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
1714889583
Hero Member
*
Offline Offline

Posts: 1714889583

View Profile Personal Message (Offline)

Ignore
1714889583
Reply with quote  #2

1714889583
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714889583
Hero Member
*
Offline Offline

Posts: 1714889583

View Profile Personal Message (Offline)

Ignore
1714889583
Reply with quote  #2

1714889583
Report to moderator
1714889583
Hero Member
*
Offline Offline

Posts: 1714889583

View Profile Personal Message (Offline)

Ignore
1714889583
Reply with quote  #2

1714889583
Report to moderator
1714889583
Hero Member
*
Offline Offline

Posts: 1714889583

View Profile Personal Message (Offline)

Ignore
1714889583
Reply with quote  #2

1714889583
Report to moderator
jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
December 05, 2012, 06:39:17 PM
 #42

A bit of a non-announcement, as it Just Worked(tm), but picocoin is happily talking to IPv6 nodes on the network.

Tor support (SOCKS5) should be added sometime soon.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
ffcitatos
Member
**
Offline Offline

Activity: 71
Merit: 10


View Profile
December 07, 2012, 02:01:08 PM
 #43

A total lamer here: if I have a private key of a bitcoin address, that has 1 BTC in it, can I spend it with picocoin? Or does it only know about transactions that are broadcast to it? Thank you.
jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
December 07, 2012, 02:43:00 PM
 #44

A total lamer here: if I have a private key of a bitcoin address, that has 1 BTC in it, can I spend it with picocoin? Or does it only know about transactions that are broadcast to it? Thank you.

In the future, when picocoin is complete, yes, you can spend it with picocoin.

Right now, while picocoin is under construction, that is not yet implemented.

picocoin will provide everything a bitcoin client should provide: you can receive and spend bitcoins.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Nachtwind
Hero Member
*****
Offline Offline

Activity: 700
Merit: 507



View Profile
December 22, 2012, 10:09:57 AM
 #45

Any progress on Picocoin? Been following this thread for a while ut it seems to be asleep for a few weeks now.. and if there is development. Any idea about compiling on windows?
jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
December 22, 2012, 11:31:58 PM
 #46

Any progress on Picocoin? Been following this thread for a while ut it seems to be asleep for a few weeks now.. and if there is development. Any idea about compiling on windows?

Many devs, myself included, are on winter break ;p


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Nagato
Full Member
***
Offline Offline

Activity: 150
Merit: 100



View Profile WWW
December 30, 2012, 03:00:04 PM
 #47

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...

em3rgentOrdr
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW
April 06, 2013, 10:49:22 AM
 #48

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.)

"We will not find a solution to political problems in cryptography, but we can win a major battle in the arms race and gain a new territory of freedom for several years.

Governments are good at cutting off the heads of a centrally controlled networks, but pure P2P networks are holding their own."
rupy
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
May 03, 2013, 08:05:54 AM
Last edit: May 03, 2013, 09:22:01 AM by rupy
 #49

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

BANKBOOK GWT Wallet & no-FIAT Billing API
Chaoskampf
Full Member
***
Offline Offline

Activity: 182
Merit: 100


order in numbers


View Profile
June 26, 2013, 04:36:44 AM
 #50

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!

jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
June 26, 2013, 12:07:58 PM
 #51

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.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


1. Collect underpants 2. ? 3. Profit


View Profile
November 30, 2013, 08:45:54 PM
Last edit: December 10, 2013, 12:16:56 AM by Aido
 #52

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?

Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
November 30, 2013, 09:09:20 PM
 #53

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.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


1. Collect underpants 2. ? 3. Profit


View Profile
December 02, 2013, 12:55:14 AM
Last edit: December 10, 2013, 12:18:24 AM by Aido
 #54

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.

Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
Nummum
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
January 06, 2014, 09:03:26 PM
Last edit: January 07, 2014, 12:59:33 AM by Nummum
 #55

I am thinking of using the libccoin and picocoin code as the basis of an alternative currency I am developing.

More details here: https://bitcointalk.org/index.php?topic=399728.0

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.
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


1. Collect underpants 2. ? 3. Profit


View Profile
January 09, 2014, 09:18:19 PM
Last edit: January 10, 2014, 12:02:26 AM by Aido
 #56

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?


Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
January 10, 2014, 12:35:35 AM
 #57

No recent progress, but any and all pull requests will be reviewed, tested and merged with lightning speed Smiley

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
thomas92911
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
January 11, 2014, 06:58:38 AM
 #58

Nice work, thanks. Cheesy
jgarzik (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
January 11, 2014, 07:33:04 PM
 #59

Minor update for a script parsing bug pushed to git.

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


1. Collect underpants 2. ? 3. Profit


View Profile
January 11, 2014, 08:48:23 PM
Last edit: January 11, 2014, 09:54:52 PM by Aido
 #60

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.

Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
Pages: « 1 2 [3] 4 5 6 7 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!