Bitcoin Forum
November 08, 2024, 11:36:45 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: !! new bitcoin client !!  (Read 15691 times)
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1076


View Profile
February 14, 2011, 05:24:53 AM
Last edit: February 14, 2011, 07:38:53 AM by genjix
 #1

Made a new client. Looking for testers and feedback.
https://github.com/genjix/spesmilo



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



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

Activity: 546
Merit: 500


View Profile
February 14, 2011, 06:18:35 AM
 #2

Looks really nice!

dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
February 14, 2011, 08:34:33 AM
 #3

How to run it on windows?
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1076


View Profile
February 14, 2011, 08:53:42 AM
 #4

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
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
February 14, 2011, 09:04:40 AM
 #5

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?
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1076


View Profile
February 14, 2011, 09:25:26 AM
 #6

thanks for trying to help out Grin

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.
WSDN
Sr. Member
****
Offline Offline

Activity: 493
Merit: 250


IDENA.IO - Proof-Of-Person Blockchain


View Profile
February 14, 2011, 02:01:55 PM
 #7

just wait for the oficial windows binaries =)

              ▄▄▄ ▀▀▀▀▀▀▀▀▀ ▄▄▄
           ▄▀▀    ▄▄▄▄▄▄▄▄▄    ▀▀▄
        ▄▀▀  ▄▄▀█          ▀█▀▄▄  ▀▀▄
      ▄▀▀ ▄▄▀    ▀▀▄▄▄▄▄▄▄▀▀    ▀▄▄ ▀▀▄
     █   █            ▀            █   █
   ▄▀ █  ▀▄▄                     ▄█▀  █ ▀▄
  ▄▀ ▄▀ █▄ ▀▀▀██▄▄▄       ▄▄▄██▀▀  ██ ▀▄ ▀▄
  ▀▄▀▀▄ ██ ▄▄▄▄▄▄  ▀▄   ▄▀  ▄▄▄▄▄▄ ██ ▄▀▀▄▀
 ██   █ ██ ▀▄    ▀▄ █   █ ▄▀    ▄▀ ██ █  ▀██
 █  ▄█  ▀█  ▀▀▀▀▀▀▀ █   █ ▀▀▀▀▀▀▀  █   █▄  █
█▀ █  █  █          █   █          █  █  █ ▀▀
 █▀  ▄▀  █▀▄        █   █        ▄▀█  ▀▄  ▀█
 ▄  █▀   █ ▀█▄      ▀   ▀      ▄█▀ █  ▄▀█  ▄
 █▄▀  █  █                         █  █  ▀▄█
 ▀▄  █   ▀█        ▄▄▀▄▀▄▄        █▀   █  ▄
  ▀▄▀▀  █▄ █     ▀█  ▀▀▀  █▀     █ ▄█ ▄▀▀▄▀
   ▀ ▄  ██ █▀▄     ▀▀▄▄▄▀▀     ▄▀█ ██ ▀▄ ▀
    ▀█  ██ █ █▀▄    ▄▄▄▄▄    ▄▀█ █ ██  █▀
      ▀▄ ▀ █ █ ██▄         ▄██ █ █ ▀ ▄▀
        ▀▄ █ █ █ ▀█▄     ▄█▀ █ █ █ ▄▀
          ▀▀▄█ █    ▀▀▀▀▀    █ █▄▀▀
              ▀▀ ▄▄▄▄▄▄▄▄▄▄▄ ▀▀
   
I  D  E  N  A
   
Proof-of-Person Blockchain

Join the mining of the first human-centric
cryptocurrency
 



 
▲    2 6 8 0

N  O  D  E  S
   
                ██
                ██
                ██
                ██
                ██
         ▄      ██      ▄
         ███▄   ██   ▄███
          ▀███▄ ██ ▄███▀
            ▀████████▀
              ▀████▀
                ▀▀
██▄                            ▄██
███                            ███
███                            ███
███                            ███
 ███▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
  ▀▀██████████████████████████▀▀
   
D O W N L O A D

Idena node

   
   
▄▄▄██████▄▄▄
▄▄████████████████▄▄
▄█████▀▀        ▀▀█████▄
████▀                ▀████
███▀    ▄▄▄▄▄▄▄▄▄       ▀███
███      █   ▄▄ █▀▄        ███
██▀      █  ███ █  ▀▄      ▀██
███       █   ▀▀ ▀▀▀▀█       ███
███       █  ▄▄▄▄▄▄  █       ███
███       █  ▄▄▄▄▄▄  █       ███
██▄      █  ▄▄▄▄▄▄  █      ▄██
███      █          █      ███
███▄    ▀▀▀▀▀▀▀▀▀▀▀▀    ▄███
████▄                ▄████
▀█████▄▄        ▄▄█████▀
▀▀████████████████▀▀
▀▀▀██████▀▀▀
   
    ███





███

REQUEST INVITATION
███
  █
  █
  █
  █
  █
███
BitterTea
Sr. Member
****
Offline Offline

Activity: 294
Merit: 252



View Profile
February 14, 2011, 02:33:28 PM
 #8

Does this call Bitcoind or are you handling all of the back end stuff?
Cdecker
Hero Member
*****
Offline Offline

Activity: 489
Merit: 505



View Profile WWW
February 14, 2011, 03:47:04 PM
 #9

Does this call Bitcoind or are you handling all of the back end stuff?
It's another frontend to bitcoind.

Want to see what developers are chatting about? http://bitcoinstats.com/irc/bitcoin-dev/logs/
Bitcoin-OTC Rating
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470
Merit: 1006


Bringing Legendary Har® to you since 1952


View Profile
February 14, 2011, 04:02:53 PM
 #10

Does it have "backup wallet" option in menu ?

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

genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1076


View Profile
February 14, 2011, 07:04:42 PM
 #11

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.
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
February 15, 2011, 12:28:27 AM
 #12

Just use backupwallet <destination> and it will be secure.

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
BitterTea
Sr. Member
****
Offline Offline

Activity: 294
Merit: 252



View Profile
February 15, 2011, 12:56:16 AM
 #13

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.
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1076


View Profile
February 15, 2011, 01:07:18 AM
 #14

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?
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470
Merit: 1006


Bringing Legendary Har® to you since 1952


View Profile
February 15, 2011, 08:25:19 AM
 #15

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.

theymos
Administrator
Legendary
*
Offline Offline

Activity: 5376
Merit: 13407


View Profile
February 15, 2011, 01:31:55 PM
 #16

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.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470
Merit: 1006


Bringing Legendary Har® to you since 1952


View Profile
February 15, 2011, 01:34:21 PM
 #17

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 ?

Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
February 16, 2011, 05:04:40 AM
 #18

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

genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1076


View Profile
February 16, 2011, 06:20:06 AM
 #19

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 Smiley

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 Wink

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.
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
February 16, 2011, 03:34:07 PM
 #20

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 Wink

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. Wink

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)

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!