Author

Topic: How are sites getting quick updates on player deposit balances/confirmations? (Read 355 times)

full member
Activity: 128
Merit: 100
Excellent post sir . Thanks!
sr. member
Activity: 501
Merit: 340
Bye Felisha!
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

legendary
Activity: 1190
Merit: 1000
no need to carry heavy money bags anymore
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
full member
Activity: 128
Merit: 100
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.
Jump to: