Bitcoin Forum
December 05, 2016, 08:51:37 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: minimalistic bitcoin client on D language?  (Read 7493 times)
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350


probiwon.com


View Profile WWW
December 10, 2010, 09:22:33 AM
 #1

I think to start writing a minimalistic bitcoin client on D language. Do you think this makes sense?

New bitcoin lottery: probiwon.com
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
1480927897
Hero Member
*
Offline Offline

Posts: 1480927897

View Profile Personal Message (Offline)

Ignore
1480927897
Reply with quote  #2

1480927897
Report to moderator
1480927897
Hero Member
*
Offline Offline

Posts: 1480927897

View Profile Personal Message (Offline)

Ignore
1480927897
Reply with quote  #2

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

Activity: 1134


View Profile
December 10, 2010, 09:28:08 AM
 #2

I think to start writing a minimalistic bitcoin client on D language. Do you think this makes sense?

The more implementations we have, the better.

Unfortunately, writting a client is no easy task.   Satoshi's code is far from from trivial.
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350


probiwon.com


View Profile WWW
December 10, 2010, 10:27:16 AM
 #3

Maybe then wait bitdns?

I'm just bored and a want to write a code

New bitcoin lottery: probiwon.com
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
December 10, 2010, 10:37:03 AM
 #4

If you're bored you should learn some Ruby it's really sweet !

Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



View Profile
December 10, 2010, 03:26:33 PM
 #5

+1 on Ruby.  Didn't someone recently write a Ruby interface to bitcoind?

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
December 10, 2010, 03:29:05 PM
 #6

I wrote a bitcoin daemon wrapper in Ruby
Fully extensible since it's heavily based on method missing

EDIT : Made it for Rails so it includes a lovely initializer and a sweet yml configuration file

bitcoinex
Sr. Member
****
Offline Offline

Activity: 350


probiwon.com


View Profile WWW
December 10, 2010, 05:11:11 PM
 #7

I do not like ruby, python, perl or java  Angry

New bitcoin lottery: probiwon.com
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
December 10, 2010, 05:13:12 PM
 #8

You want to re-implement the entire client?

Why make a convenient wrapper around the JSON API? That's much easier and just as useful.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



View Profile
December 10, 2010, 05:27:21 PM
 #9

I wrote a bitcoin daemon wrapper in Ruby
Fully extensible since it's heavily based on method missing

EDIT : Made it for Rails so it includes a lovely initializer and a sweet yml configuration file
I'll have to spend some time playing with it over the winter break.  Any thoughts on keeping a server running bitcoind relatively secure?  It seems like having a wallet.dat file on a publicly-accessible server is an accident waiting to happen.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



View Profile
December 10, 2010, 05:30:06 PM
 #10

I do not like ruby, python, perl or java  Angry
Well, I don't like C or Java or anything else that uses braces.  Tongue

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
December 10, 2010, 08:33:55 PM
 #11

python

I don't like IndentationErrors

perl

Not gonna criticize what I don't know

or java  Angry

I'll leave you the bob = new InstanceLocatorFactoryProxyWrapper<GenericInstanceBuilder>();

Smiley

bitcoinex
Sr. Member
****
Offline Offline

Activity: 350


probiwon.com


View Profile WWW
December 10, 2010, 08:53:36 PM
 #12

You want to re-implement the entire client?

Why make a convenient wrapper around the JSON API? That's much easier and just as useful.


It's pointless, I think. There is may be a "multidimensional" result.

Use jsawk:

Code:
$ ./bitcoin listreceivedbylabel | jsawk -n 'out(this.label+" "+this.amount+" "+this.confirmations)'
user_id:1080 106 5189
user_id:1081 0.05 5557
user_id:1083 2.89 2800
user_id:1087 500 5276
user_id:1105 0.4 462
user_id:1109 0.1 922
user_id:1110 0.04 431

New bitcoin lottery: probiwon.com
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
December 10, 2010, 09:01:04 PM
 #13

You want to re-implement the entire client?

Why make a convenient wrapper around the JSON API? That's much easier and just as useful.


It's just not as fun ! Cheesy
I would love a ruby bitcoin client so much !!

farmer_boy
Jr. Member
*
Offline Offline

Activity: 56


View Profile
December 10, 2010, 10:43:43 PM
 #14

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.

Test sending bitcoins to this address: 1P2NYce9Gj2eDN1GQNYaxkjm1npvmdqY4F
ribuck
Donator
Legendary
*
Offline Offline

Activity: 826


View Profile
December 10, 2010, 11:04:41 PM
 #15

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.

I bet you're also shocked by what restaurant kitchens look like, and by what goes into sausages.
farmer_boy
Jr. Member
*
Offline Offline

Activity: 56


View Profile
December 10, 2010, 11:19:10 PM
 #16

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.

I bet you're also shocked by what restaurant kitchens look like, and by what goes into sausages.
No, I happen to be aware of that, and that's why I usually try to eat at places with a semi-open kitchen.

The cryptography code that competent people use, doesn't look like a mess, btw. That 99% of the world uses this kind of obfuscated cryptography only shows that users don't know what they use. Have you ever looked at TrueCrypt for example? It's the exact same kind of mess.

Test sending bitcoins to this address: 1P2NYce9Gj2eDN1GQNYaxkjm1npvmdqY4F
Cdecker
Hero Member
*****
Offline Offline

Activity: 487



View Profile WWW
December 11, 2010, 01:19:33 AM
 #17

Here we are with the Language war once again. Please just stop!

As for the topic, yes please get an alternative implementation started, the more the merrier Smiley
Maybe some good code actually makes it out there, helping future generations of clients to build on top of your code.

+1 on the D implementation (I'm starting a Java one in the holidays)

Want to see what developers are chatting about? http://bitcoinstats.com/irc/bitcoin-dev/logs/
Bitcoin-OTC Rating
Hal
VIP
Sr. Member
*
expert
Offline Offline

Activity: 314



View Profile
December 11, 2010, 08:08:45 PM
 #18

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.
I'd like to hear some specific criticisms of the code. To me it looks like an impressive job, although I'd wish for more comments. Now I've mostly studied the init, main, script and a bit of net modules. This is some powerful machinery.

Hal Finney
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
December 11, 2010, 08:11:04 PM
 #19

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.
Can you be more specific? What exactly makes it a 'mess'?

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
chaord
Full Member
***
Offline Offline

Activity: 218


View Profile
December 11, 2010, 08:11:28 PM
 #20

+1 on scala if you're bored Wink
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!