Bitcoin Forum
May 29, 2015, 10:14:57 PM *
News: Change your password!
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: New thin SPV client for linux/mac: bitc  (Read 1032 times)
fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 23, 2014, 02:42:57 PM
 #1

Folks,

I've been working on & off on a lightweight bitcoin client. It's all command line for now and it supports linux & mac platforms. It doesn't re-use any existing bitcoin library, my original intention was to write a dummy client to better understand the underlying protocol, so I wrote my own.

From the README:

bitc is a thin SPV bitcoin client.

  • 100% lean C code,
  • support for linux and mac platforms,
  • console based: uses ncurses,
  • home grown async network i/o stack,
  • home grown poll loop,
  • home grown bitcoin engine,
  • supports encrypted wallets,
  • multi-threaded,
  • valgrind/AddressSanitizer clean.

There is still a fairly lengthy TODO list but the client is somewhat complete at this point and certainly usable, so I plan to put it on github sometime in the next few weeks.
Before I do so I was wondering: what would you like to see in an SPV bitcoin client for well.. geeks?
Cheers.

-M






Private Internet Access™ - No logs, Unlimited Bandwidth, PC Magazine's Editor's Choice
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1432937697
Hero Member
*
Offline Offline

Posts: 1432937697

View Profile Personal Message (Offline)

Ignore
1432937697
Reply with quote  #2

1432937697
Report to moderator
1432937697
Hero Member
*
Offline Offline

Posts: 1432937697

View Profile Personal Message (Offline)

Ignore
1432937697
Reply with quote  #2

1432937697
Report to moderator
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518


View Profile

Ignore
January 23, 2014, 02:53:47 PM
 #2

looks great, would adding support for a few other altcoins be major work? I don't think there is a wallet out there that supports multi coins yet.
fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 23, 2014, 03:01:56 PM
 #3

looks great, would adding support for a few other altcoins be major work? I don't think there is a wallet out there that supports multi coins yet.

Thanks for the feedback. Interesting. I don't know much about altcoins, but if they support SPV clients it shouldn't be much work to build say the litecoin peer of this app. Now having a single client be able to support several flavors of digital coins would be quite a bit more work.

-M
Dabs
Legendary
*
Offline Offline

Activity: 1022


64blocks.com


View Profile WWW

Ignore
January 23, 2014, 03:21:09 PM
 #4

Interesting. Well, I'm not sure I'll use a none-GUI version, but if it's for geeks, it better have Coin Control, some sort of Raw Transactions, Ability to set a fee, and a compiled console version for Windows. ehehehhe.

fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 23, 2014, 03:31:37 PM
 #5

By 'coin control', you mean the ability to select the coins used when initiating a tx? If so, having a generic UI for this is going to be kind of tough, but implementing policies (randomize, oldest first, etc.) is doable. Being able to broadcast a raw transaction is an hour of my time; setting an arbitrary fee is one line change.

Windows? Most of the low-level APIs have already been abstracted away, but the biggy will be the UI/ncurses. Maybe cygwin has a port for it? Not sure, I would have to investigate.

-M
Dabs
Legendary
*
Offline Offline

Activity: 1022


64blocks.com


View Profile WWW

Ignore
January 23, 2014, 03:33:31 PM
 #6

Yeah, I still use Win XP (32 bit).

fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 23, 2014, 03:40:34 PM
 #7

I see. Note that if I ever do something for this platform (very unlikely at this point), it's likely to be a full blown UI for the newer Windows flavors. Your best bet might well be to use a linux VM =)
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518


View Profile

Ignore
January 23, 2014, 03:41:07 PM
 #8

looks great, would adding support for a few other altcoins be major work? I don't think there is a wallet out there that supports multi coins yet.

Thanks for the feedback. Interesting. I don't know much about altcoins, but if they support SPV clients it shouldn't be much work to build say the litecoin peer of this app. Now having a single client be able to support several flavors of digital coins would be quite a bit more work.

Max

Yeah if you could even just support litecoin, that would be amazing. I honestly don't think even a dual-wallet exists yet .... yours could be the first Smiley
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518


View Profile

Ignore
January 23, 2014, 03:43:29 PM
 #9

Just did some googling and I couldn't find any info about SPV clients for litecoin so we might be out of luck on that one. Every search I tried turned litecoin into bitcoin when asking about SPV Wink
fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 23, 2014, 03:48:13 PM
 #10

Just did some googling and I couldn't find any info about SPV clients for litecoin so we might be out of luck on that one. Every search I tried turned litecoin into bitcoin when asking about SPV Wink

Ah, that's what I figured. If they get their act together and decide to implement some form of SPV support server-side, the client side shouldn't be that much work (but like I said, I don't know much about altcoins, so I may well be missing a big chunk of work).

-M
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518


View Profile

Ignore
January 23, 2014, 03:55:37 PM
 #11

Just did some googling and I couldn't find any info about SPV clients for litecoin so we might be out of luck on that one. Every search I tried turned litecoin into bitcoin when asking about SPV Wink

Ah, that's what I figured. If they get their act together and decide to implement some form of SPV support server-side, the client side shouldn't be that much work (but like I said, I don't know much about altcoins, so I may well be missing a big chunk of work).

-M

Yeah, it was a long shot. I suppose if litecoin had SPV support other clients would have integrated it by now. Concentrating solely on bitcoin is fine since you are developing a wallet with a different "flavour". Can't wait to try it out on my Mac. When do you think it be ready for a spin?
fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 23, 2014, 04:13:23 PM
 #12

The code is ready, I for some reasons am not. Send me a PM and I'll ping you once I'm there. Cheers.
dserrano5
Staff
Legendary
*
Offline Offline

Activity: 1092



View Profile

Ignore
January 23, 2014, 05:32:08 PM
 #13

I would swap the FX stuff for Coin Control.

Besides that, if several bitc's were able to p2p-talk among themselves to do CoinJoin in a decentralized manner, that would be a killer. You could try to raise some money and/or try to use the funds already donated in the CoinJoin thread.

PGP :: OTC :: Localbitcoins :: bitcoind -addnode=bk5ejfe56xakvtkk.onion
I prefer to be sent PGP-encrypted PMs :: Prefiero recibir MPs cifrados con PGP.
fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 23, 2014, 05:46:59 PM
 #14

I would swap the FX stuff for Coin Control.

Besides that, if several bitc's were able to p2p-talk among themselves to do CoinJoin in a decentralized manner, that would be a killer. You could try to raise some money and/or try to use the funds already donated in the CoinJoin thread.

That's a great suggestion. I'll think about it.

-M
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518


View Profile

Ignore
January 24, 2014, 03:49:32 AM
 #15

The code is ready, I for some reasons am not. Send me a PM and I'll ping you once I'm there. Cheers.

Cheers thx. I'll PM you now
Mr. Gabu
Member
**
Offline Offline

Activity: 99


View Profile

Ignore
January 24, 2014, 01:33:56 PM
 #16

Can you port it to DOGE, please?

We have funds and can raise more funds, if you think it costs something porting to DOGE. We can pay you.
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518


View Profile

Ignore
January 24, 2014, 01:50:05 PM
 #17

Can you port it to DOGE, please?

We have funds and can raise more funds, if you think it costs something porting to DOGE. We can pay you.

Does Doge have SPV client support?
dewdeded
Hero Member
*****
Offline Offline

Activity: 630


Monero Evangelist


View Profile WWW

Ignore
January 24, 2014, 11:26:22 PM
 #18

When is this ready? Can I get beta invite? (Would test and review/report on Mac and LX.)
fnsa1
Newbie
*
Offline Offline

Activity: 19


View Profile

Ignore
January 24, 2014, 11:36:32 PM
 #19

When is this ready? Can I get beta invite? (Would test and review/report on Mac and LX.)

Thanks for the interest. It should be out sometime in the next 2 weeks if all goes well.

-M
dewdeded
Hero Member
*****
Offline Offline

Activity: 630


Monero Evangelist


View Profile WWW

Ignore
January 24, 2014, 11:38:39 PM
 #20

- GL bro
- provide tipping address and I send some funds to help
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!