Bitcoin Forum
May 10, 2024, 06:11:26 PM *
News: Latest Bitcoin Core release: 27.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 12638 times)
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


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
1715364686
Hero Member
*
Offline Offline

Posts: 1715364686

View Profile Personal Message (Offline)

Ignore
1715364686
Reply with quote  #2

1715364686
Report to moderator
1715364686
Hero Member
*
Offline Offline

Posts: 1715364686

View Profile Personal Message (Offline)

Ignore
1715364686
Reply with quote  #2

1715364686
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
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!