Pages:
Author

Topic: MultiBit - page 75. (Read 336309 times)

legendary
Activity: 1708
Merit: 1066
March 30, 2012, 11:50:57 AM
Hello Everybody,

I got a report today of a serious bug as follows:

Transactions from mining generation block sometimes not appearing in MultiBit wallets

It appears that sometimes the transactions from your pool share of the 50 BTC block reward is not appearing in the wallet in MultiBit, even though the transaction is on the blockchain and you can see it in blockexplorer/ blockchain.info.

I recall someone else mentioning something similar to me in the past but I missed the significance of it - sorry.


Recommendations
  • For the moment, do not forward your mining block rewards to a MultiBit receiving address
  • If you have a receiving address in MultiBit that you have been sending mining block rewards to, check its balance against the same address in blockexplorer.com or blockchain.info.   If they do not match look at 'Recovering your bitcoin' below.

I am in the process of buying an example wallet from a miner (not being a miner myself) so as to be able to reproduce the bug and fix it.

Recovering your bitcoin
If you unfortunately have a discrepancy on your mining block reward address you can either wait for a fix from me or do the following:
1) Choose the wallet in question in the wallet side panel.
2) Export the private keys WITHOUT A PASSWORD in the 'Export private keys' screen.
3) Open the output key file, select everything and copy it into your paste buffer.
4) Go to http://blockchain.info and either log in to your blockchain.info wallet or create a new one.
5) Go to the 'Import/Export' screen.
6) In the 'Import Wallet' text area, paste in the contents of the key file.
7) Press 'Import Wallet'.

This puts your private keys in your blockchain.info wallet.
(You sometimes have to log out/ shut down/ start up/ login again to get blockchain.info to refresh the wallet to see the transactions).

You should then see your mining block reward transactions.


Apologies for any inconvenience and I will be looking at the problem over the weekend.

Jim

Edit: added to github: https://github.com/jim618/multibit/issues/21



legendary
Activity: 1708
Merit: 1066
March 29, 2012, 12:06:07 PM
Hi phr33,

I will correct the configuration file !
Done

Glad you got it working.   You should be able to pull off blocks pretty quick on a LAN.

:-)

Jim
full member
Activity: 226
Merit: 100
March 29, 2012, 11:54:04 AM
Hi phr33,

I just checked the code for the singleNodeConnection, it is this if-else:

Code:
      String singleNodeConnection = controller.getModel().getUserPreference(MultiBitModel.SINGLE_NODE_CONNECTION);
        if (singleNodeConnection != null && !singleNodeConnection.equals("")) {
            try {
                peerGroup.addAddress(new PeerAddress(InetAddress.getByName(singleNodeConnection)));
                peerGroup.setMaxConnections(1);
            } catch (UnknownHostException e) {
                log.error(e.getMessage(), e);
            }
        } else {
            // use DNS for production, IRC for test
            if (useTestNet) {
                peerGroup.addPeerDiscovery(new IrcDiscovery(IRC_CHANNEL_TEST));
            } else {
                peerGroup.addPeerDiscovery(new DnsDiscovery(networkParameters));
            }
        }

where MultiBitModel.SINGLE_NODE_CONNECTION="singleNodeConnection"

Maybe I did not make it clear that the node does not have 'less than' and 'more than' characters, i.e. if the node is, say, 12.34.56.78 you would put:
singleNodeConnection=12.34.56.78

It should not fall back to normal node lookup no, it should just sit there unable to connect to the one node you specified if you do not have a bitcoind on that node.

The only other thing I can think of is that it is not reading the multibit.properties you are editing.   It should be the one in your username's /MultiBit directory (unless you are running in 'portable mode' on a USB).

Oh, and the 'singleNodeConnection' is case sensitive.


I made sure it was the right proporties file by seeing how the fee was fetched corretly. But I found the problem! I set the property "singleConnectionNode" (as stated in configuration.txt) rather than "singleNodeConnection". I think it's best to correct the txt file Smiley

singleNodeConnection works like a charm. Thanks!
legendary
Activity: 1708
Merit: 1066
March 29, 2012, 11:37:03 AM
Hi phr33,

I just checked the code for the singleNodeConnection, it is this if-else:

Code:
      String singleNodeConnection = controller.getModel().getUserPreference(MultiBitModel.SINGLE_NODE_CONNECTION);
        if (singleNodeConnection != null && !singleNodeConnection.equals("")) {
            try {
                peerGroup.addAddress(new PeerAddress(InetAddress.getByName(singleNodeConnection)));
                peerGroup.setMaxConnections(1);
            } catch (UnknownHostException e) {
                log.error(e.getMessage(), e);
            }
        } else {
            // use DNS for production, IRC for test
            if (useTestNet) {
                peerGroup.addPeerDiscovery(new IrcDiscovery(IRC_CHANNEL_TEST));
            } else {
                peerGroup.addPeerDiscovery(new DnsDiscovery(networkParameters));
            }
        }

