Author

Topic: help electrum server notification (Read 135 times)

copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
December 29, 2018, 06:09:41 AM
#2
Do you iterate over the code or not? It might be that it just checks if it's confirmed once and then does nothing because it isn't asked to.

You could put it in a loop until confirmations > 5 or something. Print true when it is and then do a system exit() or something or just break.
newbie
Activity: 42
Merit: 0
December 29, 2018, 06:02:25 AM
#1
Hello! I am trying to get confirmations of bitcoin transaction,it now gets confirmations, but when latest block changes(latest block on blockchain.info, it gets confirmations), till restart of my application(wallet reinitialization on restart), it doesn't change local block height got by wallet.get_local_height() so confirmations doesn't change too. Here is code snippet: https://pastebin.com/j6msktyZ
Jump to: