Bitcoin Forum

Bitcoin => Wallet software => Topic started by: genjix on February 14, 2011, 05:24:53 AM



Title: !! new bitcoin client !!
Post by: genjix on February 14, 2011, 05:24:53 AM
Made a new client. Looking for testers and feedback.
https://github.com/genjix/spesmilo

http://img193.imageshack.us/img193/4556/engms.png

And showing off internationalisation (slightly newer than above... made some minor corrections),

http://img29.imageshack.us/img29/6546/screenshot1js.png

Code:
# as of version 47908a890726f424371c9784b8508cff163c2c78 (Gavin Andresen) Thu Feb 10 19:24:22 2011 -0500
#  Visual C++ compatibility fixes
git clone https://github.com/bitcoin/bitcoin

# apply the bitcoin.patch in this directory
make -f makefile.unix bitcoind
# copy to /usr/local/bin
sudo cp bitcoind /usr/local/bin

# install pyside for your distro, http://developer.qt.nokia.com/wiki/PySide_Binaries_Linux
sudo add-apt-repository ppa:pyside
sudo apt-get update
sudo apt-get install python-pyside

# run the program
python main.py

# Esperanto translation:
#   uncomment the 5th line from the bottom of main.py

Still got lots of features planned.


Title: Re: !! new bitcoin client !!
Post by: hippich on February 14, 2011, 06:18:35 AM
Looks really nice!


Title: Re: !! new bitcoin client !!
Post by: dishwara on February 14, 2011, 08:34:33 AM
How to run it on windows?


Title: Re: !! new bitcoin client !!
Post by: genjix on February 14, 2011, 08:53:42 AM
I'm still looking into windows but basically you need to install this,

http://developer.qt.nokia.com/wiki/PySide_Binaries_Windows

and apply the patch in the instructions to the git version of bitcoind

And it *should* work


Title: Re: !! new bitcoin client !!
Post by: dishwara on February 14, 2011, 09:04:40 AM
Please i dont know programming stuff.....

"and apply the patch in the instructions to the git version of bitcoind"

How to do it?

I downloaded http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi &
http://pypi.python.org/packages/2.7/P/PySide/PySide-1.0.0beta5qt471.win32-py2.7.exe & installed.
& also got this error or some thing when installing Pyside

close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr

Now what i have to do?


Title: Re: !! new bitcoin client !!
Post by: genjix on February 14, 2011, 09:25:26 AM
thanks for trying to help out ;D

but i dont know about windows. hopefully in a few days i'll get nanotube & others to help me build packages for everybody.

for now this is a pre-alpha test for ubuntu users. to make sure there's no bugs for test release.


Title: Re: !! new bitcoin client !!
Post by: WSDN on February 14, 2011, 02:01:55 PM
just wait for the oficial windows binaries =)


Title: Re: !! new bitcoin client !!
Post by: BitterTea on February 14, 2011, 02:33:28 PM
Does this call Bitcoind or are you handling all of the back end stuff?


Title: Re: !! new bitcoin client !!
Post by: Cdecker on February 14, 2011, 03:47:04 PM
Does this call Bitcoind or are you handling all of the back end stuff?
It's another frontend to bitcoind.


Title: Re: !! new bitcoin client !!
Post by: ShadowOfHarbringer on February 14, 2011, 04:02:53 PM
Does it have "backup wallet" option in menu ?

This is the thing i'm most missing in the original GUI client.


Title: Re: !! new bitcoin client !!
Post by: genjix on February 14, 2011, 07:04:42 PM
Does it have "backup wallet" option in menu ?

This is the thing i'm most missing in the original GUI client.

Working on it. If anybody wants to discuss this in IRC, I need somebody to run my ideas past them to make sure it's secure.


Title: Re: !! new bitcoin client !!
Post by: LZ on February 15, 2011, 12:28:27 AM
Just use backupwallet <destination> and it will be secure.


