How to trigger data changed on node


(xiao peng) #1

Hi guys,
On our project, I store some data on block chain, my question is how can get to know when these data changed.(so that we can send emails, sms, web notifications to end user)

the first thought were list as below, but it seems either of them were best choice

  1. query database every few seconds. Very stupid way, but it seems can be worked.
  2. using one RPC interceptor, and check all the things send to node.
  3. using flows, subflows
  4. using schedule service

do you have any good ieads about this, please kindly reply me, thanks a lot.


(xiao peng) #2

also move this topic to stackoverflow, thanks