Bitcoin Forum
May 10, 2024, 02:17:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can i make sure i get bitcoins transactions as soon as possible ?  (Read 293 times)
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
July 21, 2017, 04:06:29 PM
Last edit: September 19, 2017, 03:38:07 AM by btctousd81
 #1

i am running bitcoin-core on linux box i.e. i am running it as a node/daemon.

what i want is, new bitcoin transaction details as soon as they happen .

which of the following approach is best ?

1) running node myself and listen for trasnactions
2) get transaction details from 3rd party API like blockchain.info
3) listen to socket.io for bitcoin transactions. provided by blockexplorer.com

which one of the above is fast.


thanks for your time.





1715307430
Hero Member
*
Offline Offline

Posts: 1715307430

View Profile Personal Message (Offline)

Ignore
1715307430
Reply with quote  #2

1715307430
Report to moderator
1715307430
Hero Member
*
Offline Offline

Posts: 1715307430

View Profile Personal Message (Offline)

Ignore
1715307430
Reply with quote  #2

1715307430
Report to moderator
1715307430
Hero Member
*
Offline Offline

Posts: 1715307430

View Profile Personal Message (Offline)

Ignore
1715307430
Reply with quote  #2

1715307430
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.
1715307430
Hero Member
*
Offline Offline

Posts: 1715307430

View Profile Personal Message (Offline)

Ignore
1715307430
Reply with quote  #2

1715307430
Report to moderator
1715307430
Hero Member
*
Offline Offline

Posts: 1715307430

View Profile Personal Message (Offline)

Ignore
1715307430
Reply with quote  #2

1715307430
Report to moderator
1715307430
Hero Member
*
Offline Offline

Posts: 1715307430

View Profile Personal Message (Offline)

Ignore
1715307430
Reply with quote  #2

1715307430
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
July 21, 2017, 05:07:39 PM
 #2

i am running bitcoin-core on linux box i.e. i am running it as a node/daemon.

what i want is, new bitcoin transaction details as soon as they happen .

which of the following approach is best ?

1) running node myself and listen for trasnactions
2) get transaction details from 3rd party API like blockchain.info
3) listen to socket.io for bitcoin transactions. provided by blockexplorer.com

Best?  That depends on what you want to do.

which one of the above is fast.

They are all fast.  They are all faster than waiting for the transaction to be in a block in the blockchain and then scanning the blockchain.

i am asking this becuase, lets say

2 people has exact same private key of the same wallet and both are waiting for receiving new transaction , which one will get the first and why ?

The person that is connected to the most peer nodes is more likely the hear about the transaction first.

The node that has the fewest hops between itself and the transaction sending node will hear about the transaction first.

So, here are some examples:

The sender uses a blockchain.info wallet. Person A is using blockchain.info API. Person B is using a Bitcoin Core node behind a firewall that is only connected to one other node.  That other node is not connected directly to any blockchain.info nodes.  In this example Person A will most likely have access to the transaction sooner.

The sender uses a Bitcoin Core wallet that is not directly connected to any of blockchain.info's nodes.  Person A is using blockchain.info API. Person B is using a Bitcoin Core node that is connected directly to a the sender's Bitcoin Core node. In this example, Person B will most likely have access to the transaction sooner.

thanks for your time.

You're welcome.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 21, 2017, 06:18:19 PM
 #3

i am running bitcoin-core on linux box i.e. i am running it as a node/daemon.

what i want is, new bitcoin transaction details as soon as they happen .

which of the following approach is best ?

1) running node myself and listen for trasnactions
2) get transaction details from 3rd party API like blockchain.info
3) listen to socket.io for bitcoin transactions. provided by blockexplorer.com

which one of the above is fast.

i am asking this becuase, lets say

2 people has exact same private key of the same wallet and both are waiting for receiving new transaction , which one will get the first and why ?

thanks for your time.





Most of the transactions Ive had are much faster to just use a node to listen for the transactions (though I used an electrum wallet that was still faster).


Normally, whoever has the highest fee or whoever can broadcast the transaction the fastest gets the coins first.
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!