Pages:
Author

Topic: MultiBit - page 66. (Read 336316 times)

legendary
Activity: 1708
Merit: 1066
July 09, 2012, 09:39:16 AM
There is a new release of MultiBit at:

http://multibit.org


Version 0.4.3

Bug fix:
+  Fix for replay from genesis block

Scan of release checklist



This is a bug fix release only.
legendary
Activity: 1708
Merit: 1066
July 08, 2012, 09:22:07 AM
I just tried http://translate.multibit.org/project/multibit and it worked ok.
It resolves directly to the crowdin.net site (under the covers) so maybe they were doing something with their servers (Sunday maintenance?)
Seems ok now.

RE: offline wallets.
I am not sure actually.
I will certainly be doing watch-only wallets (which have been supported in bitcoinj for a while).

I have a Raspberry Pi on order to see if I can run MultiBit directly on it (with practically no modification).
In which case I might suggest doing something like:
1) Create encrypted wallet using MultiBit on Raspberry Pi.
2) Create watch only wallet and copy it to your main machine.
3) Lock your Raspberry Pi in your safe.
4) You can use your watch only wallet on your main machine to receive tx and check balance.
5) When you want to do a spend, take out your Raspberry Pi, let it sync, fire off send, get the send confirmation, switch off, lock away again.

It is not offline signing as you are connecting the Raspberry Pi to the network. To get your private keys someone has to steal or hack your Raspberry Pi for the few minutes it is out of your safe and connected to the network.
sr. member
Activity: 300
Merit: 250
July 08, 2012, 08:23:32 AM
wanted to do some translation for you today but http://translate.multibit.org/project/multibit is not working.

Do you know of problems with the site?

Roland.
sr. member
Activity: 300
Merit: 250
July 08, 2012, 08:01:52 AM
thats great man!
Keep up the good work, really looking forward to the version with wallet encryption.

Will you be adding some support for offline wallets you think ?
legendary
Activity: 1708
Merit: 1066
July 07, 2012, 11:08:57 AM
The 'Add Password' screen:

http://multibit.org/postImages/addPassword.png

Screenshot for "Remove Password:
http://multibit.org/postImages/removePassword.png

(eye candy only - they do not do anything yet)
legendary
Activity: 1708
Merit: 1066
July 07, 2012, 03:39:39 AM
I thought I would give you all an update on the wallet encryption work.

I have started a code branch labeled "v0.5" where all the password work is going into. There will probably be a couple more releases of the 0.4.x MultiBit code (bug fixes etc) before a v0.5.0 comes out.

There are various strands of work to do for the encrypted wallets:

1) User interface changes.
So far I have just added some menu options:

edit: removed

I'll be working on these over the next week or two as they can be done in parallel with items 2 and 3 below.
(Spec: https://docs.google.com/document/d/1_8vwkQcv-Tcfx9aU-lKbWgDhAsOkpug3wiHyTo2sy0Y/edit#heading=h.kd3tu753qxq)


2) Encryption/ decryption code
This is not finalised yet but I have some demo code using scrypt and AES (this describes how the password you type gets turned into an encryption key and how that encryption key actually encrypts the bitcoin keys respectively).

Code:
https://github.com/jim618/multibit/blob/v0.5/src/main/java/org/multibit/crypto/EncrypterDecrypterScrypt.java
Test:
https://github.com/jim618/multibit/blob/v0.5/src/test/java/org/multibit/crypto/EncrypterDecrypterScryptTest.java


3) Storing the encryption data in the wallets
There is a draft google doc with the format for storing the encryption information:
https://docs.google.com/document/d/1bWtBjzqzSubQZ926sUz5iTeMEK30aNNQXFM9z562m-s/edit
This is has had one review cycle with the bitcoinj devs but needs more work yet. Then there is actually implementing the change to the protobuf wallets.

