2379 Commits
Author SHA1 Message Date
chriseth 9c83109549 BREAKING: return only exits current function/modifier 2016-08-17 11:29:31 +02:00
chriseth e7084d9e16 Throw on division by zero. 2016-08-17 11:27:15 +02:00
chriseth e4578982c6 Merge pull request #905 from ethereum/chriseth-patch-1
Docs: wording: recursive call exploit -> reentrancy exploit
2016-08-17 11:14:47 +02:00
chriseth d5505e21eb Merge pull request #838 from chriseth/ecrecover
Make ecrecover return zero for malformed input.
2016-08-17 11:05:20 +02:00
chriseth a63f94e042 Fix docs. (#916) 2016-08-17 11:04:40 +02:00
Alex Beregszaszi ec3298535e Introduce hex literals (#832)
* Introduce hex keyword token

* Support hex literals

* Include tests for hex literals

* Document hex literals
2016-08-16 16:31:23 +02:00
gl367 c547f9c24b fix typo in costs modifier (#850) 2016-08-16 16:26:57 +02:00
chriseth dbc95570cb Merge pull request #903 from mocamircea/patch-8
Update control-structures.rst
2016-08-16 16:24:04 +02:00
chriseth 480cf384bb Merge pull request #710 from chriseth/throwFailedCreate
BREAKING: Throw if contract creation fails.
2016-08-16 16:13:56 +02:00
Mircea Moca b2d6097653 Update control-structures.rst
Splitted example.
2016-08-16 16:30:44 +03:00
chriseth 70994f4996 Merge pull request #904 from mocamircea/patch-9
Update control-structures.rst
2016-08-16 15:08:05 +02:00
Mircea Moca d24c431ce5 Update control-structures.rst 2016-08-16 16:06:08 +03:00
chriseth d731225d02 Actually better to return zero on error. 2016-08-16 14:53:01 +02:00
chriseth 2a560b798b Throw if contract creation fails. 2016-08-16 14:49:44 +02:00
Jacob Benjamin Cholewa c9a9a4a797 Update index.rst
Added a link for Syntastic. A vim plugin that provide compile checking using the solc compiler.
2016-08-16 13:12:19 +02:00
chriseth 0c2dc34075 Wording: recursive call exploit -> reentrancy exploit 2016-08-16 11:22:24 +02:00
Mircea Moca ae0654443c Update control-structures.rst
typo -> coherence with previous occurrence in the document of C/JavaScript
2016-08-16 10:45:04 +03:00
Mircea Moca 1c81d2a481 Update control-structures.rst 2016-08-16 10:41:50 +03:00
Denton Liu 0b3ad9262c Fix code 2016-08-12 11:08:53 -04:00
Denton Liu 269a6d1379 Reference inspiration 2016-08-12 11:03:58 -04:00
chriseth c5203344a0 Merge pull request #886 from mocamircea/patch-6
Update units-and-global-variables.rst
2016-08-12 16:17:13 +02:00
Mircea Moca 6615487266 Update units-and-global-variables.rst
Coherence -> at the bottom of the document Wei is used several times, not "wei".
2016-08-12 16:54:25 +03:00
Mircea Moca 76f5c67dcc Update units-and-global-variables.rst
"Suffixes of" is wrong and misleading. "seconds", "minutes" etc. are suffixes of literal numbers.
2016-08-12 16:33:22 +03:00
chriseth c389f894b5 Merge pull request #858 from Denton-L/quotes-docs
Document existence of single-quotes
2016-08-12 15:20:02 +02:00
chriseth 0d894a6832 Merge pull request #844 from Denton-L/remove-after
BREAKING: Remove after
2016-08-12 15:09:55 +02:00
Denton Liu 0f1fb33d58 Add minor corrections 2016-08-11 14:34:36 -04:00
chriseth 69e5409bc5 Merge pull request #857 from cholewa1992/patch-1
Update installing-solidity.rst
2016-08-11 18:53:28 +02:00
Denton Liu 1634a79bd8 Correct all UTF-8 spellings 2016-08-11 11:10:47 -04:00
Denton Liu 2a492f59c9 Add double-quotes to style guide 2016-08-11 11:10:47 -04:00
Denton Liu f2389b3314 Change i.e. to e.g. 2016-08-11 11:10:47 -04:00
Denton Liu e4f9e1f788 Mention single-quotes 2016-08-11 11:10:47 -04:00
Denton Liu 581114da3e Correct UTF-8 spellings 2016-08-11 11:10:47 -04:00
Denton Liu 058e5f0159 Update contracts and descriptions 2016-08-11 10:45:47 -04:00
Denton Liu 4737100d00 Change withdrawal example
The example is now a "King of the Ether"-esque contract. This is
actually relevant as they suffered an attack because of an almost
identical issue.

See the post-mortem here:
https://www.kingoftheether.com/postmortem.html
2016-08-11 10:35:45 -04:00
Denton Liu 1ff7ba0b06 Remove after keyword from documentation 2016-08-11 10:15:59 -04:00
chriseth 5a3740378f Merge pull request #824 from Denton-L/fix-typo
Fix typo
2016-08-10 21:22:49 +02:00
Denton Liu 666c46ac29 Use store example 2016-08-10 11:11:13 -04:00
Denton Liu b688d33055 Change example to auction 2016-08-10 10:42:51 -04:00
Denton Liu a6c9d85399 Remove trailing whitespace 2016-08-10 10:42:51 -04:00
Denton Liu 617daa1f00 Fix withdrawal pattern documentation 2016-08-10 10:40:55 -04:00
Denton Liu 82365f21c0 Link to withdraw pattern 2016-08-10 10:40:55 -04:00
Denton Liu efb48659dd Add section about withdrawal pattern 2016-08-10 10:40:55 -04:00
Jacob Benjamin Cholewa adfb2f2b9f Update installing-solidity.rst
The JsonCpp library is also a needed dependency
2016-08-10 15:23:54 +02:00
Denton Liu 279518a536 Add missing s 2016-08-08 13:33:09 -04:00
Denton Liu 838a91b38c Refix typo 2016-08-08 13:32:54 -04:00
chriseth 2fcc6ec335 Merge pull request #820 from mocamircea/patch-3
Update layout-of-source-files.rst
2016-08-08 15:49:37 +02:00
chriseth b13e581397 Merge pull request #819 from mocamircea/patch-2
Update layout-of-source-files.rst
2016-08-08 15:48:48 +02:00
Denton Liu 2204c597fb Fix typo 2016-08-05 11:59:10 -04:00
Mircea Moca 6846bb5dfd Update layout-of-source-files.rst
An example of natspec comment.
2016-08-05 14:16:14 +03:00
Mircea Moca 396c02e507 Update layout-of-source-files.rst
better reading
2016-08-05 11:45:52 +03:00