Bitcoin Forum
December 04, 2016, 10:29:23 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: I don't like Gavin's and Jeff's Bitcoin client - can I write my own?  (Read 12094 times)
TierNolan
Legendary
*
Online Online

Activity: 1036


View Profile
July 05, 2011, 04:21:04 PM
 #21

A C++ regression suite would be really, really useful to have. Though it's quite hard to do effectively because the protocol is so minimal - it's not possible, for example, to find out if a node accepted your block or tx except by doing some rather indirect tricks or using JSON-RPC which makes it only work for the C++ impl.

Maybe you could see if the other node broadcasts your transaction.

The test suite could be

- have the client under test connect to 2 other (known good) nodes
- send 1000 transactions to the node under test
- see which transactions it forwards and which it refuses to forward


1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
1480890563
Hero Member
*
Offline Offline

Posts: 1480890563

View Profile Personal Message (Offline)

Ignore
1480890563
Reply with quote  #2

1480890563
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Kais
Full Member
***
Offline Offline

Activity: 195



View Profile
July 17, 2011, 01:25:42 AM
 #22


Oh, and speaking of trust... unless you have a recognized Brand Name, I don't think you'll have any success with a closed-source client.


Yes, DEFinitely won't get much support or use if it's closed source and people don't trust you. Open source is the best Smiley
ghotir
Newbie
*
Offline Offline

Activity: 16



View Profile
July 17, 2011, 11:43:30 AM
 #23

So I woke up one morning and decided I don't like Gavin's and Jeff's bitcoin clients for any of the platforms.

Can I write my own, and is there anything technically stopping me from doing this if I were to follow the rules of trading/transactions on the Bitcoin network?

Maybe I want to write a Haskell or a Clojure client... or Ruby. Is there anything stopping me from writing one and getting other people to use it if they see value in it?

Where is the protocol specified of how to write a Bitcoin client/daemon?

Thanks!
Go for it.
I'm teaching myself Python, and am writing my own python-[n]curses frontend to bitcoind - nothing special, just sending the arguments to bitcoind.
I taught myself PHP-MySQL years back in a similar fashion by writing my own blogging scripts.

Shameless:  payb.tc/ghotir
My G+ :  ghotir.us/gplus
Pages: « 1 [2]  All
  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!