Open SteveHenley opened 4 years ago
events are critical in ethereum apps for synchronizing external processes. RChain needs that capability somehow. STDOUT fails to identify the source of the output and is thus not trustworthy unless a deployId or other identification is provided for the output..
I just (re?)discovered rho:block:data
.
It looked like an event mechanism for a minute, but then I realized: it's data going into an event, not a destination for storing events.
For reference, by way of motivation for events:
@dckc block data should be like a clock on chain. Contract can calculate how many blocks are passed as time.
Event + <read only uri> + ("stuff happened") -> events.log