Bitcoin Forum
April 24, 2024, 03:20:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum 4.0.9 address notify and change address problem  (Read 82 times)
k9electrum (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 3


View Profile
April 09, 2021, 09:24:47 AM
 #1

Hi, two questions on address notify and change address problem.

1. Is there any limit in Electrum 4.0.9 for a large number of addesses subscripting to the same notifying url?
2. Is there any way to identifying the address is a receiving address or change address in a wallet? In addition, can I make any limit to the number of change address in Electrum Wallet?

Thanks for reading and answering.
1713972013
Hero Member
*
Offline Offline

Posts: 1713972013

View Profile Personal Message (Offline)

Ignore
1713972013
Reply with quote  #2

1713972013
Report to moderator
1713972013
Hero Member
*
Offline Offline

Posts: 1713972013

View Profile Personal Message (Offline)

Ignore
1713972013
Reply with quote  #2

1713972013
Report to moderator
1713972013
Hero Member
*
Offline Offline

Posts: 1713972013

View Profile Personal Message (Offline)

Ignore
1713972013
Reply with quote  #2

1713972013
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713972013
Hero Member
*
Offline Offline

Posts: 1713972013

View Profile Personal Message (Offline)

Ignore
1713972013
Reply with quote  #2

1713972013
Report to moderator
1713972013
Hero Member
*
Offline Offline

Posts: 1713972013

View Profile Personal Message (Offline)

Ignore
1713972013
Reply with quote  #2

1713972013
Report to moderator
1713972013
Hero Member
*
Offline Offline

Posts: 1713972013

View Profile Personal Message (Offline)

Ignore
1713972013
Reply with quote  #2

1713972013
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5531


Self-proclaimed Genius


View Profile
April 09, 2021, 09:58:26 AM
 #2

2. Is there any way to identifying the address is a receiving address or change address in a wallet? In addition, can I make any limit to the number of change address in Electrum Wallet?
I take you're using CLI since it's labeled in the GUI.
Using the command listaddresses, all you have to do is to add --change argument to list the change addresses and --receiving to list the receiving addresses.
Eg.:
Code:
electrum listaddresses --receiving

For the limit, I think there will be no limit as long as you keep on using the change addresses, it will produce more if the last one was used.
I can't comment on Q1 since I'm not using notify().

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BitMaxz
Legendary
*
Offline Offline

Activity: 3234
Merit: 2942


Block halving is coming.


View Profile WWW
April 09, 2021, 11:03:43 AM
 #3


1. Is there any limit in Electrum 4.0.9 for a large number of addesses subscripting to the same notifying URL?

What do you mean by notifying the URL? Is that the address that you requested from "receive tab" when clicking a new address?

If it's that what you talking about then you can request many addresses without any limit but take note of the gap limit it will generate new more unused addresses when hit the "gap limit"

You can see all used addresses under the "Addresses tab" just make sure to turn it on/show the addresses tab you can find it under view>show addresses.



2. Is there any way to identifying the address as a receiving address or change address in a wallet? In addition, can I make any limit to the number of change address in Electrum Wallet?

If you follow my guide above just go to the Addresses tab and scroll down you will see receiving address and change addresses.

Here's what it looks like


On the left side under "Type" You will notice which addresses are receiving or change address.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5531


Self-proclaimed Genius


View Profile
April 09, 2021, 11:15:49 AM
 #4

1. Is there any limit in Electrum 4.0.9 for a large number of addesses subscripting to the same notifying URL?
What do you mean by notifying the URL? Is that the address that you requested from "receive tab" when clicking a new address?
-snip-
I'm pretty sure he meant the "notify" command based from the "notifying URL" and also from his previous posts.
You can find it in the GUI's console's help() command.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4163


View Profile
April 09, 2021, 01:39:54 PM
 #5

1. Is there any limit in Electrum 4.0.9 for a large number of addesses subscripting to the same notifying url?
The number of addresses that you will subscribe to will be limited by the server that you're connected to. Repeated request is fine but it would probably result in the server being unhappy and throttling your connection after a certain threshold or just outright disconnecting you. It'll be fine for the subscriptions to be pointed to the same URL.
2. Is there any way to identifying the address is a receiving address or change address in a wallet? In addition, can I make any limit to the number of change address in Electrum Wallet?
Receiving address and change address have different derivation path. You can try to use the xpub to generate either and match them. You can avoid sending to change addresses/reuse them but would be pretty bad for privacy.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
April 09, 2021, 06:06:02 PM
 #6

I believe there might be some sort of technical limit, something like 2 billion addresses. For all intents and purposes, it's unlimited.

Anyone who understands this, maybe they can explain how or why it is, but for most people it's not something we should worry about. Maybe use a new wallet every 50 years.

pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10498



View Profile
April 10, 2021, 04:13:28 AM
 #7

something like 2 billion addresses.
Anyone who understands this, maybe they can explain how or why it is,
This sounds like the signed 32-bit integer limit (0x7fffffff=~2.1 billion) which is usually the limit to the number of items in an array not to mention the memory that it would require to store all of it.

The only limit I could think of is the history depth of the addresses which used to exist (not sure if it still does). For example some nodes only stored 10000 transactions for each address not all and if the address had more the user had to use a different server that stores more.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4163


View Profile
April 10, 2021, 04:40:55 AM
Merited by pooya87 (1)
 #8

The only limit I could think of is the history depth of the addresses which used to exist (not sure if it still does). For example some nodes only stored 10000 transactions for each address not all and if the address had more the user had to use a different server that stores more.
The maximum request size for the address was capped at 1MB and is still enforced, but it is now user configurable. If your use case requires having an address with a very long history, you'll have to modify your own configuration and also find a server that would allow the user to synchronize such an address. It'll probably be a bit easier to hit the cap for the total number of subscribed address though. I thought servers used to have it listed in their console message but I can't find any of them still doing so.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10498



View Profile
April 10, 2021, 04:45:28 AM
 #9

I thought servers used to have it listed in their console message but I can't find any of them still doing so.
Yeah they used to, in fact not just in console message but the in UI in the servers tab there was a column that showed this value for each server. Since it is no longer there I suspected the limit might no longer exist at all.

Here is a screenshot from version 2.0.2 where the limit existed. Note that probably due to being old it can't connect to any servers so it doesn't show any values:

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!