blockchain / service-my-wallet-v3

Blockchain Wallet API Service
https://blockchain.info/api/blockchain_wallet_api
GNU Affero General Public License v3.0
910 stars 518 forks source link

Balances not updating instantly #429

Open mrcolak opened 4 years ago

mrcolak commented 4 years ago

Hey

I am facing some delays in the API.

After sending or receiving bitcoin, the amounts updates in 1 or more minutes instead of immediately. I believe this happens because of some local cache or something.

Is there a way to override this? I need to get exact balances without any cache.

Heres the API calls I make to send bitcoin and get balances;

nohup blockchain-wallet-service start --port &

http://127.0.0.1:3000/merchant/{:guid}/payment http://127.0.0.1:3000/merchant/{:guid}/accounts

Service v0.26.3 Node v6.4.0

mansourikhaled commented 4 years ago

as I understand it, it doens't have to do with caching but with transactions with no confirmations