1
I have a bitcoind running on a server behind the www box which I poll every minute for new transactions and save new data into a table.
Something strange is happening sometimes. If i send 1 btc from my wallet to an address on the bitcoind server, it gets through just fine and shows up right away in the log when downloading transactions via RPC.
If however I send from an exchange, it does not show up (at least not for a day or two). I've noticed that these exchanges add another address and amount to the same txid, could that be the cause?
Is there a workaround for this?
TIA
Should you be polling for new transactions? http://bitcoin.stackexchange.com/questions/12380/how-to-do-address-callbacks
– John T – 2014-01-25T03:26:56.907Probably not, the only reason for doing this is that I keep btcoind separate from everything else on a different server with no access to my databases or anything else (for security reasons)... so RPC was the most viable option. But I'll try using that notification thing. Although if someone hacks this bitcoind thing they will be able to inject transactions into my database. – Nick M – 2014-01-25T12:31:01.600
Check the btc hashes when processing em to avoid any security problems. But you can still get ruined if your bitcoind gets "hacked". – John T – 2014-01-25T22:08:12.297
Had to drop all the old code and use walletnotify. if someone else goes for this, remember to check for duplicates as you can get several hits from the notification thing for each transaction. jtorba if you post your comment as answer I can click the green thing – Nick M – 2014-01-29T17:12:52.760