Bitcoin Forum
January 18, 2019, 09:13:32 AM *
News: The copper membership price will increase by about 300% around Friday.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How are sites getting quick updates on player deposit balances/confirmations?  (Read 241 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.
1547802812
Hero Member
*
Offline Offline

Posts: 1547802812

View Profile Personal Message (Offline)

Ignore
1547802812
Reply with quote  #2

1547802812
Report to moderator
1547802812
Hero Member
*
Offline Offline

Posts: 1547802812

View Profile Personal Message (Offline)

Ignore
1547802812
Reply with quote  #2

1547802812
Report to moderator
1547802812
Hero Member
*
Offline Offline

Posts: 1547802812

View Profile Personal Message (Offline)

Ignore
1547802812
Reply with quote  #2

1547802812
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
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: 1554
Merit: 1194



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: 503
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:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
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!