aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-09 20:16:21 +0800
committerGitHub <noreply@github.com>2018-10-09 20:16:21 +0800
commit2547caf896b2d36e743ccd0a4c9cd420779786e1 (patch)
tree0044ddbc3ef007cad5365a360551b2226fb21eb7
parent7b615865305ae67478ecb8b87d2836b45df940ac (diff)
parent88d10b37d726e7d29f6becd72558f2d332ca8d72 (diff)
downloaddexon-solidity-2547caf896b2d36e743ccd0a4c9cd420779786e1.tar.gz
dexon-solidity-2547caf896b2d36e743ccd0a4c9cd420779786e1.tar.zst
dexon-solidity-2547caf896b2d36e743ccd0a4c9cd420779786e1.zip
Merge pull request #5174 from tomusdrw/patch-1
Clarify contract creation transaction
-rw-r--r--docs/introduction-to-smart-contracts.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst
index f5d5f89e..c8a45d30 100644
--- a/docs/introduction-to-smart-contracts.rst
+++ b/docs/introduction-to-smart-contracts.rst
@@ -332,14 +332,15 @@ Transactions
============
A transaction is a message that is sent from one account to another
-account (which might be the same or the special zero-account, see below).
+account (which might be the same or empty, see below).
It can include binary data (which is called "payload") and Ether.
If the target account contains code, that code is executed and
the payload is provided as input data.
-If the target account is the zero-account (the account with the
-address ``0``), the transaction creates a **new contract**.
+If the target account is not set (the transaction does not have
+a recipient or the recipient is set to ``null``), the transaction
+creates a **new contract**.
As already mentioned, the address of that contract is not
the zero address but an address derived from the sender and
its number of transactions sent (the "nonce"). The payload