This commit is contained in:
Dave Hoover 2016-04-11 17:51:28 -05:00
parent 054bc2a6ac
commit 66c8c15a7f

View File

@ -122,7 +122,7 @@ get the idea - the compiler figures that out for you.
.. index:: mapping .. index:: mapping
The next line, `mapping (address => uint) public balances;` also The next line, `mapping (address => uint) public balances;` also
creates a public state variable, but it of a more complex datatype. creates a public state variable, but it is a more complex datatype.
The type maps addresses to unsigned integers. The type maps addresses to unsigned integers.
Mappings can be seen as hashtables which are Mappings can be seen as hashtables which are
virtually initialized such that every possible key exists and is mapped to a virtually initialized such that every possible key exists and is mapped to a