Bitcoin Forum
June 09, 2024, 06:09:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there a way to toggle randomized tx outputs, in Electrum?  (Read 211 times)
bitterbug (OP)
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
December 08, 2018, 10:34:26 AM
 #1

Hi,

I would like to know a) if the outputs are randomized, when Electrum creates a transaction consisting of multiple outputs, and b) if so, is there a feature for toggling the 'random order' of the outputs i.e. from on to off and vice versa?

Thanks.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3696
Merit: 6417


Looking for campaign manager? Contact icopress!


View Profile
December 08, 2018, 10:58:53 AM
 #2

Hi,

I would like to know a) if the outputs are randomized, when Electrum creates a transaction consisting of multiple outputs, and b) if so, is there a feature for toggling the 'random order' of the outputs i.e. from on to off and vice versa?

Thanks.

I am not sure I understood your question but you should start with View-Show Addresses.
Then you can:

1. right-click and freeze an address, then that one will not be used in the following transaction(s).
2. right-click and spend from certain address(es), then only those will be used in the following transaction(s).
3. when you send a transaction, the from list contains a lot of inputs; you can delete some unwanted ones

Edit: you can search more about coin control in Electrum; I've looked for an image to explain it better and I found this link: https://bitcoinspakistan.com/blog/coin-control-in-electrum/

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
bitterbug (OP)
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
December 08, 2018, 12:29:16 PM
 #3

Quote
I am not sure I understood your question

Is there a way to order the transaction outputs, in Electrum, without creating the raw transaction yourself?
crairezx20
Legendary
*
Offline Offline

Activity: 1638
Merit: 1046



View Profile
December 08, 2018, 05:21:17 PM
 #4

Quote
I am not sure I understood your question

Is there a way to order the transaction outputs, in Electrum, without creating the raw transaction yourself?
What exactly do you want on electrum?

I think electrum will give you random tx output so there is no way to change the output or create your own TX outputs.
pooya87
Legendary
*
Offline Offline

Activity: 3472
Merit: 10626



View Profile
December 09, 2018, 04:08:06 AM
 #5

Quote
I am not sure I understood your question

Is there a way to order the transaction outputs, in Electrum, without creating the raw transaction yourself?

why do you care about the order of transaction outputs? it doesn't make a difference whether you mean the previous ones you are spending (which the wallet seems to sort alphabetically based on their transaction IDs) or the new outputs you create (which is in your control based on which address you pay first).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
bitterbug (OP)
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
December 09, 2018, 06:54:21 AM
 #6

Quote
I am not sure I understood your question

Is there a way to order the transaction outputs, in Electrum, without creating the raw transaction yourself?
What exactly do you want on electrum?

I think electrum will give you random tx output so there is no way to change the output or create your own TX outputs.

crairezx20,

There is a feature for loading a transaction via a text file.

To me that suggests there most certainly is a way to construct a raw transaction yourself and broadcast it using Electrum.

Look at the 'Pay to many' menu option.
bitterbug (OP)
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
December 09, 2018, 07:02:07 AM
 #7

... or the new outputs you create (which is in your control based on which address you pay first).

pooya87,

Have you tried sending money to many outputs?

You may find the order of the new outputs has been randomized before the transaction is broadcast by Electrum.

It does seem this is simply a policy decision that the Electrum devs have taken. I was just wondering if there was a way to turn this randomize feature off for particular transactions I broadcast.
Abdussamad
Legendary
*
Offline Offline

Activity: 3626
Merit: 1564



View Profile
December 10, 2018, 12:10:08 AM
 #8

Inputs and outputs in transactions are sorted according to lexicographic order in Electrum. You can see this happening in BIP_LI01_sort() in transaction.py which is called from make_unsigned_transaction in wallet.py. So it's not random but it doesn't leak any additional information either.
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!