Bitcoin Forum
July 08, 2020, 02:54:43 PM *
News: Latest Bitcoin Core release: 0.20.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How are sites getting quick updates on player deposit balances/confirmations?  (Read 265 times)
auswalk
Full Member
***
Offline Offline

Activity: 128
Merit: 100


View Profile
May 21, 2017, 04:30:10 PM
 #1

I've been researching this a bit. I know bitcoinjs-lib has a standalone way of generating transactions and pushing them to arbitrary nodes. However, are sites polling third party api blockchains like blockr.io or are they all running nodes for each and every cryptocurrency they support (which isn't cheap really on a hosted machine) and polling them?

Inquiring minds want to know.
1594220083
Hero Member
*
Offline Offline

Posts: 1594220083

View Profile Personal Message (Offline)

Ignore
1594220083
Reply with quote  #2

1594220083
Report to moderator
Best ratesfor crypto
EXCHANGE
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1594220083
Hero Member
*
Offline Offline

Posts: 1594220083

View Profile Personal Message (Offline)

Ignore
1594220083
Reply with quote  #2

1594220083
Report to moderator
1594220083
Hero Member
*
Offline Offline

Posts: 1594220083

View Profile Personal Message (Offline)

Ignore
1594220083
Reply with quote  #2

1594220083
Report to moderator
1594220083
Hero Member
*
Offline Offline

Posts: 1594220083

View Profile Personal Message (Offline)

Ignore
1594220083
Reply with quote  #2

1594220083
Report to moderator
Wusolini
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


no need to carry heavy money bags anymore


View Profile
May 21, 2017, 11:06:55 PM
 #2

I've been researching this a bit. I know bitcoinjs-lib has a standalone way of generating transactions and pushing them to arbitrary nodes. However, are sites polling third party api blockchains like blockr.io or are they all running nodes for each and every cryptocurrency they support (which isn't cheap really on a hosted machine) and polling them?

Inquiring minds want to know.

Of course the best is to run your own nod. There is other way to use API to any block explorer (just make own address and use their API to track balance and incoming transactions)
Using e.g. websocket is realy quick (you can made exact copy of this page: https://blockchain.info/unconfirmed-transactions ) .. just read their API documentation

RHavar
Legendary
*
Offline Offline

Activity: 2058
Merit: 1609



View Profile
May 22, 2017, 04:10:25 AM
 #3

I've been researching this a bit. I know bitcoinjs-lib has a standalone way of generating transactions and pushing them to arbitrary nodes. However, are sites polling third party api blockchains like blockr.io or are they all running nodes for each and every cryptocurrency they support (which isn't cheap really on a hosted machine) and polling them?

Inquiring minds want to know.

I think most (all?) serious operations are running their own bitcoin core node, which they can query (generally over the rpc interface).
CrazyCraig
Sr. Member
****
Offline Offline

Activity: 502
Merit: 340


Bye Felisha!


View Profile
May 22, 2017, 09:56:17 PM
Last edit: May 22, 2017, 10:35:30 PM by CrazyCraig
 #4

As others have stated, the best way is to run your own blockchain node.

The main reason for this is control. You are control of your wallet. You do not have to rely on a third party service that may one day collapse or become hacked. When you control your wallet, you control your private keys and your funds.

When running a node, make sure you secure it.

Here are some recommendations:

Server
1 ) Disable root login
2 ) Disable password login, require SSH keys
3 ) Change default SSH port
4 ) Proxy public traffic.
5 ) Interface on private network
6 ) Routinely check for security patches
7 ) Install security tools such as Fail2Ban, Tripwire, RKHunter,
8 ) Secure all application servers, especially those that interact with the RPC.
9) MONITOR MONITOR MONITOR

RPC
1 ) Secure RPC with distinct password & username
2 ) Change default RPC port
3 ) Encrypt, unlock wallet  through private network RPC calls only.
4 ) MONITOR MONITOR MONITOR

auswalk
Full Member
***
Offline Offline

Activity: 128
Merit: 100


View Profile
May 22, 2017, 10:13:48 PM
 #5

Excellent post sir . Thanks!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!