Bitcoin Forum
May 05, 2024, 12:55:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how are instant bitcoin transactions done?  (Read 127 times)
Sanka555 (OP)
Member
**
Offline Offline

Activity: 96
Merit: 36


View Profile
April 30, 2021, 12:59:10 PM
Last edit: April 30, 2021, 01:19:07 PM by Sanka555
 #1

Please explain to a beginner
 
For example:


pay attention - the coins came and left the same second.
Why is this happening. There must also be a difference of at least 10 minutes between the blocks.
1714913712
Hero Member
*
Offline Offline

Posts: 1714913712

View Profile Personal Message (Offline)

Ignore
1714913712
Reply with quote  #2

1714913712
Report to moderator
1714913712
Hero Member
*
Offline Offline

Posts: 1714913712

View Profile Personal Message (Offline)

Ignore
1714913712
Reply with quote  #2

1714913712
Report to moderator
1714913712
Hero Member
*
Offline Offline

Posts: 1714913712

View Profile Personal Message (Offline)

Ignore
1714913712
Reply with quote  #2

1714913712
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714913712
Hero Member
*
Offline Offline

Posts: 1714913712

View Profile Personal Message (Offline)

Ignore
1714913712
Reply with quote  #2

1714913712
Report to moderator
dkbit98
Legendary
*
Offline Offline

Activity: 2226
Merit: 7129



View Profile WWW
April 30, 2021, 01:15:33 PM
 #2

Please explain to a beginner
 
For example:

12b9TofPY9R5gtKRUHBWjQrNP6mBYZuFqr or 1JwSSubhmg6iPtRjtyqhUYYH7bZg3Lfy1T

pay attention - the coins came and left the same second.
Why is this happening. There must also be a difference of at least 10 minutes between the blocks.

There is no instant transactions for Bitcoin but they used much higher fees for sending coins, 767 sats per byte for first address you posted, and 45 sats per byte for second address and transaction from 2014, and previous transactions also got included in the same block.

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

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

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

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

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

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











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











▄▄▄▄█
BIT-BENDER
Hero Member
*****
Offline Offline

Activity: 1540
Merit: 702



View Profile
April 30, 2021, 01:19:46 PM
 #3

You must be mis-concepting the whole scenario, firstly those are bitcoin address, you would try to get the transaction ID.
There isn't any must in bitcoin Transaction time, but research has it that more likely/averagely at ten minutes, it could be quick or it could take a day to some days also transaction fees are key players to the completion on a transaction,
In between is a quick time a problem to you.

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

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

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

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

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

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











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











▄▄▄▄█
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4919


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
April 30, 2021, 01:25:05 PM
Merited by Welsh (4), DdmrDdmr (2)
 #4

There are several concepts here:

when you create a "normal" transaction and broadcast it, it is "instantly" received by (most of) the nodes of the network... Not really instant, but it won't take more than a couple of seconds...
Once a node receives your transaction, it's put in the mempool of each individual node. So, most nodes will know the transaction exists, they know which unspent output was spend and which address was funded (at least, for a "normal" transaction, in theory there are different kinds of scripts, so your transaction doesn't *have* to fund an address per sé)

So, the moment you "send" a valid, standard, average fee transaction, most of the nodes of the network will have your transaction in their mempool in mere seconds, and most wallets monitoring the receiving address will show an UNCONFIRMED transaction allmost instantly.

In order to get your transaction into block (get a confirmation), a miner has to create a block containing your transaction, and find a block header (trough iteration) whose sha256d hash is under the current target. By adjusting said target every 2016 blocks, the network makes sure the AVERAGE time between two blocks is ~10 minutes. I have to point out that it's an average time... 2008 blocks that are found after 2 minutes and 2008 blocks that are found after 18 minutes => 10 minutes on average, and the diff won't be adjusted!

Wether or not a miner picks your transaction from it's mempool to be part of the block they're trying to solve, they usually look at your transaction fee (in sat/vbyte). Important fact: the fee has nothing to do with the monetary value that's being transmitted and only depends on the transaction size (in virtual bytes)

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Welsh
Staff
Legendary
*
Offline Offline

Activity: 3262
Merit: 4110


View Profile
April 30, 2021, 01:30:20 PM
 #5

Simply put; there are no instant transactions, and even when you broadcast a transaction its not instantly seen by the network. However, you can increase, and decrease the amount of time a transaction takes to confirm. Depending on your situation, whether you want one confirmation or 6, or more simply increasing the satoshi per byte will generally decrease the amount of time it takes for the transaction to confirm.

This is basically because you are offering a higher incentive for miners to include your transaction in the next block.

