I am writing transaction monitoring service but I am having some problems with listing since block hash. I have bitcoind daemon and when I execute listTransactions some transactions have same block hash so if I would try to listSinceBlock I would have problems. How this all works?


The block hash identifies a block. A block can contain multiple transactions, so listsinceblock lists all transactions in blocks newer than the given block hash.

So f.e., if you have this block structure:

block 5 hash: qwertyyuiop
|   tx100,tx101,tx102,tx103
block 6 hash: asdfghjklkl
|   tx104,tx105,tx106,tx107,tx108
block 7 hash: zxcvbnmnbvc

When you would do listsinceblock qwertyyuiop, you would get all transactions in blocks older than block 5, so tx104 all the way up to tx111.

  • How long one block hash last? So how often is block hash changed?
    – gorgi93
    May 8 '13 at 13:09
  • The hash of a block does never change. It's its identifier, every block has a unique block hash. May 8 '13 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.