Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: danielW on April 09, 2015, 04:18:28 AM



Title: listsinceblock on a dead-end fork?
Post by: danielW on April 09, 2015, 04:18:28 AM
What happens if the block hash returned by listsinceblock ends up being a block on a dead-end fork?

What will subsequent listsinceblock calls return (that use the returned hash as a param)?

Im talking in the context of using listsinceblock to monitor incoming bitcoin payments.


Title: Re: listsinceblock on a dead-end fork?
Post by: danielW on April 13, 2015, 12:45:08 PM
bump?


Title: Re: listsinceblock on a dead-end fork?
Post by: Cryddit on April 14, 2015, 01:27:26 AM
The expected behavior is that if there are no further blocks in the fork, listsinceblock will return no data.  As far as it's concerned the effect is the same as the very next block just taking a longer-than-expected time to arrive.