All you need to know. Higher fee = Faster confirmation time (generally as there are mitigating factors such as congestion etc).
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4845



View Profile
April 30, 2021, 03:45:48 PM
Merited by Welsh (1)
 #6

Why is this happening. There must also be a difference of at least 10 minutes between the blocks.
If high fee is paid that can get bitcoin transaction confirmed in the next block, but bitcoin transaction confirmation are not instantly, it do take 10 minutes in average, the algorithm was just set in a way it should mine new block in approximately every 10 minutes and get transactions confirmed along, but that does not mean transactions is exactly 10 minutes. Even to be surprising, the next block can take 30 minutes at times, or might take less than 2 minutes at times. So, if you see a bitcoin transaction that is confirmed before 2 minutes, do not be surprised.

This is basically because you are offering a higher incentive for miners to include your transaction in the next block.
Maybe OP made a transaction that got confirmed before 10 minutes, and we know that next block at times can take less than 2 minutes. Maybe OP paid high fee, and his transaction was included in the next block, and take less than 2 minutes (or far less than 10 minutes before it was confirmed), which is very possible.

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

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

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

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

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

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











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











▄▄▄▄█
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
April 30, 2021, 04:51:46 PM
Merited by Welsh (4)
 #7

pay attention - the coins came and left the same second.
Why is this happening. There must also be a difference of at least 10 minutes between the blocks.
It doesn't have to be. The block retarget aims to keep the blocks at a 10 minutes intervals but will in no way ensure that they're at least 10 minutes apart due to varience.

To answer your question, which I don't think the posts above actually addressed. I'll define parent transaction as the transaction which sent the coins to your address and the child transaction being the outgoing transaction. Your parent transaction doesn't have to be confirmed for you to be able to spend it. You can create a valid transaction by referencing the hash of the parent transaction and broadcast it, even if it isn't in a block yet. This also means that for the nodes to accept or see your child transaction, your parent transaction has to be in the mempool and if there is sufficient propagation, it should be nearly instantaneous. In the rare case that the parent doesn't get propagated well enough, nodes would likely keep it as an orphaned transaction without including it in the mempool as they cannot find the parent transaction. However, it is important to note that the child transaction can only be confirmed provided that the parent transaction is also confirmed.

There are cases where you won't see a transaction until it gets confirmed. People can directly contact miners which are capable of mining a block to include their transaction without relaying on the network. As such, the first time that the majority of the nodes see the transaction is also the exact time that the block from that specific miner gets mined and relayed. This makes it seems like the transaction was instantaneous but it is in fact not the case. Miners can include any transaction that they want as long as it is valid.

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

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

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

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

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

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











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











▄▄▄▄█
nakamura12
Hero Member
*****
Offline Offline

Activity: 2268
Merit: 669


Bitcoin Casino Est. 2013


View Profile
April 30, 2021, 06:24:03 PM
 #8

I won't say there is an instant transaction but there is a faster confirmation of your transaction if you have high fee and it can be confirm in next block. I tried paying low fee and it went through minutes later but the second time I use the same few it took 1 week before the transaction is confirmed due to other transactions have higher fee. You can check the mempool which transaction are most likely conformed first.

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

Activity: 2520
Merit: 2853


Top Crypto Casino


View Profile WWW
April 30, 2021, 07:30:02 PM
 #9

Both the incoming and outgoing transactions were confirmed at the same time. Basically, what's happening is that a new transaction spends the received funds (or part of it) while it's still unconfirmed and only visible in the mempool. If the second transaction pays enough fees, both transactions will get included in the same block. Hence the same confirmation time.
This technique is what's known as CPFP used to accelerate a stuck tansaction.

However for the second address "1JwSSubhmg6iPtRjtyqhUYYH7bZg3Lfy1T" it looks like there is a bot sweeping the funds automatically.

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


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

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
May 01, 2021, 06:01:30 AM
Merited by NeuroticFish (1)
 #10

Please explain to a beginner -snip-
pay attention - the coins came and left the same second.
Why is this happening. There must also be a difference of at least 10 minutes between the blocks.
Are you perhaps talking about outbound transactions that's suddenly created after the wallet receives a transaction?
  • Why? That's doable because spending "unconfirmed outputs" doesn't break any network protocol or standard rule, that's why it doesn't need to wait for confirmation to spend the just-received-transaction's funds.
  • How? Some users build tools that can monitor address(es) and create a transaction upon receiving a transaction. To do that manually, the wallet/client needs to have a "spend unconfirmed outputs" option or similar feature, like Electrum.

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

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

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

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

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

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











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











▄▄▄▄█
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!