Changed reference name

This commit is contained in:
Denton Liu 2016-06-02 09:29:53 -04:00
parent a7b5e21e66
commit bb83fd5adb
2 changed files with 2 additions and 3 deletions

View File

@ -72,7 +72,7 @@ Members of Addresses
* ``balance`` and ``send`` * ``balance`` and ``send``
For a quick reference, see :ref:`balance` and :ref:`send`. For a quick reference, see :ref:`address_related`.
It is possible to query the balance of an address using the property ``balance`` It is possible to query the balance of an address using the property ``balance``
and to send Ether (in units of wei) to an address using the ``send`` function: and to send Ether (in units of wei) to an address using the ``send`` function:

View File

@ -111,8 +111,7 @@ same as ``sha3(uint16(0x12))``.
It might be that you run into Out-of-Gas for ``sha256``, ``ripemd160`` or ``ecrecover`` on a *private blockchain*. The reason for this is that those are implemented as so-called precompiled contracts and these contracts only really exist after they received the first message (although their contract code is hardcoded). Messages to non-existing contracts are more expensive and thus the execution runs into an Out-of-Gas error. A workaround for this problem is to first send e.g. 1 Wei to each of the contracts before you use them in your actual contracts. This is not an issue on the official or test net. It might be that you run into Out-of-Gas for ``sha256``, ``ripemd160`` or ``ecrecover`` on a *private blockchain*. The reason for this is that those are implemented as so-called precompiled contracts and these contracts only really exist after they received the first message (although their contract code is hardcoded). Messages to non-existing contracts are more expensive and thus the execution runs into an Out-of-Gas error. A workaround for this problem is to first send e.g. 1 Wei to each of the contracts before you use them in your actual contracts. This is not an issue on the official or test net.
.. _balance: .. _address_related:
.. _send:
Address Related Address Related
--------------- ---------------