Title: Re: !! new bitcoin client !!
Post by: BitterTea on February 15, 2011, 12:56:16 AM
I'm almost certain that backupwallet makes a cleartext backup of the current wallet. What makes it useful is that it can be called while Bitcoin is running and has the wallet open, without worry of corruption.


Title: Re: !! new bitcoin client !!
Post by: genjix on February 15, 2011, 01:07:18 AM
I'm almost certain that backupwallet makes a cleartext backup of the current wallet. What makes it useful is that it can be called while Bitcoin is running and has the wallet open, without worry of corruption.

yeah I want to encrypt these first using GPG then upload them to a server using SCP.

However because I want to make it easy, I'm thinking the program would upload the GPG private key in case you ever lost it.

First time install:
- User enables auto-backups.
- Program prompts user to create a new account.
- Program creates a new GPG key for wallet encryption with the id 'bitcoin-wallet-backup'.
- Program uploads GPG private key.

Periodically, after every SEND or NEW-ADDRESS:
- backupwallet to /tmp
- Encrypt & sign wallet using private key.
- Upload to server using SCP.
- Server rejects wallet if signature is incorrect.

Restore wallet:
- Program checks for GPG key 'bitcoin-wallet-backup'.
- If not found then popup dialog asking for username/password & download GPG private key.
- User can download encrypted wallet from public HTTP store ( http://blaa/myusername/latest-wallet.dat.enc )

Suggestions?


Title: Re: !! new bitcoin client !!
Post by: ShadowOfHarbringer on February 15, 2011, 08:25:19 AM
I'm almost certain that backupwallet makes a cleartext backup of the current wallet. What makes it useful is that it can be called while Bitcoin is running and has the wallet open, without worry of corruption.

Yes, but this option is ultimately annoying, because i can't have both GUI and daemon running.
I like GUI better for now, and i can't use it to backup wallet.

So i have to shutdown GUI, and start daemon, then backup wallet.... as i said - annoying.


Title: Re: !! new bitcoin client !!
Post by: theymos on February 15, 2011, 01:31:55 PM
Yes, but this option is ultimately annoying, because i can't have both GUI and daemon running.

Yes, you can. Run Bitcoin with the -server switch.


Title: Re: !! new bitcoin client !!
Post by: ShadowOfHarbringer on February 15, 2011, 01:34:21 PM
Yes, but this option is ultimately annoying, because i can't have both GUI and daemon running.

Yes, you can. Run Bitcoin with the -server switch.

Wonderful ! Thx.

How come i didn't know that ?


Title: Re: !! new bitcoin client !!
Post by: Luke-Jr on February 16, 2011, 05:04:40 AM
New features in http://gitorious.org/bitcoin/spesmilo
  • Use with unpatched, independent RPC server (or patched "internal" bitcoind like now)
  • Settings dialog... to be expanded later


Title: Re: !! new bitcoin client !!
Post by: genjix on February 16, 2011, 06:20:06 AM
New features in http://gitorious.org/bitcoin/spesmilo
  • Use with unpatched, independent RPC server (or patched "internal" bitcoind like now)
  • Settings dialog... to be expanded later

Cool :)

Some points:

Are you using Windows or Linux?

Also gavin accepted the patch, so we should expect the bitcoind to have that patch in the next release.

Let's use the accepted Python coding style: http://www.python.org/dev/peps/pep-0008/

Why do you run bitcoin --help? The file core_interface.py is preferrable since we want to have the option to later switch to other cores (QBitcoin ;)

I'm working on wallet backup atm so I'll message you on irc once that's done to guide you through pulling in my changes.


Title: Re: !! new bitcoin client !!
Post by: Luke-Jr on February 16, 2011, 03:34:07 PM
Some points:

Are you using Windows or Linux?

Also gavin accepted the patch, so we should expect the bitcoind to have that patch in the next release.

Let's use the accepted Python coding style: http://www.python.org/dev/peps/pep-0008/

Why do you run bitcoin --help? The file core_interface.py is preferrable since we want to have the option to later switch to other cores (QBitcoin ;)

