Hi,
I have some questions about transaction in block cache api.
1. What is the use of sub transaction, as I know there is only one
transaction is active at a time, so it is kinda weird to me.
2. What is main_num_blocks ?
3. Correct me if Im wrong, under a condition (event) a transaction
listener will trigger a call to hook for that event that we defined
for it.
+ TRANSACTION_WRITTEN is when all the blocks are flushed to disk.
+ TRANSACTION_ENDED is when cache_end_transaction is called.
+ TRANSACTION_ABORTED is when cache_abort_transaction is called.
+ TRANSACTION_IDLE is when the blocks are idle in 2 seconds.
Thank you
Hy