mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
FAQ: remove event section (already explained elsewhere)
This commit is contained in:
parent
5f89e1a2ac
commit
9bec1e1efd
@ -135,15 +135,6 @@ Example::
|
||||
}
|
||||
}
|
||||
|
||||
What are ``event``'s and why do we need them?
|
||||
=============================================
|
||||
|
||||
Let us suppose that you need a contract to alert the outside world when
|
||||
something happens. The contract can fire an event, which can be listened to
|
||||
from web3 (inside geth or a web application). The main advantage of events
|
||||
is that they are stored in a special way on the blockchain so that it
|
||||
is very easy to search for them.
|
||||
|
||||
Are timestamps (``now,`` ``block.timestamp``) reliable?
|
||||
=======================================================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user