Bitcoin Forum
May 10, 2024, 09:11:11 PM *
News: Latest Bitcoin Core release: 27.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 325 times)
auswalk (OP)
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.
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715375471
Hero Member
*
Offline Offline

Posts: 1715375471

View Profile Personal Message (Offline)

Ignore
1715375471
Reply with quote  #2

1715375471
Report to moderator
1715375471
Hero Member
*
Offline Offline

Posts: 1715375471

View Profile Personal Message (Offline)

Ignore
1715375471
Reply with quote  #2

1715375471
Report to moderator
1715375471
Hero Member
*
Offline Offline

Posts: 1715375471

View Profile Personal Message (Offline)

Ignore
1715375471
Reply with quote  #2

1715375471
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: 2557
Merit: 1886



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).

Check out gamblingsitefinder.com for a decent list/rankings of crypto casinos. Note: I have no affiliation or interest in it, and don't even agree with all the rankings ... but it's the only uncorrupted review site I'm aware of.
CrazyCraig
Sr. Member
****
Offline Offline

Activity: 501
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 (OP)
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!