Bitcoin Forum

Bitcoin => Electrum => Topic started by: cxmpsite on June 03, 2018, 09:33:47 PM



Title: Address Change (?)
Post by: cxmpsite on June 03, 2018, 09:33:47 PM
Hello,

My friend and I send each other BTC via electrum often, and have done so for the last few months, and we have each other's contacts saved. Today I attempted to send him some money, and he usually receives it instantly. He checked his receiving address and it is different than the one I've been using for the last few months. I was just wondering if this will effect whether or not he gets the money, does somebody else have his old address (the one i've been using) now so they got the money, and if I can cancel the sending/get my money back?

Thank you for your assistance.


Title: Re: Address Change (?)
Post by: jackg on June 03, 2018, 09:52:49 PM
No his wallet will hold all the addresses and receive the money. It's done for privacy and security reasons that it changes the address that is in the receive tab.

You should be able to see all his passed addresses in the addresses tab.

By clicking view>show addresses


Title: Re: Address Change (?)
Post by: cxmpsite on June 03, 2018, 09:59:32 PM
No his wallet will hold all the addresses and receive the money. It's done for privacy and security reasons that it changes the address that is in the receive tab.

You should be able to see all his passed addresses in the addresses tab.

By clicking view>show addresses

thank you!


Title: Re: Address Change (?)
Post by: HCP on June 04, 2018, 01:33:52 AM
and if I can cancel the sending/get my money back?
For you future reference, there is no "cancelling" of Bitcoin transactions... once the transaction is sent, there is no way to cancel it.

If your transaction stays unconfirmed for an extended period of time (due to low fee etc), many nodes are likely to drop it from their mempools... but there is no guarantee that this will happen (and some nodes or your wallet might automatically rebroadcast your transaction) and no set timeframe for it to happen... some nodes drop transactions after 3 days, some after 14 days, some drop it at some time between these two values and some may never drop transactions...


Note that there has been a slight increase in the number of unconfirmed transactions today... lots of 1 sat/byte fee transactions currently unconfirmed... around 48 blocks worth of transactions... so, it may take transactions a little longer than normal to confirm if you sent with a minimum fee ;)

Refer: https://core.jochen-hoenicke.de/queue/#24h and https://btc.com/stats/unconfirmed-tx


Title: Re: Address Change (?)
Post by: jackg on June 04, 2018, 08:01:31 PM
and if I can cancel the sending/get my money back?
For you future reference, there is no "cancelling" of Bitcoin transactions... once the transaction is sent, there is no way to cancel it.

If your transaction stays unconfirmed for an extended period of time (due to low fee etc), many nodes are likely to drop it from their mempools... but there is no guarantee that this will happen (and some nodes or your wallet might automatically rebroadcast your transaction) and no set timeframe for it to happen... some nodes drop transactions after 3 days, some after 14 days, some drop it at some time between these two values and some may never drop transactions...
As a bit extra, I think the default used to be 21 days, not too sure anymore but I reckon it's probably about that.

Note that there has been a slight increase in the number of unconfirmed transactions today... lots of 1 sat/byte fee transactions currently unconfirmed... around 48 blocks worth of transactions... so, it may take transactions a little longer than normal to confirm if you sent with a minimum fee ;)

Refer: https://core.jochen-hoenicke.de/queue/#24h and https://btc.com/stats/unconfirmed-tx
The transaction will still appear as unconfirmed in the wallet it is received in though so it will still show up.
I assume the 1sat/byte fee is from people using legacy addresses and not the segwit/native segwit addresses (mostly).


Title: Re: Address Change (?)
Post by: HCP on June 05, 2018, 02:58:30 AM
It was 3 days... (or more correctly 72 hours)... and then it was changed to 336 hours (14 days) (https://github.com/bitcoin/bitcoin/commit/a72f76ca3d5d2f259d308f65810891389f728e9e#diff-349fbb003d5ae550a2e8fa658e475880):
/** Default for -mempoolexpiry, expiration time for mempool transactions in hours */
static const unsigned int DEFAULT_MEMPOOL_EXPIRY = 336;

In any case, individual nodes can set this value to whatever they like... so while the default is 14 days, it can theoretically be any number of hours...



I assume the 1sat/byte fee is from people using legacy addresses and not the segwit/native segwit addresses (mostly).
The fee rate used doesn't really have anything to do with address type used... Regardless of Legacy or SegWit, if you (or your wallet) selects 1 sat/byte as your fee (or 0.00001 BTC/kB), then your fee rate will be 1 sat/byte. The total fee amount paid will go up or down depending on total transaction size... but the actual rate per byte will not.