Bitcoin Forum
December 14, 2024, 11:23:34 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: I don't like Gavin's and Jeff's Bitcoin client - can I write my own?  (Read 12665 times)
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1104


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
Kais
Full Member
***
Offline Offline

Activity: 193
Merit: 100



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
Merit: 0



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.
Pages: « 1 [2]  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!