From 5622011bc557d1dde88ac0dd1456441fef6fb7d8 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 14 Dec 2015 16:22:32 +0100 Subject: [PATCH] Note about private note being invisible. --- docs/contracts.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/contracts.rst b/docs/contracts.rst index 9ff9f0f5e..16809586c 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -163,6 +163,13 @@ and the default is `internal`. visible for the contract they are defined in and not in derived contracts. +.. note:: + Everything that is inside a contract is visible to + all external observers. Making something `private` + only prevents other contract from accessing and modifying + the information, but it will still be visible to the + whole world outside of the blockchain. + The visibility specifier is given after the type for state variables and between parameter list and return parameter list for functions.