Pages:
Author

Topic: [ANNOUNCE] Electrum - Lightweight Bitcoin Client - page 51. (Read 274534 times)

legendary
Activity: 1896
Merit: 1353
Does the server still depend on Abe? If so, is that going to be the case for awhile, or is that something you are working on replacing soon?  

technically, you can already use libbitcoin on your server.
however, it should become easier after the next release of ubuntu.

After the next release of ubuntu? What are you waiting for in 12.10?

gcc
Wait no longer! Cheesy

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

I'm compiling libbitcoin now.  Is there any trick to getting electrum working with it? I'm asking before looking through the docs (I'm sorry!), but I'm assuming that nothing about libbitcoin has been written since it isn't really supported yet and the docs seem to mostly be about the client.

in your config file, in the server section, add:
Code:
backend = libbitcoin
hero member
Activity: 742
Merit: 500
Does the server still depend on Abe? If so, is that going to be the case for awhile, or is that something you are working on replacing soon?  

technically, you can already use libbitcoin on your server.
however, it should become easier after the next release of ubuntu.

After the next release of ubuntu? What are you waiting for in 12.10?

gcc
Wait no longer! Cheesy

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

I'm compiling libbitcoin now.  Is there any trick to getting electrum working with it? I'm asking before looking through the docs (I'm sorry!), but I'm assuming that nothing about libbitcoin has been written since it isn't really supported yet and the docs seem to mostly be about the client.
legendary
Activity: 1014
Merit: 1001
Yes: downside.
Thats true, but clueless users will probably not import addresses (anyway they shouldn't).
legendary
Activity: 1896
Merit: 1353
Is there a downsite to just deleting an imported address in the electrum.dat?

you mean a downside? yes there is: clueless user fucks up their wallet during manual edit
legendary
Activity: 1014
Merit: 1001
Remember this is a deterministic wallet... if you don't want imported addresses anymore, just restore from seed.
No. In that case they are ALL removed.

I agree. unfortunately I don't have time to do it myself now.
Is there a downsite to just deleting an imported address in the electrum.dat?
legendary
Activity: 1896
Merit: 1353
The best option would be a right-click in the GUI and choose "remove".

I agree. unfortunately I don't have time to do it myself now.
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Remember this is a deterministic wallet... if you don't want imported addresses anymore, just restore from seed.
legendary
Activity: 1014
Merit: 1001
I deleted an imported addr in the .dat file and it still seems to work perfect. So I guess this should be the easiest way to remove an imported addr from the wallet, but I'm not an expert.

The best option would be a right-click in the GUI and choose "remove".
legendary
Activity: 1092
Merit: 1016
760930
Isn't it easier to just delete the imported address in the electrum.dat?

It's generally not very safe to manually edit the wallet file.
In some cases you can end up with a corrupted wallet.
legendary
Activity: 1014
Merit: 1001
Isn't it easier to just delete the imported address in the electrum.dat?
legendary
Activity: 1092
Merit: 1016
760930
And if i delete the imported addr in the electrum.dat?

Code:
electrum eval "wallet.imported_keys.pop('addr')"

nice Smiley
legendary
Activity: 1896
Merit: 1353
And if i delete the imported addr in the electrum.dat?

Code:
electrum eval "wallet.imported_keys.pop('addr')"
legendary
Activity: 1014
Merit: 1001
And if i delete the imported addr in the electrum.dat?
legendary
Activity: 1092
Merit: 1016
760930
Somebody knows how to remove imported addresses?

Is it possible to delete tx history entries?

No, I don't think these things can be done in the current version...
legendary
Activity: 1014
Merit: 1001
Somebody knows how to remove imported addresses?

Is it possible to delete tx history entries?
legendary
Activity: 1896
Merit: 1353
Does the server still depend on Abe? If so, is that going to be the case for awhile, or is that something you are working on replacing soon? 

technically, you can already use libbitcoin on your server.
however, it should become easier after the next release of ubuntu.

After the next release of ubuntu? What are you waiting for in 12.10?

gcc
hero member
Activity: 742
Merit: 500
Does the server still depend on Abe? If so, is that going to be the case for awhile, or is that something you are working on replacing soon? 

technically, you can already use libbitcoin on your server.
however, it should become easier after the next release of ubuntu.

After the next release of ubuntu? What are you waiting for in 12.10?
legendary
Activity: 1896
Merit: 1353
Does the server still depend on Abe? If so, is that going to be the case for awhile, or is that something you are working on replacing soon? 

technically, you can already use libbitcoin on your server.
however, it should become easier after the next release of ubuntu.
legendary
Activity: 1014
Merit: 1001
Code:
48     if platform.system() == 'Windows':
49     MONOSPACE_FONT = 'Lucida Console'
50 elif platform.system() == 'Darwin':
51     MONOSPACE_FONT = 'Monaco'
52 else:
53     MONOSPACE_FONT = 'monospace'

Lucida Console is not appealing and Monaco is a bit "angular".
I prefer this: https://bitcointalksearch.org/topic/m.964901
legendary
Activity: 1092
Merit: 1016
760930
Here's another little feature I've made, which could be useful to others, perhaps?





This mod adds a 'safety limit', i.e. an amount above which a payment will not get sent even
if you have the funds available.

This is just a little protection layer to keep yourself from accidentally sending your
whole balance because of a typo (misplaced decimal points, etc) or if you happen
to be tired, distracted, or drunk when making a payment Wink  

diff of wallet.py:

Code:
262d261
<         self.saf = 1000000000
631d629
<             'saf':self.saf,
675d672
<             self.saf = d.get('saf',1000000000)

diff of gui_qt.py:

Code:
496c496
<             if inputs and amount < self.wallet.saf :
---
>             if inputs:
566,569c566
<             if amount >= self.wallet.saf:
<                 QMessageBox.warning(self, "Message", "Cancelled: The amount is above the safety limit.")
<             else:
<                 tx = self.wallet.mktx( to_address, amount, label, password, fee)
---
>             tx = self.wallet.mktx( to_address, amount, label, password, fee)
1172c1169
<    
---
>        
1205,1211d1201
<        
<         saf_e = QLineEdit()
<         saf_e.setText("%s"% str( Decimal( self.wallet.saf)/100000000 ) )
<         grid.addWidget(QLabel(_('Safety cap')), 4, 0)
<         grid.addWidget(HelpButton(_('This is a safety measure that limits the amount that may be sent in a single transaction.')), 4, 2)
<         grid.addWidget(saf_e, 4, 1)
<         saf_e.textChanged.connect(lambda: numbify(saf_e,False))
1214c1204
<         grid.addWidget(cb, 5, 0)
---
>         grid.addWidget(cb, 4, 0)
1220c1210
<             grid.addWidget(usechange_cb, 6, 0)
---
>             grid.addWidget(usechange_cb, 5, 0)
1233,1235c1223,1225
<             grid.addWidget(QLabel(_('Gap limit')), 7, 0)
<             grid.addWidget(gap_e, 7, 1)
<             grid.addWidget(HelpButton(msg), 7, 2)
---
>             grid.addWidget(QLabel(_('Gap limit')), 6, 0)
>             grid.addWidget(gap_e, 6, 1)
>             grid.addWidget(HelpButton(msg), 6, 2)
1255,1265d1244
<    
<         saf = unicode(saf_e.text())
<         try:
<             saf = int( 100000000 * Decimal(saf) )
<         except:
<             QMessageBox.warning(self, _('Error'), _('Invalid value') +': %s'%saf, _('OK'))
<             return
<            
<         if self.wallet.saf != saf:
<             self.wallet.saf = saf
<             self.wallet.save()
Pages:
Jump to: