smart-contract-best-practices | A guide to smart contract security best practices | Cryptocurrency library
kandi X-RAY | smart-contract-best-practices Summary
kandi X-RAY | smart-contract-best-practices Summary
A guide to smart contract security best practices
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of smart-contract-best-practices
smart-contract-best-practices Key Features
smart-contract-best-practices Examples and Code Snippets
Community Discussions
Trending Discussions on smart-contract-best-practices
QUESTION
I'm working on a uni project based on blockchain, and I have to audit our system, check known attacks, ect. This the the document that I check, principaly, since i start to work on smart contracts issues first : Known-attack ethereum smart contract
I have trouble understanding the example used in the "Dos With (unexpected) revert attack" part. I share the code :
...ANSWER
Answered 2021-Feb-08 at 11:40If send()
target address is a smart contract it will execute the fallback function.
If the currentLeader
points to a smart contract that has a fallback function that has been intentionally made to revert on failed send, the bid()
won't work for any participants until currentLeader
has been changed.
This is not a "DoS" attack but simply gotcha in Solidity programming.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install smart-contract-best-practices
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page