add note suggesting reentrancy post (#2059)
This commit is contained in:
committed by
Nicolás Venturo
parent
d037217769
commit
06983a2075
@ -12,6 +12,10 @@ import "./escrow/Escrow.sol";
|
||||
* Ether, security-wise. It prevents recipients from blocking execution, and
|
||||
* eliminates reentrancy concerns.
|
||||
*
|
||||
* TIP: If you would like to learn more about reentrancy and alternative ways
|
||||
* to protect against it, check out our blog post
|
||||
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
|
||||
*
|
||||
* To use, derive from the `PullPayment` contract, and use {_asyncTransfer}
|
||||
* instead of Solidity's `transfer` function. Payees can query their due
|
||||
* payments with {payments}, and retrieve them with {withdrawPayments}.
|
||||
|
||||
@ -12,6 +12,10 @@ pragma solidity ^0.5.0;
|
||||
* those functions `private`, and then adding `external` `nonReentrant` entry
|
||||
* points to them.
|
||||
*
|
||||
* TIP: If you would like to learn more about reentrancy and alternative ways
|
||||
* to protect against it, check out our blog post
|
||||
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
|
||||
*
|
||||
* _Since v2.5.0:_ this module is now much more gas efficient, given net gas
|
||||
* metering changes introduced in the Istanbul hardfork.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user