I'm working on wallet backup atm so I'll message you on irc once that's done to guide you through pulling in my changes.
I only use Linux. Patch or not, I just wanted to use it with a 24/7 remote RPC server. ;)

When working on others' code, I try to simply mimic their coding style. Python annoys me enough without trying to follow a long list of additional nonsensical rules. What don't you like? :p

It runs 'bitcoind --help' to ensure bitcoind is available. If it isn't, the "Internal" option is disabled. Perhaps using an internal-core subclass in core_interface.py would be a good idea, but then *all* invocation/control of bitcoind should be moved into it (right now you have this in main.py)


Title: Re: !! new bitcoin client !!
Post by: tuxsoul on May 12, 2011, 06:52:53 AM
Hi, i will like create a debian/ubuntu package from spesmilo.

* Can you tell me what thread in the forum is the oficial for spesmilo ?
* What is the version of python-psyde necessary to execute spesmilo ?
* You are using tags in your repository ?
* The repository in gitorious is the oficial ?.
* Can you suggest one short and one full description.


Title: Re: !! new bitcoin client !!
Post by: genjix on May 12, 2011, 08:52:19 AM
PM'ed you.


Title: Re: !! new bitcoin client !!
Post by: JackSparrow on May 15, 2011, 10:06:34 AM
PM'ed you.

I think it would be nice if you would answer the questions here.

In the first post you tell us about github, now you use gitorious.. Someone who is not interested in a discussion, but wants to try spesmilo will get pretty old sourcecode.


Title: Re: !! new bitcoin client !!
Post by: kseistrup on May 15, 2011, 10:18:18 AM
It seems this client attempts to start bitcoind at startup and stop it at exit.  Is is possible to make it not do that (I'm running a server and I don't want spesmilo to start and stop the thing)?

Cheers,


Title: Re: !! new bitcoin client !!
Post by: JackSparrow on May 15, 2011, 10:59:48 AM
I folowed the instructions in "INSTALL.Ubuntu". When I want to make it returns:

Quote
$ make
make exescript exescript="spesmilo" LIBEXECDIR=.
make[1]: Betrete Verzeichnis '/home/abc/Dokumente/bitcoin/spesmilo'
{ \
      echo '#!'"`which sh`"; \
      echo "PYTHONPATH=\"\${PYTHONPATH}:./lib\" \\"; \
      echo "exec \"`which python`\" -O \"./main.pyo\" \"\$@\""; \
   } \
   >"spesmilo"
make[1]: Verlasse Verzeichnis '/home/abc/Dokumente/bitcoin/spesmilo'
chmod +x spesmilo
lrelease i18n/en_GB.ts
make: lrelease: Kommando nicht gefunden
make: *** [i18n/en_GB.qm] Fehler 127


Title: Re: !! new bitcoin client !!
Post by: cypherdoc on May 15, 2011, 02:27:30 PM
i assume there's not a Mac version of Spesmilo?
does this reduce or eliminate the 0/unconfirmed problems with original client?


Title: Re: !! new bitcoin client !!
Post by: Kris on August 14, 2011, 01:25:35 PM
I made this work with WalletBit (https://walletbit.com) by making a custom json-rpc server so you can interface it with your account at WalletBit (https://walletbit.com).

Kind regards
Kris


Title: Re: !! new bitcoin client !!
Post by: ThiagoCMC on December 12, 2011, 02:31:13 AM
genjix, this client works with bitcoin 0.5.0?

The git://github.com/genjix/spesmilo.git version is the latest?!


Title: Re: !! new bitcoin client !!
Post by: genjix on December 23, 2011, 06:38:18 AM
Hey,

This project is pretty old. I'm now supporting Electrum,

https://bitcointalk.org/index.php?topic=52003.0

They have the right idea. Spesmilo will be revamped in the future to support Electrum and Electrum will be revamped to support libbitcoin:

https://bitcointalk.org/index.php?topic=30646.0

We're all integrating our projects together.


Title: Re: !! new bitcoin client !!
Post by: The LT on April 02, 2012, 12:54:42 PM
Stopped working with 0.6