Bitcoin Forum
April 19, 2024, 02:12:52 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Most straightforward way to run a server-side python client  (Read 2244 times)
adrian33 (OP)
Member
**
Offline Offline

Activity: 118
Merit: 10


View Profile
June 20, 2011, 09:16:14 AM
 #1

Hi there, what are the best tools to use for running a client on the server that holds bitcoins for many users, and then allows them to on-pay to a second set of users?

There was a recent thread addressing a Python client: http://forum.bitcoin.org/index.php?topic=231.20

Any overriding suggestions at this point?

I am working in a team with Python developers... these are a bunch of links that look relevant:

http://code.google.com/p/pybitcoin/wiki/BitcoinProtocol
https://github.com/gavinandresen/bitcointools
https://github.com/lachesis/pybitcoin
https://github.com/toomanysecrets0/bitcoin-python/
http://gitorious.org/bitcoim/python-bitcoim
https://github.com/phantomcircuit/bitcoin-alt
https://gitorious.org/bitcoin/spesmilo
and
https://github.com/jgarzik/python-bitcoinrpc

1713492772
Hero Member
*
Offline Offline

Posts: 1713492772

View Profile Personal Message (Offline)

Ignore
1713492772
Reply with quote  #2

1713492772
Report to moderator
1713492772
Hero Member
*
Offline Offline

Posts: 1713492772

View Profile Personal Message (Offline)

Ignore
1713492772
Reply with quote  #2

1713492772
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713492772
Hero Member
*
Offline Offline

Posts: 1713492772

View Profile Personal Message (Offline)

Ignore
1713492772
Reply with quote  #2

1713492772
Report to moderator
1713492772
Hero Member
*
Offline Offline

Posts: 1713492772

View Profile Personal Message (Offline)

Ignore
1713492772
Reply with quote  #2

1713492772
Report to moderator
1713492772
Hero Member
*
Offline Offline

Posts: 1713492772

View Profile Personal Message (Offline)

Ignore
1713492772
Reply with quote  #2

1713492772
Report to moderator
titeuf_87
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
June 20, 2011, 09:56:20 AM
 #2

None of the python clients are complete afaik.

The best way would be to run bitcoind as a daemon on the server (or another server somewhere on the network, to make it more secure) and communicate with it using json.

From a quick look at your links, it seems that https://github.com/toomanysecrets0/bitcoin-python/ does this.

15kfBM3TQ4PGzL7cKncU3su2pH7ZJmiLtr
wumpus
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
June 20, 2011, 03:09:01 PM
 #3

From a quick look at your links, it seems that https://github.com/toomanysecrets0/bitcoin-python/ does this.
+1

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.
jandd
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
June 23, 2011, 05:05:29 AM
 #4

If you need a Python client for bitcoind's RPC interface that has no dependencies besides Python 2.6 you might want to have a look at my implementation. I use it as described by titeuf_87 running bitcoind in a separate LXC container.
wumpus
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
June 23, 2011, 06:36:56 AM
 #5

bitcoin-python also has no dependencies beyond Python itself

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