4) Testing
Due to the nature of this work, it needs a thorough testing before letting everyone use it. I will produce a release candidate and ask people to test it out before it is released generally.
legendary
Activity: 1708
Merit: 1066
July 06, 2012, 01:10:04 AM
Great - glad you have got it starting ok.
You have inspired me to improve the checking of things at startup and improve the documentation.

:-)

Edit: I have put in a bit more error handling code at startup so the user gets more useful information in the logs. Also the Linux install help now explains how to install Java. http://multibit.org/help.html
legendary
Activity: 1232
Merit: 1076
July 05, 2012, 06:38:26 PM
woo! that was it. thanks
legendary
Activity: 1708
Merit: 1066
July 05, 2012, 05:23:35 PM
I think you might have a headless java runtime environment.

You could try installing the Openjdk Java 7 with:

sudo apt-get install openjdk-7-jdk


Edit: bumped to open jdk Java 7 rather than 6
legendary
Activity: 1708
Merit: 1066
July 05, 2012, 05:12:59 PM
Hmm, I've only seen that HeadlessException when running Multibit (tests) on a server with no graphics capability. It's when it cannot open a window due to there not being a graphics environment it can hook into.

The Linux version I use for testing is a Ubuntu 10.4 VM (it works on later Ubuntus I know).

I am sure you just wanted to install it and run it and have a look and not answer all these questions !
What variant of Linux are you running and is it Gnome or KDE ?

I will also beef up the feedback to give a bit more useful info to the user.
legendary
Activity: 1232
Merit: 1076
July 05, 2012, 04:41:31 PM
$ cat log/multibit_
multibit_console.log  multibit_debug.log   
$ cat log/multibit_*
16:21:42.276 [main] INFO  org.multibit.MultiBit - Starting MultiBit
16:21:42.277 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'
16:21:42.305 [main] INFO  org.multibit.MultiBit - Configuring native event handling
16:21:42.309 [main] INFO  org.multibit.MultiBit - Checking to see if this is the primary MultiBit instance
16:21:42.314 [main] DEBUG o.m.ApplicationInstanceManager - Listening for application instances on socket 8331
16:21:42.316 [main] DEBUG org.multibit.MultiBit - useTestNet = false
16:21:42.317 [main] DEBUG org.multibit.MultiBit - userLanguageCode = null
16:21:42.336 [main] DEBUG org.multibit.MultiBit - Creating model
16:21:42.343 [main] DEBUG org.multibit.model.MultiBitModel - Initial view from properties file is '17'
16:21:42.343 [main] DEBUG org.multibit.MultiBit - Setting look and feel
16:21:42.459 [main] DEBUG org.multibit.MultiBit - Creating views
Exception in thread "main" java.awt.HeadlessException
   at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
   at java.awt.Window.(Window.java:534)
   at java.awt.Frame.(Frame.java:420)
   at java.awt.Frame.(Frame.java:385)
   at javax.swing.JFrame.(JFrame.java:174)
   at org.multibit.viewsystem.swing.MultiBitFrame.(MultiBitFrame.java:172)
   at org.multibit.MultiBit.main(MultiBit.java:159)
   at org.multibit.MultiBitInExecutableJar.main(MultiBitInExecutableJar.java:120)
16:28:58.698 [main] INFO  org.multibit.MultiBit - Starting MultiBit
16:28:58.698 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'
16:28:58.727 [main] INFO  org.multibit.MultiBit - Configuring native event handling
16:28:58.731 [main] INFO  org.multibit.MultiBit - Checking to see if this is the primary MultiBit instance
16:28:58.735 [main] DEBUG o.m.ApplicationInstanceManager - Listening for application instances on socket 8331
16:28:58.737 [main] DEBUG org.multibit.MultiBit - useTestNet = false
16:28:58.738 [main] DEBUG org.multibit.MultiBit - userLanguageCode = null
16:28:58.757 [main] DEBUG org.multibit.MultiBit - Creating model
16:28:58.764 [main] DEBUG org.multibit.model.MultiBitModel - Initial view from properties file is '17'
16:28:58.765 [main] DEBUG org.multibit.MultiBit - Setting look and feel
16:28:58.836 [main] DEBUG org.multibit.MultiBit - Creating views
Exception in thread "main" java.awt.HeadlessException
   at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
   at java.awt.Window.(Window.java:534)
   at java.awt.Frame.(Frame.java:420)
   at java.awt.Frame.(Frame.java:385)
   at javax.swing.JFrame.(JFrame.java:174)
   at org.multibit.viewsystem.swing.MultiBitFrame.(MultiBitFrame.java:172)
   at org.multibit.MultiBit.main(MultiBit.java:159)
   at org.multibit.MultiBitInExecutableJar.main(MultiBitInExecutableJar.java:120)
22:09:19.228 [main] INFO  org.multibit.MultiBit - Starting MultiBit
22:09:19.228 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'
22:09:19.303 [main] INFO  org.multibit.MultiBit - Configuring native event handling
22:09:19.315 [main] INFO  org.multibit.MultiBit - Checking to see if this is the primary MultiBit instance
22:09:19.337 [main] DEBUG o.m.ApplicationInstanceManager - Listening for application instances on socket 8331
22:09:19.339 [main] DEBUG org.multibit.MultiBit - useTestNet = false
22:09:19.339 [main] DEBUG org.multibit.MultiBit - userLanguageCode = null
22:09:19.343 [main] DEBUG org.multibit.MultiBit - Creating model
22:09:19.362 [main] DEBUG org.multibit.model.MultiBitModel - Initial view from properties file is '17'
22:09:19.363 [main] DEBUG org.multibit.MultiBit - Setting look and feel
22:09:19.696 [main] DEBUG org.multibit.MultiBit - Creating views
Exception in thread "main" java.awt.HeadlessException
   at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
   at java.awt.Window.(Window.java:534)
   at java.awt.Frame.(Frame.java:420)
   at java.awt.Frame.(Frame.java:385)
   at javax.swing.JFrame.(JFrame.java:174)
   at org.multibit.viewsystem.swing.MultiBitFrame.(MultiBitFrame.java:172)
   at org.multibit.MultiBit.main(MultiBit.java:159)
   at org.multibit.MultiBitInExecutableJar.main(MultiBitInExecutableJar.java:120)
16:21:42.276 [main] INFO  org.multibit.MultiBit - Starting MultiBit
16:21:42.277 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'
16:21:42.305 [main] INFO  org.multibit.MultiBit - Configuring native event handling
16:21:42.309 [main] INFO  org.multibit.MultiBit - Checking to see if this is the primary MultiBit instance
16:21:42.314 [main] DEBUG o.m.ApplicationInstanceManager - Listening for application instances on socket 8331
16:21:42.316 [main] DEBUG org.multibit.MultiBit - useTestNet = false
16:21:42.317 [main] DEBUG org.multibit.MultiBit - userLanguageCode = null
16:21:42.336 [main] DEBUG org.multibit.MultiBit - Creating model
16:21:42.343 [main] DEBUG org.multibit.model.MultiBitModel - Initial view from properties file is '17'
16:21:42.343 [main] DEBUG org.multibit.MultiBit - Setting look and feel
16:21:42.459 [main] DEBUG org.multibit.MultiBit - Creating views
16:28:58.698 [main] INFO  org.multibit.MultiBit - Starting MultiBit
16:28:58.698 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'
16:28:58.727 [main] INFO  org.multibit.MultiBit - Configuring native event handling
16:28:58.731 [main] INFO  org.multibit.MultiBit - Checking to see if this is the primary MultiBit instance
16:28:58.735 [main] DEBUG o.m.ApplicationInstanceManager - Listening for application instances on socket 8331
16:28:58.737 [main] DEBUG org.multibit.MultiBit - useTestNet = false
16:28:58.738 [main] DEBUG org.multibit.MultiBit - userLanguageCode = null
16:28:58.757 [main] DEBUG org.multibit.MultiBit - Creating model
16:28:58.764 [main] DEBUG org.multibit.model.MultiBitModel - Initial view from properties file is '17'
16:28:58.765 [main] DEBUG org.multibit.MultiBit - Setting look and feel
16:28:58.836 [main] DEBUG org.multibit.MultiBit - Creating views
22:09:19.228 [main] INFO  org.multibit.MultiBit - Starting MultiBit
22:09:19.228 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'
22:09:19.303 [main] INFO  org.multibit.MultiBit - Configuring native event handling
22:09:19.315 [main] INFO  org.multibit.MultiBit - Checking to see if this is the primary MultiBit instance
22:09:19.337 [main] DEBUG o.m.ApplicationInstanceManager - Listening for application instances on socket 8331
22:09:19.339 [main] DEBUG org.multibit.MultiBit - useTestNet = false
22:09:19.339 [main] DEBUG org.multibit.MultiBit - userLanguageCode = null
22:09:19.343 [main] DEBUG org.multibit.MultiBit - Creating model
22:09:19.362 [main] DEBUG org.multibit.model.MultiBitModel - Initial view from properties file is '17'
22:09:19.363 [main] DEBUG org.multibit.MultiBit - Setting look and feel
22:09:19.696 [main] DEBUG org.multibit.MultiBit - Creating views
legendary
Activity: 1708
Merit: 1066
July 05, 2012, 04:16:05 PM
Thanks to whoever donated to the MultiBit donation address on the 4th of July.

Happy (Fiat) Independence Day !

:-)
legendary
Activity: 1708
Merit: 1066
July 05, 2012, 03:13:06 PM
$ java -jar multibit-exe.jar
22:09:19.165 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'


Can you PM me the multibit_debug.log and multibit_console.log that will be in:
/home/genjix/MultiBit/log
?
legendary
Activity: 1232
Merit: 1076
July 05, 2012, 03:11:24 PM
$ java -jar multibit-exe.jar
22:09:19.165 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/genjix/MultiBit'
legendary
Activity: 1708
Merit: 1066
July 05, 2012, 03:04:27 PM
Replay blockchain doesn't work!  Import private keys from blockchain.info.aes.json  

I have fixed the bug with replaying the blockchain from the genesis block (which happens with blockchain.info backups).
I have also got a 'genesisBlockReplay' functional test that 1) resets the blockchain back to the genesis block, 2) connects to a peer, 3) downloads a couple of dozen blocks, 4) checks the blockchain size.  This should prevent this sort of error getting past me.

The fix will appear in the next version (0.4.3) which will probably be on Monday.
legendary
Activity: 1708
Merit: 1066
July 05, 2012, 11:57:29 AM
I wasn't able to get it to work on Linux Sad I'm not too familiar with Java but it just didn't start up.

Hi Amir,
If you cd to where you installed it and do . . .

java -jar multibit-exe.jar

the console log should give me an idea of what the matter is.
legendary
Activity: 1232
Merit: 1076
July 05, 2012, 11:12:13 AM
I wasn't able to get it to work on Linux Sad I'm not too familiar with Java but it just didn't start up.
legendary
Activity: 1708
Merit: 1066
July 05, 2012, 09:15:01 AM
Hi Finway,

I will have a look at it. Could be something to do with replaying from the genesis block, which I must admit I do not do very often.
hero member
Activity: 714
Merit: 500
July 05, 2012, 07:47:00 AM
Replay blockchain doesn't work!  Import private keys from blockchain.info.aes.json 
legendary
Activity: 1708
Merit: 1066
July 03, 2012, 09:27:04 AM
There is a new release of MultiBit at:

http://multibit.org


Version 0.4.2

Enhancements:
+  Added utility to migrate wallets from serialised to protobuf format.
+  'Delete wallet' now overwrites wallet file with random data before deletion (secure delete).
+  Improved error handling on startup if blockchain cannot be loaded.

Bug fix:
+  Installer now works on Win7 x64.

Scan of release checklist


Next up is:
+ dealing with any wallet migration glitches
+ getting the bitcoinj wallet encryption format agreed and working
Pages:
Jump to: