Bitcoin Forum
December 15, 2024, 02:49:01 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum use compressed keys by default?  (Read 1564 times)
Dabs (OP)
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
September 18, 2013, 01:39:57 AM
 #1

Hi,

Can we have electrum use compressed keys by default?

I know I can import compressed private keys.

Main reason is so I can use electrum's master public key feature and work with offline transactions from a cold wallet computer.

Also would appreciate it if there is some sort of Coin Control here. These are the only things keeping me on bitcoin-qt.

Abdussamad
Legendary
*
Offline Offline

Activity: 3710
Merit: 1586



View Profile
September 18, 2013, 10:43:14 AM
 #2

Can you explain how compressed keys relates to offline wallets? Electrum has a guide on how to use it for offline transactions:

http://electrum.org/offline_wallets.html

Coin control of sorts does exist. Enable expert mode in preferences and you'll be able to freeze or prioritize addresses. So you can freeze the addresses you don't want to be used as inputs to a transaction and prioritize the one that you do. I don't think there is a way to control where change goes though.
Dabs (OP)
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
September 18, 2013, 12:46:20 PM
 #3

Well, because electrum currently uses uncompressed keys (the private keys that start with number 5) when you create a new wallet, it defaults to creating all keys deterministically using uncompressed keys for the master public seed.

Your default offline wallet uses the same keys. Your online watching only wallet uses uncompressed keys.

I'm not sure if I import a whole bunch of compressed keys I generated if I can make electrum see only the public addresses.

Is it possible for electrum to import public key bitcoin addresses only? Here is what I want to do:

2 computers. Offline and Online.
Online computer has watch only public key. I can create a transaction here, but it will have to be signed by the offline computer.
Offline computer has private key. It can sign the transaction generated from the online computer.

I want the addresses to be used to be compressed keys. The private keys begin with letter L or letter K.

Abdussamad
Legendary
*
Offline Offline

Activity: 3710
Merit: 1586



View Profile
September 18, 2013, 07:30:26 PM
 #4

I think I understand what you mean. You want to import watch only version of your 1lotto.. addresses to an electrum wallet to craft transactions that you then sign with an offline wallet that has the private keys. I don't think you can do this with electrum. It only supports watch only versions of its own deterministic wallets.

BTW public key and bitcoin address are different. The address is actually a hash with checksum of the public key.
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
September 19, 2013, 07:11:59 AM
 #5

electum 1.9 (the upcoming release) will use BIP32, and therefore compressed keys

Electrum: the convenience of a web wallet, without the risks
Dabs (OP)
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
September 19, 2013, 07:47:45 AM
 #6

Hi ThomasV, can you also include Coin Control as seen in bitcoin-qt coin control? The specific feature I want is to be able to select a particular unspent input, and to also specify the change address.

Dabs (OP)
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
September 20, 2013, 01:02:03 PM
 #7

BTW public key and bitcoin address are different. The address is actually a hash with checksum of the public key.
I understand the difference. Sometimes I mix up the two though, when I mean the other. Completely cold addresses (never spent from it) don't have public keys in the blockchain yet.

Pages: [1]
  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!