where MultiBitModel.SINGLE_NODE_CONNECTION="singleNodeConnection"

Maybe I did not make it clear that the node does not have 'less than' and 'more than' characters, i.e. if the node is, say, 12.34.56.78 you would put:
singleNodeConnection=12.34.56.78

It should not fall back to normal node lookup no, it should just sit there unable to connect to the one node you specified if you do not have a bitcoind on that node.

The only other thing I can think of is that it is not reading the multibit.properties you are editing.   It should be the one in your username's /MultiBit directory (unless you are running in 'portable mode' on a USB).

Oh, and the 'singleNodeConnection' is case sensitive.


full member
Activity: 226
Merit: 100
March 29, 2012, 11:24:46 AM

You can now connect to a single node with the following property in multibit.properties:
singleNodeConnection=


I've tried this and specified this in multibit.properties to connect to another machine on my LAN.
I then saw that it connected to more than one peer. Acctually it seems like it's connecting just like without the singleNodeConnection.
No errors when I specify a host that is not running any client.

Is there an automatic fallback to any host when this feature is used?

Thanks
legendary
Activity: 1708
Merit: 1066
March 28, 2012, 05:04:28 PM
Hi freemoney,

I know what you mean about the buttons.

The logic I have used so far is:

1) cut and paste for the address needs to be near the address
2) send needs to be near the amount
3) the arrow on the less and more points to the direction you want to move the dotted separator
    (I have tried this both ways round actually - I might change the icons for something simpler like "+" and "-" as neither seems ideal)

4) the cut/paste/zoom are on the bottom mainly because otherwise it (roughly) doubles the width of the side panel.
If you have a large screen it does not matter but for smaller screens the whole MultiBit screen starts getting quite wide.  I want the screen to 'work' down to 1280x1000 which a lot of smaller laptops have.

I will play around with the side panel icons on the top row which I agree would be more consistent (probably on the right of the combo box or there will be two sets of cut and paste icons right next to each other)

It is actually quite a challenge to get something that works and looks reasonable on both small screens and big screens on all of Win/ linux/ Mac.

Thanks for your feedback.   :-)


re: private key export as a backup.
Good point - I will put it in the online help.






member
Activity: 62
Merit: 10
March 28, 2012, 04:53:46 PM
With multibit the change goes back to one of your existing addresses.
It is less anonymous but it means you do not need a key pool.

You can export your private keys from a multibit wallet into a file (using the 'Tools | Export private keys' option) and, as long as you do not manually create new receiving addresses, that is all you need.


Hi Jim,

I suggest you put this explanation somewhere in the official documentation, because it really is a nice feature compared to the Satoshi client.
It makes maintaining backups much easier.
member
Activity: 62
Merit: 10
March 28, 2012, 04:44:48 PM
Hi Jim,

the new UI looks really nice.

I have some improvement suggestions regarding the position of the different buttons in the 'Send' and 'Request' panel.
They seem scattered at different positions in the panel. Also on the side panel they are scattered on the top and on the bottom.
I always have to reorient myself mentally when switching the panels.

1) I suggest that you group them more consequently in one area of the panel, say e.g. in one line at the top or the bottom.
This way the user will have a more consistent feeling where he finds which button.

2) Also, the 'More' and 'Less' buttons have an icon that seems to point in the wrong direction.
That is at least my impression. Maybe you can try it out with reverse direction.

Great work so far Jim, I am eager to see the next steps!

legendary
Activity: 1708
Merit: 1066
March 28, 2012, 04:27:25 PM
Thanks !
It is a lot easier to navigate around I find and it is nice to be able to hide the QR codes if you are not using them.   They are distractingly ugly !


Edit: re: the unconfirmed transaction - the best bet is to do a 'reset blockchain and transactions' on the wallet with the unconfirmed transaction and you should sync back to what is on the blockchain.



On another note, I was checking the MultiBit donations and just wanted to say thanks to the donor in mid-march, and also to btctip.com who tipped me via Twitter.   Always nice to see BTC flowing in.   :-)
hero member
Activity: 686
Merit: 500
March 28, 2012, 04:22:23 PM
Love the new UI! Much less bulky and more organised. Great work!

Edit:

Oh yeah I almost forgot, I have a small problem. I sent a small amount of BTC (0.075 + 0.0001tx) on the 23rd and it still reports unconfirmed, but the receivers side its confirmed and usable.

Its no big deal, just bugs me. What would be the best way to fix this? Reset the block-chain?
legendary
Activity: 1708
Merit: 1066
March 28, 2012, 03:28:55 PM
Hi speedbus,

Thanks !

RE: the font size, it is strange, for a new install of MultiBit I now pick up the system specified default font and point size but they always seem to be on the small size (point size 11 on Windows XP for instance).   Once you set it to whatever you prefer it remembers it so no big deal.
sr. member
Activity: 467
Merit: 250
March 28, 2012, 01:37:31 PM
Hmm.. The font looks just too small here  Sad

Or is it supposed to be like that ?



Just found the font size changing option in the Preferences Wink New version looks great !
legendary
Activity: 1708
Merit: 1066
March 28, 2012, 09:58:39 AM
Hi bitcoinspot.nl,

We have penciled in the space at the top right of the screen for the ticker but have not got it fully laid out yet. Initially it will be standalone but the idea is to integrate it properly with the amounts yes.

Encrypted wallets (and migration of the wallets to protobuf format) is the next big chunk of work yes.

I completely agree with you that encrypted wallets are essential for real world usage.
sr. member
Activity: 300
Merit: 250
March 28, 2012, 09:44:40 AM
Great, the ticker means that you can make a request for bitcoin and fill in the amount in euro's ?

wow man, great work, if you add the encrypted wallet im going out with a usb-stick and will try to convince some shop-owners for the benefits of bitcoin Smiley
legendary
Activity: 1708
Merit: 1066
March 28, 2012, 09:12:51 AM
There is a new release of MultiBit at:

http://multibit.org


Version 0.3.1

Enhancements:
+  Greek translation added - thanks 3phase!

Substantial UI upgrade done:
+  On page wallets
+  New layout styling for text panels
+  New iconset
+  Use of system colours
+  Context sensitive help

Bug fixes:
+  Fix for tooltip size being very small after set preferences undo

Release info
Changes included - Mar 13th 11:00 to Mar 28th 11:00 inclusive
Scan of release checklist


Next up: Gary, Tim and I are putting in the bitcoin ticker
legendary
Activity: 1708
Merit: 1066
March 27, 2012, 04:08:58 AM
Two Feature Requests.

Secure "New Version of Multibit Available" announcements built into the main screen.
Secure "Securty Update for Multibit" that shows instead multibit, (however multibit can be still run with an override).

Secure "New Version of Java Available" announcements.  (check the version of Java running)
Secure "Security Update to Java - Must Upgrade"  that shows instead multibit, (however multibit can be still run with an override).

I don’t know how feasible such announcements would be.  However it would make me much more combatable recommending multibit to non-tech people.

That is a very good idea to have some sort of secure notification inside MultiBit (a bit like Electrum's wall).

So that it does not get lost "up the thread" I have raised this in the multibit github project here:
https://github.com/jim618/multibit/issues/20
legendary
Activity: 1708
Merit: 1066
March 27, 2012, 02:29:20 AM
With multibit the change goes back to one of your existing addresses.
It is less anonymous but it means you do not need a key pool.

You can export your private keys from a multibit wallet into a file (using the 'Tools | Export private keys' option) and, as long as you do not manually create new receiving addresses, that is all you need.

If something happened to your wallet and you wanted to recreate it you can:
1) create a new empty wallet.
2) import your private keys file using the 'Tools | Import private keys' option.
3) multibit then adds the private keys from the file into the new wallet and replays the blockchain to get the transactions.

There are some screenshots and howto notes here:

Exporting private keys

Importing private keys



legendary
Activity: 1379
Merit: 1003
nec sine labore
March 27, 2012, 01:43:51 AM
@spiccioli

>> pool of private keys
There are no hidden keys (i.e. a pool) in MultiBit.   The only private keys in a wallet are the ones listed (as bitcoin addresses) in the 'Request/ Receive' screen.
That being said, if you do want a whole load of private keys added it is quite easy to do.   There is a screen added for support of MultiBitMerchant (web software Gary is working on) where you can add a 1000 private keys to the active wallet in one go.
To enable the 'Merchant' option just add "showMerchantMenu=true" to the multibit.properties.

In the next couple of months there will be quite a bit of work done on wallets/ keys so if you have any ideas or specific use cases in this area I would be interested to hear about them.


Jim,

the private key pool is used by Satoshi's client to handle changes and make it possible to backup a wallet and keep using it for a while, see:

https://bitcointalksearch.org/topic/m.157328

Now, are those one thousand keys used in the same way?

spiccioli.


legendary
Activity: 1222
Merit: 1016
Live and Let Live
March 26, 2012, 06:01:46 PM
Two Feature Requests.

Secure "New Version of Multibit Available" announcements built into the main screen.
Secure "Securty Update for Multibit" that shows instead multibit, (however multibit can be still run with an override).

Secure "New Version of Java Available" announcements.  (check the version of Java running)
Secure "Security Update to Java - Must Upgrade"  that shows instead multibit, (however multibit can be still run with an override).

I don’t know how feasible such announcements would be.  However it would make me much more combatable recommending multibit to non-tech people.
legendary
Activity: 1708
Merit: 1066
March 26, 2012, 12:48:53 PM
Hi Jim,

I just noted a minor bug in the latest release (maybe it was also present in earlier versions):

- After pressing 'Undo last changes' in the 'Preferences' screen, all the tooltips appear very small and without any text.

The bug appeared with the MacOS version. I was able to reproduce it several times.

This has been fixed.   The fix will appear in the next release (v0.3.1)
Pages:
Jump to: